bug-bash
[Top][All Lists]
Advanced

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

Re: using meta-# with large strings results in misbehavior


From: Chet Ramey
Subject: Re: using meta-# with large strings results in misbehavior
Date: Thu, 27 Nov 2008 20:15:53 -0500
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Mike Frysinger wrote:

> Bash Version: 3.2
> Patch Level: 48
> Release Status: release
> 
> Terminal: Konsole from kde-4.1.3 or kde-3.5.10
> Readline: 5.2 p13
> ncurses: 5.6
> 
> Description:
> doing something simple like (pasting 50 m chars and then 4 k chars):
> meta-50 m
> meta-4 k
> results in the string being drawn incorrectly.  it shows:
> mmmmmmmmmmmkkkkmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
> if i force a refresh with CTRL+L i see the right string:
> mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmkkkk
> 
> my $PS1 is set to:
> \[\e[0;33m\]\u\[\e[30;address@hidden;1m\]\h\[\e[30;1m\] \j:$? \[\e[34;1m\]\W 
> \$\[\e[0m\]
> which typically expands to:
> address@hidden 0:0 ~ $ 

I can't reproduce this running Terminal or xterm on MacOS X.  MacOS X
aterm gives some weird redisplays, but only when the second numeric
argument is > 10, and the final display is (usually) right.  I don't
see your results.

There's probably something there, but your results may be kconsole-
specific.

Chet

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

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




reply via email to

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