|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Remap colour escape codes
How can I remap the escape code for a specific colour to something different? I can't read bright yellow on white. Any hints?
I suppose it's possible to remap by exporting something in .zshrc/.bashrc/etc. |
|
||||
You need to tell your terminal what colors to display, for example mine ~/.Xdefaults for most popular terminals, including xterm and urxvt:
http://strony.toya.net.pl/~vermaden/text/dot.Xdefaults Its about these values: Code:
!black *color0: #222222 *color8: #554444 !red *color1: #884422 *color9: #cc5533 !green *color2: #778800 *color10: #88aa22 !yellow *color3: #887733 *color11: #aa9955 !blue *color4: #8866cc *color12: #9977dd !magneta *color5: #885500 *color13: #996600 !cyan *color6: #5555aa *color14: #7777aa !white *color7: #bbaa99 *color15: #ddccaa
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Thanks! It did work perfectly for X. However I am also using ssh+zsh. I suppose the zsh color setup needs to be tweaked...
Last edited by bsdperson; 14th September 2009 at 11:22 AM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
escape single quote in sed | gosha | Programming | 5 | 9th March 2009 10:22 AM |
Shell colour problem | paul-lkw | FreeBSD General | 2 | 30th January 2009 09:55 AM |
can't get out of twm - any escape? | Lazy | FreeBSD General | 4 | 28th June 2008 07:26 PM |