Bash vs. Gnu screen : Replace Ctrl-A with Ctrl-Shift-A
Posted
by Stefan Lasiewski
on Super User
See other posts from Super User
or by Stefan Lasiewski
Published on 2010-05-18T20:56:43Z
Indexed on
2010/05/18
21:01 UTC
Read the original article
Hit count: 563
I'm a new user to GNU Screen. I've been using Bash for a very long time, and I want to give GNU Screen a try.
As you know, GNU Screen uses 'C-a' (Control-A) as as the command character. Trouble is, this interferes with the Line Editing feature in Bash (and GNU Readline), because Control-A in Bash will Move to the start of the line."
I know I can set the Command Character to another key sequence, like "^Q" or "``" (Backtick), but I have trouble finding another key sequence which isn't already in use (^Q is used by the terminal, backtick is used when writing shell scripts). It appears that the Command Character may only be one or two characters in length. Can I set the GNU Screen control character to be something like "Control-Shift-A"?
(I can't use more then one hyperlink yet, so I cannot link to the Bash documentation)
© Super User or respective owner