Re: color prompts

1998-07-16 Thread stick
Patrick Ouellette said > On Wed, Jul 15, 1998 at 09:19:41PM -0400, [EMAIL PROTECTED] wrote: > > > The PROMPT_COMMAND line is missing the closing ' after the " so it should be: > > PROMPT_COMMAND='echo -ne "\033]2;$TERM: [EMAIL PROTECTED]:/$PWD/ > \007\033]1;$PWD\007"' > > Wouldn't want someone

Re: color prompts

1998-07-16 Thread Patrick Ouellette
On Wed, Jul 15, 1998 at 09:19:41PM -0400, [EMAIL PROTECTED] wrote: > > BTW, I also set the following for xterms: > > PROMPT_COMMAND='echo -ne "\033]2;$TERM: [EMAIL PROTECTED]:/$PWD/ \007\033]1;$PWD\007" > > This changes the title bar of my xterm to show user, host and cwd. > The PROMPT_COMMAND li

Re: color prompts

1998-07-16 Thread Hamish Moffatt
On Wed, Jul 15, 1998 at 09:53:08AM -0500, Dave Jones wrote: > I read in the Configuration HOWTO that RedHat & Slackware Linux can use > Escape control codes to add color support (and some default settings; > like LESS as a default pager) to the prompt line, see below: > # put a real escape charact

Re: color prompts

1998-07-16 Thread stick
nvcmd_="export" & _enveq_="=" While csh-like shells set: +envcmd_="setenv" & _enveq_=" " Note: The "\[" and "\]" are bash specific escape sequences that 'hide" the enclosed characters so they aren't counted in

color prompts

1998-07-15 Thread Dave Jones
Hello! I read in the Configuration HOWTO that RedHat & Slackware Linux can use Escape control codes to add color support (and some default settings; like LESS as a default pager) to the prompt line, see below: _ # /etc/profile # System wide environment and startup programs # Functions and ali