Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell - changing colors & fonts

Status
Not open for further replies.

Jackos

Technical User
Oct 30, 2002
3
0
0
GB
Hi

Can anyone let me know how to permanently change the background color and fonts used by the shell.

Thx
 
My solution is to use (a shell script with) command 'winterm' with options.
For example:

(#!/bin/csh)
winterm -bg 16 -fg 0 -t ´My shell´

will open a shell with gray background and black foreground.
Font option is -f (but I do not know the syntax).
See man winterm for more details.
 
if you want to permanently change the look of your winterms edit the following file /usr/lib/X11/app-defaults/XWsh at the "winterm*font:" or the "startconsole*font:" for system consoles. you can create aliases for winterm such as "winterm -bg black -fg white -fn haebfix15". look in the /usr/lib/X11/fonts directory. there are subdirectories for different classes of fonts. the "haebfix15" is kinda cavemanish looking. anyways under these subdirs is a file in each called fonts.aliases that has the alias in the first field of the file for use with the -fn option. have fun.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top