Garrett D'Amore wrote: > For years I've used the eightBitInput: false X resource with xterm. > This is because my shell (tcsh) has emacs key bindings, and it lets me > quickly edit the command using emacs key strokes like "M-f" and "M-b" to > go backwards and forwards in a line. This feature lets me configure > the terminal to send "Esc" for Meta followed by the modified key (e.g. > M-b sends "esc b".) >
Just a minor correction. I also use this feature extensively. The difference between eightBitInput w/ Meta vs Esc is that Esc is a keystroke in itself, not a modifier, so if you want to do sequentially-modified keystrokes in emacs via Esc you have to press Esc separately each time before the key you want modified. Basically the application (emacs) is applying the modification. If you have a true Meta Key, and you set XTerm*vt100.eightBitInput:true, then while Meta is pressed this sets the parity bit of each character passed to the tty. You can hold down Meta and press several keys and have them all modified appropriately in the input stream to the application. This also requires that your stty settings are appropriate to handle 8-bit characters without parity (no stripping, etc). Did your stty defaults change perhaps? I also note you mention this resource set to false. That's backwards - you want it set to true. Typo? -Bob > Since I installed b68 today, it seems this no longer works. I don't > know why. (The meta key does work, because Emacs running with its own > X11 frame responds properly to it.) > > Interestingly enough, dtterm has an analogous feature called "kshMode", > which works, except it uses the "Alt" key stroke instead of "Meta". > > As an aside, one of my ancient, longstanding complaints about > gnome-terminal, and the reason I refuse to give up using xterm (to this > point anyway) is that it does not offer this configuration option. > (Neither does KDE's terminal, I believe.) > > If anyone has any insight into what happened to my "Meta" key > translations in xterm, I'd love to hear it. (And if anyone has any > insight into how to get this feature added to gnome-terminal, I'd like > to hear that too. I wonder from time to time if gnome-terminal might be > less expensive due to shared implementation than xterm... .but maybe not.) > > -- Garrett > > _______________________________________________ > desktop-discuss mailing list > desktop-discuss at opensolaris.org >
