Re: backward-kill-word is not refreshing correctly
From:
Chet Ramey
Subject:
Re: backward-kill-word is not refreshing correctly
Date:
Mon, 13 Apr 2009 17:50:52 -0400
User-agent:
Thunderbird 2.0.0.21 (Macintosh/20090302)
Matt Zyzik wrote:
>> If, as seems likely, this is a problem with the calculation of the physical
>> cursor position, a good place to start would be your PS1 and PROMPT_COMMAND
>> (if any). The locale you're using would be good, too.
>>
>> Chet
>
> My PS1, which causes the issue, is:
>
> PS1='[\[\033[01;32m\]\u \[\033[01;31m\]- \[\033[01;34m\]\w\[\033[00m\]]$ '
Sorry, I still can't reproduce it. Can you send a series of steps that
you use to reproduce the problem? A terminal session log (e.g., that
produced by `script') might also help.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/