xterm - Where can I find a list of terminal ANSI codes sent by Ctrl-key sequences? -


i writing behavioural tests code interacts terminal , need assert behaviour on sequence c-p c-q (ctrl-p ctrl-q). in order this, need write raw characters pty. have small mapping @ moment things c-d => 0x04, c-h => 0x08.

is there somewhere can basic mapping of human readable control sequences, mapped raw byte sequences xterm?

take ascii value of character (e.g., ^h, take 72), , subtract 64. thus, ^h 8.

this works control character. using it, can discover that, example, ^@ nul character , ^[ esc.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -