Ctrl+I
, Enter is Ctrl+M
, Esc is Ctrl+[
), function keys send escape sequences, beginning with Ctrl+[ [
or Ctrl+[ O
. You can use the tput
command to see what escape sequence applications expect for each function key on your terminal. These sequences are stored in the terminfo
database. For example, the shell snippet below shows the escape sequences corresponding to each function key.