Sometimes, when I am using less within a screen tab, the arrow keys display ^[OA, ^[OB, ^[OC, and ^[OD instead of doing what I want them to do. Is there something I can do to fix this and gain control of less again?
A:
- If it happens from time to time, it seems, that some application (e.g.
catorlessa binary file) shatters your console by sending it control characters. You need to runresetcommand from command line to recover. - Otherwise you have to trick your terminal application. I suggest you to use CryptoTerm which allows you to define custom key mappings.
dma_k
2010-03-01 21:09:12