I may have mentioned this before in the past, but I've encountered a
situation with bash where playing back the history by repeatedly pressing
up-arrow has strange effects when I reach a certain command line which is
long enough to cause wrap around. If I'm using the kde konsole application,
the app. dies and if I'm using an xterm, the bell beeps. In either case,
bash scrambles the prompt but gets its act together again after a couple
more presses of the up arrow.
I've examined the history file in khexedit and there are no weird characters
in it. If I make the xterm or konsole wide enough so that wraparound doesn't
occur, the problem goes away. If I repeat the same command by cutting and
pasting the text, so that I have more than one identical lines in the
history, not every occurence of the line triggers the problem.
bash --version returns
GNU bash, version 2.03.0(1)-release (i386-suse-linux)
Copyright 1998 Free Software Foundation, Inc.
Any light, anyone ?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!