Usually I do this: $ xterm -bg black -fg green &
or $ xterm -bg black -fg yellow & or my fg could be " salmon, orange, turquoise, blue, red" whatever. And $ ls showing colorized output needs some more work under UNIX. Under linux, that is the default. And that annoys some people. $ colorls -G is what works in OpenBSD. Under linux, $ ls --color may be necessary. You can also view man pages in color. Just copy the /etc/X11/app-defaults/XTerm-color to ~/.Xdefaults. Edit the lines: ! Set the default text foreground and background colors. *VT100*foreground: green *VT100*background: black ! Uncomment this to use color for underline attribute *VT100*colorULMode: on *VT100*colorUL: yellow *VT100*italicULMode: on ! Uncomment this to disable underlining, e.g., if colorULMode is set. !*VT100*underLine: off ! Uncomment this to use color for the bold attribute *VT100*colorBDMode: on *VT100*colorBD: turquoise ! Uncomment this to use the bold/underline colors in preference to other colors *VT100*colorAttrMode: on That is all. I have no clue what to do on braindead commercial UNIX OSes like HP UX or IBM AIX. On Solaris you have the thoroughly boring color scheme of CDE which I remember seeing in my early Novell days. I believe in academic institutions and places like IITM CS dept, you have them. You can certainly make your life colorful without being distracting. Needs effort. No simple answer. I normally do this. $ export TERM=rxvt or $ export TERM=xterm-color You could store them in ~/.profile. On the console also you can get colors. Nowadays Debian has copied the OpenBSD idea of color man pages on the console in green. I do $ export TERM=wsvt25 in OpenBSD. This will certainly not work on linux. If you have TERM variable set as vt100 or vt220, you will surely not get colors. But that is guaranteed to work on any terminal. Try your luck. -Girish -- Gayatri Hitech web: http://gayatri-hitech.com SpamCheetah Spam filter: http://spam-cheetah.com _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
