On Mon, 09 Nov 2009, [email protected] wrote: > Here is the snippet from the xterm man page: > > ACTIONS > It is possible to rebind keys (or sequences of keys) to arbitrary > strings for input, by changing the translations resources for the vt100 > or tek4014 widgets. Changing the translations resource for events > other than key and button events is not expected, and will cause unpre- > dictable behavior. The following actions are provided for use within > the vt100 or tek4014 translations resources: [...] > > dabbrev-expand() > Expands the word before cursor by searching in the preceding > text on the screen and in the scrollback buffer for words > starting with that abbreviation. Repeating dabbrev-expand() > several times in sequence searches for an alternative expansion > by looking farther back. Lack of more matches is signaled by a > beep(). Attempts to expand an empty word (i.e., when cursor is > preceded by a space) yield successively all previous words. > Consecutive identical expansions are ignored. The word here is > defined as a sequence of non-whitespace characters. This > feature partially emulates the behavior of `dynamic abbrevia- > tion' expansion in Emacs (bound there to M-/). Here is a > resource setting for xterm which will do the same thing: > *VT100*translations: #override \n\ Meta <KeyPress> > /:dabbrev-expand() >
after compiling and install xterm with that support. I cannot set it to work, exactly what should be added to ~/.Xresources if I want to bind it to Alt-/ ? -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
