bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backward-kill-word is not refreshing correctly


From: Chet Ramey
Subject: Re: backward-kill-word is not refreshing correctly
Date: Sat, 11 Apr 2009 20:39:42 -0400

> Machine Type: i686-pc-linux-gnu
> 
> Bash Version: 4.0
> Patch Level: 10
> Release Status: release
> 
> Description:
>       When I type a long string of text and start pressing ctrl-W to 
> backwards-kill words, bash deletes the words but doesn't visually refresh 
> (the words still appear on the command line). This was not occurring for me 
> in the 3.x series of Bash.
> 
> Repeat-By:
>       Write this text on the command line: "sample text sample text sample 
> text sample text sample text". Start pressing ctrl-W and notice it takes a 
> few kill-words before the words start disappearing.

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

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

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]