Changing colors in shells

Viktor Lazlo viktorlazlo at telus.net
Wed Oct 29 05:13:52 PST 2003



On Wed, 29 Oct 2003, Pascal Giannakakis wrote:

> Lo folks,
>
> i would like to change the colors of the shell to FG=green BG=black. I do
> _not_ ask how to change the promt, i rather want to change the default FG BG
> colors, so that with whatever program (be it Konsole, putty, ssh.org, ...) i
> log in via SSH it uses this colors. I am aware of the fact that i can set up
> these colors in the clients itself, however this is not what i want.
>
> Where do i set them up? Thank you!

If you mean the text console:

vidcontrol green black

If you mean in X, you can control it from the command line when launching
an application:

xterm -bg black -fg green

Add this to your .xession file or  check your windowmanager's docs for
setting it in desktop shortcuts.

Cheers,

Viktor


More information about the freebsd-questions mailing list