On Sun, Oct 21, 2001 at 12:27:00PM +0200, A.R. (Tom) Peters wrote: > For some reason neither the Delete key nor the Backspace key work in my > terminal windows (xterm, Konsole). I have to use ^H on the command > line. The keys work however as expected in editors like vim, pine (in > these very terminal windows), as well as in nedit. There is nothing about > the keys in my .bash_profile nor in my .Xdefaults. > Can anybody tell me where and how the key settings are defined for xterms? > -- Did you ever get an answer to this? Use stty to display and define key settings in terminal windows: xio@mournblade:~$ stty -a speed 38400 baud; rows 58; columns 166; 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 xio@mournblade:~$ stty erase ^H xio@mournblade:~$ stty -a speed 38400 baud; rows 58; columns 166; line = 0; intr = ^C; quit = ^\; erase = ^H; 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 xio@mournblade:~$ To type in the you need to press first, and then either the backspace key or . Cheers, xio -- GPG Keyid 0x0FCD0EE2 GPG Fingerprint C2FF 6147 0ADB 1674 4096 2339 370F CBDF 0FCD 0EE2 fortune - print a random, hopefully interesting, adage: Women can keep a secret just as well as men, but it takes more of them to do it.
Attachment:
pgp2CCKmMQEpj.pgp
Description: PGP signature