How do I leap to the next or previous word with CTRL+arrowhead type in a console?
In terminal emulation applications, pushing CTRL+Left/ Right arrowheads leaps from one word to the previous or next one. Is it feasible to have the very same capability in a Linux console, whether it remains in message or in framebuffer settings?
In my arrangement, the CTRL+arrowhead keys are changed right into run away character series and also not analyzed.
This is feasible if and also just if the terminal sends out various retreat series for Ctrl+Left vs Left. This is not the instance by default on the Linux console (at the very least on my equipment). You can make it so by changing the keymap. The specific documents to change might rely on your circulation ; on Debian lenny, the documents to change is
/etc/console/boottime.kmap.gz. You require lines like
control keycode 105 = F100 string F100 = "\033O5D" control keycode 106 = F101 string F101 = "\033O5C"
You could too pick the very same retreat series as your X terminal emulator. To figure out what the control series is, type Ctrl+V Ctrl+Left in a covering ; this inserts (on my equipment)
^[ is a retreat personality. In the keymap documents,
\033 stands for a retreat personality.
Setting up the application in the terminal to translate the retreat series is a different trouble,.