[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xterm key mapping



Russell Shaw sez:
} Where can i find a list of key names for use
} in vt100 translations? There's a bunch of
} things in /etc/X11/xbd, but things like
} "BackSpace" aren't there.

/usr/X11R6/lib/X11/XKeysymDB

You can also use xmodmap -pke to find out which keysyms are actually bound
on your keyboard.

} Does xterm have its own list?

No.

} What does the tilde(~) character do?

Negation. In the first of the translations below, releasing the second
button only pastes if neither control nor meta are pressed.

} XTerm*vt100.translations: #override\n\
}   ~Ctrl ~Meta<Btn2Up>:	insert-selection(PRIMARY, CLIPBOARD)\n\
}   <BtnUp>:		select-end(PRIMARY, CLIPBOARD)\n\
}   Shift<Key>Up:		scroll-back(1,line)\n\
[...]
--Greg



Reply to: