I am writing an application which interfaces with Nano in linux. Nano requires to receive control sequences to save/exit/and work with the files (^G ^R ^O ^Y ^K, etc...)
I figured out the unicode for ^X = U+0018 by blind chance. But as I want my application to be complete I wish to be able to have a complete list of unicode chars for combinations of ctrl/alt/shift + any other key.
I tried to do this by connecting between shells with netcat pressing (for example) CTRL+B and seeing what appears on the other side. This works for some of them, not for all as the terminal 'interprets' the escape before it is sent.
I'm offering a bounty now, what I want is either
- A) a method to acquire all the escape codes, or
- B) a comprehensive list that includes the ones I have noted above.