I have an old RedHat box that I have to get some work done on:
$ lsb_release -a
LSB Version: 1.3
Distributor ID: RedHatEnterpriseWS
Description: Red Hat Enterprise Linux WS release 4 (Nahant Update 7)
Release: 4
Codename: NahantUpdate7
I am having serious trouble with the shell prompt. (bash) In particular, if I type the following on the command line:
$ abcdefghijklmnopqrstuvwxyz
... then if I arrow back to the m
character, for example, and press Delete
, I get this:
$ abcdefghijkLMNopqrstuvwxyz
(But it gets worse. If I then arrow around more, it only flips one letter at a time.)
I compared my stty
settings with an Ubuntu machine where it works fine, and I don't see a significant difference. They are as follows:
$ stty -a
speed 38400 baud; rows 58; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
This is driving me crazy. Is there anything else I should look up? What could possibly be causing this?