I wrote a script that
dialog command is vulnerable to
Esc key, now I want to disable Esc key in console.
NOTE: X11 has been not installed in server and
xmodmap doesn't work.
We can disable ESC key with
$loadkeys keymaps 0-127 keycode 1 = press crtl+d
Or we can put them in a file and read the file with
NOTE: It just disable ESC key in console.