Before Debian, what Linux distribution you were using ?
Red Hat / Fedora Mandrake Suse Slackware Gentoo LFS Always been with Debian Other ( 58 votes ~ 5 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the article grep: highlighting matches in color:
#4 Re: grep: highlighting matches in color Posted by alfadir (141.58.xx.xx) on Mon 6 Nov 2006 at 16:57 Cool. Using the 256 color enabled Eterm one can use : export GREP_COLOR='00;38;5;226' to get a nice yellow color. If you rather like light green try export GREP_COLOR='00;38;5;157' Background is set with 48;5 if you want to mix the two.. .. well your eyes may bleed, but anyway.. export GREP_COLOR='00;38;5;157;48;5;226' Works under Eterm and should work with xterm-256. The same thing can be used with .dircolors .test 00;38;5;157;48;5;226 If one has time one can make nicer paletts and colorschemes with 256 colors than just the normal 8-16 colors that are normaly very strong and hurts your eyes.
Cool. Using the 256 color enabled Eterm one can use :
export GREP_COLOR='00;38;5;226'
to get a nice yellow color.
If you rather like light green try
export GREP_COLOR='00;38;5;157'
Background is set with 48;5 if you want to mix the two.. .. well your eyes may bleed, but anyway..
export GREP_COLOR='00;38;5;157;48;5;226'
Works under Eterm and should work with xterm-256.
The same thing can be used with .dircolors
.test 00;38;5;157;48;5;226
If one has time one can make nicer paletts and colorschemes with 256 colors than just the normal 8-16 colors that are normaly very strong and hurts your eyes.
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account