[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colour prompt fowls line wrapping (2.04.11(1))
From: |
Chet Ramey |
Subject: |
Re: Colour prompt fowls line wrapping (2.04.11(1)) |
Date: |
Wed, 9 May 2001 13:10:07 -0400 |
> Using a new installation of RH 7.0, which has Bash 2.04.11(1) (bash
> --version).
>
> I have tried setting my PS1 prompt to display in white, so that it is
> obvious where program output starts:
>
> PS1='ESC[1;37m[\u@\h \W]\$ESC[0m '
>
> Where ESC is typed CTRL-V,ESC, or character 0x1B. (This could also be
> [\033?).
>
> This has the effect of setting the font for the prompt to bright white,
> on my usual green-on-black console.
>
> This screws the wrapping of the command line:
Read the Bash FAQ, question E3.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/