bug-bash
[Top][All Lists]
Advanced

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

using meta-# with large strings results in misbehavior


From: Mike Frysinger
Subject: using meta-# with large strings results in misbehavior
Date: Thu, 27 Nov 2008 16:21:46 -0500
User-agent: KMail/1.10.3 (Linux/2.6.27.4; KDE/4.1.3; x86_64; ; )

Configuration Information:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -
DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -
DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -
DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -O2 -march=k8 -pipe -g -
Wimplicit-function-declaration
uname output: Linux vapier 2.6.27.4 #2 SMP PREEMPT Sun Nov 2 22:12:08 EST 2008 
x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux
Machine Type: x86_64-pc-linux-gnu

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 ~ $ 

running stty size displays
28 114
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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