If alt-KEY does not work, press first <esc> and then the KEY. This is equivalent to alt-KEY usage.
If a key combination is in use by the window manager you could try adding another modifier key like the shift or ctrl. E.g. alt-<tab> is often not available to CLEX because it switches tasks on a graphical desktop, but ctrl-alt-<tab> might work fine.
If a function key does not work, please run the kbd-test
utility which is
bundled with CLEX. Press the key in question and compare the output
with the values in this table.
pressed key | expected kbd-test output | notes |
---|---|---|
<left> | KEY_LEFT | essential key |
<right> | KEY_RIGHT | essential key |
<up> | KEY_UP | essential key |
<down> | KEY_DOWN | essential key |
<home> | KEY_HOME | important key |
<page up> | KEY_PPAGE | important key |
<page down> | KEY_NPAGE | important key |
<del> | KEY_DC (\x7F is incorrect, but might work) |
important key |
<backspace> | KEY_BACKSPACE (ctrl-H is incorrect, but will work fine) |
ctrl-H has the same function in the input line |
<insert> | KEY_IC or KEY_IL | ctrl-T has the same function in the input line |
<F1>, <F2>, ... | KEY_F(1), KEY_F(2), ... | essential keys, there is a workaround |
shift-<left> | KEY_SLEFT | optional key, alt-B has the same function in the input line |
shift-<right> | KEY_SRIGHT | optional key, alt-F has the same function in the input line |
ctrl-<left> | kLFT5 (or other digit at the end) | optional key, like <esc> <left> |
ctrl-<right> | kRIT5 (or other digit at the end) | optional key, like <esc> <right> |
ctrl-<up> | kUP5 (or other digit at the end) | optional key, like <esc> <up> |
ctrl-<down> | kDN5 (or other digit at the end) | optional key, like <esc> <down> |
If your results differ from the values above, then CLEX is not getting the correct input. Your terminal is probably not set properly or the termcap/terminfo database does not match the terminal's keyboard output.
Please do not report keyboard problems as CLEX bugs if kbd-test
output
differs from the correct values in the table.