I've encountered this before, but now I can reproduce it, and it's surely a
bug rather than a misunderstood feature (but it could well be a window
manager or terminal emulator bug rather than a bash bug). I have on a few
occasions been scrolling back through my history list when the konsole
window would close and now I can pin it down. There is a particular long
line in my history, when I go back to it with up-arrow, my konsole window
closes. This only happens when the window is larger than its default size
e.g. 70 rows x 90 cols. This doesn't happen with an xterm but there is still
a peculiarity in that my prompt gets mangled and the terminal bell rings
when I pass through that line. I've just observed that the problem also
disappears if I make the terminal so wide that the history line doesn't
cause any wraparound. The wraparound per se can't be the cause though, as
the problem doesn't occur with a smaller terminal window. Versions are
niall at bagend:~ >xterm -version
XFree86 3.3.3.1b(88b)
niall at bagend:~ >bash --version
GNU bash, version 2.03.0(1)-release (i386-suse-linux)
Copyright 1998 Free Software Foundation, Inc.
konsole version 0.9.11
Ideas, anyone ?
Regards,
Niall
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!