Hi Keith, Maybe I didn't explain well. I am looking for a way to define the delete function on the "DELETE" key, so allowing me to press one key as opposed to two (control-h) to rub out a character on my x-window session screen. Well, I have actually found the tool xmodmap, and used "xmodmap -pk" to identify the current keymap, and tried xmodmap -e "keysym apLineDel = Delete" The key apLineDel (labelled as Remove on a LK401 keyboard) is redefined to be 0xffff (Delete), as revealed using xmodmap -pk on the second time. But this does not work. I am still getting ~ and a beep when pressing the key. Peter -----Original Message----- From: redhat-list-admin@xxxxxxxxxx [mailto:redhat-list-admin@xxxxxxxxxx] On Behalf Of Keith Morse Sent: 02 December 2003 18:08 To: 'redhat-list@xxxxxxxxxx' Subject: Re: define delete key On Tue, 2 Dec 2003, Chiu, PCM (Peter) wrote: > I have been using > > stty erase ^H > > to define control-h as the delete function on my x-window session > (xterm). > > Does anyone know how to define the delete function on the DELETE key? > Been awhile since I've done this but.... [kgmorse@marguay kgmorse]$ stty -a speed 38400 baud; rows 50; 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 So it looks like control-J will be the one that you want. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list