For Ubuntu server version 18.04.3 Emacs does not recognize Alt and Shift keys the same way as the GUI. Emacs experts advised how to get the program to recognize those keys using escape sequences inputed into the emacs init file. But, I'm having trouble finding those escape sequences with the recommended methods:
Ctrl-q
in emacs does not display escape sequences (not for me, at least, possible user error).
sed -n l
plus Alt and Enter does not seem to work either.
Is there an Ubuntu-specific way of finding these escape sequences?