Cheng Renquan wrote:
> On Sun, Dec 7, 2008 at 8:33 AM, Chet Ramey <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>>
>>> Bash Version: 3.2
>>> Patch Level: 39
>>> Release Status: release
>>>
>>> Description:
>>>       I have set PS1 var to this:
>>>       PS1='\[\033[01;[EMAIL PROTECTED];34m\] \w \[\e[1;33;40m\]$? 
>>> \$\[\033[00m\] '
>>>       according to bash manual, if I use character like \e[1;33;40m similar 
>>> that
>>>       doesn't occupy the width, use \[ and \] sequence to close them,
>>>
>>>       But unfourtunately, that seems not work.
>> Can you give an example of what doesn't work?  It seemed OK for the basic
>> stuff I tried on bash-3.2.48.
> 
> I need a screen record software to demo this bug, like this in a 80
> character width terminal,

Investigate patch 44.  It should fix this.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


Reply via email to