Re: /usr/bin/screen using cmd as escape key instead of C-a
Re: /usr/bin/screen using cmd as escape key instead of C-a
- Subject: Re: /usr/bin/screen using cmd as escape key instead of C-a
- From: Harald Hanche-Olsen <email@hidden>
- Date: Mon, 10 Mar 2008 18:58:25 +0100 (CET)
+ Jurvis LaSalle <email@hidden>:
> I've been relying more and more on the handy screen utility and
> tweaking my .screenrc. I find the C-a escape sequence to be awful.
> I've tried using C-w and ` instead, but they each have their
> drawbacks. It would seem obvious to map it to the cmd key, but I'm
> stumped on how to do this.
You're stumped with good reason: The cmd key, being just a modifier,
does not produce any output that screen can see. An X client could,
but screen is not an X client so it can't.
Your choices of an escape character are really limited. The useful
ones range from ^@ (the NUL character) via ^A-^Z to ^[, ^\, ^], ^^,
and ^_. (I use the latter myself.)
You are probably running in a UTF-8 locale, since that is default on
the Mac. If you were to use a Latin-1 or other 8-bit locale, you could
perhaps set up some key to generate a character with the top bit set
and use that as an escape. Then you have more choices. You could use
XTerm.vt100.translations in the X resources database to generate this
code in response to some key combination.
- Harald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden