Article View: alt.linux
Article #306help with color and $PS1
From: David. E. Goble
Date: Fri, 01 Jun 2001 03:31
Date: Fri, 01 Jun 2001 03:31
16 lines
1582 bytes
1582 bytes
Hi All; I have the follow prompt; PS1="\n\[\033[1;35m\]IBM 686/pr120+ Linux RedHat 6.2 \[\033[0;36m\]\$(date)\n\[\u@\h \W]\\$ " How do I reset the color, so that everything typed by the user is light grey, while keeping the prompts colors. I tried; PS1="\n\[\033[1;35m\]IBM 686/pr120+ Linux RedHat 6.2 \[\033[0;36m\]\$(date)\n\[\u@\h \W]\\$ \[\033[0;37m\]" but it did nothing.
Technical Details
Message-ID:
<3b152146.1043486@news.adelaide.on.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!newshub1.rdc1.nsw.optushome.com.au!news1.optus.net.au!optus!yorrell.saard.net!duster.adelaide.on.net!203.48.5.205Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c696,dfcc356ec44eb60d,start X-Google-Attributes: gid10c696,public X-Google-Thread: 100c5f,dfcc356ec44eb60d,start X-Google-Attributes: gid100c5f,public X-Google-Thread: 102983,dfcc356ec44eb60d,start X-Google-Attributes: gid102983,public X-Google-Thread: f9b51,dfcc356ec44eb60d,start X-Google-Attributes: gidf9b51,public X-Google-ArrivalTime: 2001-05-31 20:24:01 PST From: goble@gtech (David. E. Goble) Newsgroups: alt.linux,aus.computers.linux,comp.os.linux.development.apps,comp.os.linux.setup Subject: help with color and $PS1 Date: Fri, 01 Jun 2001 03:31:42 GMT Sender: goble@kin.on.net (David. E. Goble) Organization: Gtech.Computing Reply-To: goble@gtech Message-ID: <3b152146.1043486@news.adelaide.on.net> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 203.48.5.205 X-Trace: 1 Jun 2001 12:54:00 +0950, 203.48.5.205 Lines: 16 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!newshub1.rdc1.nsw.optushome.com.au!news1.optus.net.au!optus!yorrell.saard.net!duster.adelaide.on.net!203.48.5.205