When running an interactive shell application, how can I send it a key (or key combination) which would normally be intercepted by GNOME Terminal? In this particular instance it's the F10 key which is intercepted.Bonus points for a general-purpose solution which would work for things like Alt, PgUp and Alt-Tab (might be useful for a shell script to configure shortcut commands) or in other terminals as well.
How to bypass GNOME Terminal when sending keyboard input?
keyboard shortcuts;gnome terminal;escape characters
You can try disable the gnome shortcuts in Edit -> Keyboard shortcuts, so the window won't eat up the function keys.There seems to be a known gnome-terminal bug relating to this.Alternatively if this doesn't work, you will have to use another terminal that explicitly sends function keys as control codes to the terminal. rxvt is one I can recommend, or xterm.