Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-20-2004, 05:29 AM   #1
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Rep: Reputation: 30
tcsh prompt with colors


is it possible to use colors when designing the xterm prompt ??
Right now I have the following which does make it standout:

set prompt = '%S%U%n%s@%m%u:%B%c03%#%b'
set rprompt = '{%h}[%T]'
set prompt2 = '%B%R?%b'
set prompt3 = '%BCORRECT>%R (y|n|e|a)?%b'

Last edited by TroelsSmit; 12-20-2004 at 05:31 AM.
Old 12-20-2004, 05:54 AM   #2
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
try this :

 set prompt = "%{\033[32m%}${USER}%{\033[0m%}@%m %{\033[35m%}(%~)%{\033[0m%} > "
Old 12-20-2004, 08:55 AM   #3
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Original Poster
Rep: Reputation: 30
excellent :-)

A very Merry Christmas to mrcheeks !!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing prompt colors? microsoft/linux Debian 2 05-29-2005 05:22 PM
changing text colors in tcsh shell leontini Linux - General 1 08-17-2004 03:53 AM
How to set tcsh prompt: # for root and % for user? robson Linux - Newbie 1 10-12-2003 04:13 PM
bash prompt colors emetib Linux - Software 3 06-14-2003 06:35 PM
tcsh colors - help!!!! ultimator Linux - General 0 03-10-2003 02:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration