Davide Marchignoli <[EMAIL PROTECTED]> writes: > Hi, > > I am using the frozen distribution and I find quite annoying the fact > that xterm (and rxvt also) ignores the meta key. For instance, when > running bash under console, <Alt>-d deletes the word in front of the > cursor, whereas under xterm <Alt>-d simply echos d. >
Hello, this is an old emacs behavior: The alt should be read as Meta aka the escape key, so "Esc-d" should delete the word on the console. However you can set special functions for the xterm keytable using X resources like: XTerm*VT100.Translations: #override \ ~Shift<Key>F9: set-scrollbar(toggle) \n\ Shift<Key>Left: string(0x1b) string(b) \n\ Shift<Key>Right: string(0x1b) string(f) \n which sends a "Esc-b" sequence when shift plus left arrow is hit. See the manpage for further details. Be sure the windowmanager passes the key events to the application. Hth -- Peter -- ------------------------------------------------------------------------------ Peter Weiss, Baldestraße 14, 80469 München, Tel. 089/ 20232434 ------------------------------------------------------------------------------ --- The foolish ones taught more to me than the wise ones ever could --- ------------------------------------------------------------------------------