LINEHAN@IBM.COM ("Mark H. Linehan") (12/15/90)
I want to make xterm translate the "delete" key to the sequence <ctrl>-d. I can get it to do the translation correctly if I want "delete" to translate to "d". I use the following in .Xdefaults: xterm.translations: #override <Key>Delete: string(d) How do I tell xterm that I want the translated value to be ctrl-d? Where can I find more documentation about this stuff? Mark H. Linehan
melby@daffy.yk.Fujitsu.CO.JP (John B. Melby) (12/17/90)
> I want to make xterm translate the "delete" key to the sequence > <ctrl>-d. [...] I use the following in .Xdefaults: > xterm.translations: #override <Key>Delete: string(d) I think that the following line should work: xterm*vt100*translations: #override <Key>Delete: string(d) ----- John B. Melby Fujitsu Limited, Machida, Japan melby%yk.fujitsu.co.jp@uunet
mouse@LARRY.MCRCIM.MCGILL.EDU (12/17/90)
> I want to make xterm translate the "delete" key to the sequence > <ctrl>-d. I don't think you can, though you can get it to generate the same character that Control-plus-d does. > I can get it to do the translation correctly if I want "delete" to > translate to "d". I use the following in .Xdefaults: > xterm.translations: #override <Key>Delete: string(d) > How do I tell xterm that I want the translated value to be ctrl-d? Try string(0x04) instead - 0x04 being the character code for ^D. > Where can I find more documentation about this stuff? I don't know. The above was picked up by reading xpert (I never use either xterm or Xt in this sort of depth). der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu