Re: tip: changing the default screen(1) command character

From: Arnon Klein (klein_at_nonexisting.hamakor.org.il)
Date: Thu 12 Aug 2004 - 13:54:54 IDT


for those who don't want to rtfm, add the following line to ~/.screenrc
(changes the escape sequence to ctrl-o):
escape ^Oo

Muli Ben-Yehuda wrote:

>Or "how to make screen not use C-a by default".
>
>It's pretty simple really, once you grovel through the documentation
>enough to find the relevant bit. Set it with either -e command line
>switch or the 'defescape' or 'escape' commands.
>
>Explanation: screen(1) is a very useful utility for everyone who works
>a lot on remote computers. It allows you to attach and detach from
>remote sessions (detach like nohup(1), but you can also attach back to
>it) so that they continue running while you're disconnected from that
>machine. screen by default 'steals' the C-a (Control a) key stroke to
>itself, which is incredibly annoying if you're used to the default
>readline key strokes in bash, emacs, BitchC, etc, where you type it to
>go to the beginning of the line. Ergo, the tip above to change it to
>something saner.
>
>Cheers,
>Muli
>
>

=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il



This archive was generated by hypermail 2.1.7 : Thu 12 Aug 2004 - 14:12:04 IDT