PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

How do I get red text on a black background in tcsh


Your Ad Here

Your Ad Here

READ THIS B4
C.O.L.A. Newcomer FAQ and Primer Edition: 14.079.0712.91P - 7-4-05 Group: comp.os.linux.advocacy Copyright (c) 2002-2005 Linux Reality Team Welcome to comp.os.linux.advocacy, otherwise known as cola. This FAQ will try to address most of the issues regarding Linux...

On Mon, 12 Sep 2005 19:26:57 -0000, Grant Edwards staggered into the Black Sun and said:

The OP's question was kind of vague. Does he want all text displayed to be in red on a black background? Does he want certain things to be red-on-black? Does he know that ncurses programs like vim and so forth typically issue a "tput reset" sequence when they exit normally? The "normal" text color is typically controlled by the color scheme you use in your xterm-konsole-aterm-whatever, so if he wants red-on-black to be the normal text color, he should fiddle with his terminal emulator config.

If the OP wants to fiddle with the colors in his tcsh prompt, it's like so:

set prompt="%{-03301;32m%}%m%{-03301;34m%}%~%{-03300m%}%# "

READ THIS B4
On Tuesday 13 September 2005 02:20, Heather stood up and spoke the following words to the mbuttes...: You are also cross-posting this to... -alt.os.linux.suse;-comp.os.linux.misc;and...

...hostname in green, current working directory in blue, then turns coloring off. Adjust to taste. You sort of want to turn coloring off after the prompt, so that you get appropriate output from things like "ls --color=tty" and so forth. All the numbers for the color codes are in "man consolecodes". HTH,

-- Matt GThere is no Darkness in Eternity-But only Light too dim for us to see Brainbench MVP for Linux Admin mail: TRAP + SPAN don't belong ----------------------------- penguins, is Tux." --MegaHAL



Your Ad Here

List | Previous | Next

READ THIS B4

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Available internal modems for Linux 4758