public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [Off Topic] screen configuration...
@ 2007-02-23 23:40 Steve [Gentoo]
  2007-02-24 10:42 ` Frank Gruellich
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Steve [Gentoo] @ 2007-02-23 23:40 UTC (permalink / raw
  To: gentoo-user

I'm frustrated...

I want to use screen, but my emacs-afflicted fingers automatically type
"control-a" to go to the beginning of the line in my shell - which is
somewhat unfortunate for screen.

I assume from the manual that I can re-bind keys to avoid this
problem... my first guess was to bung "bind '^a'" into my .screenrc -
but that doesn't do the trick.  Does anyone here have the correct
incantation?

Steve

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] [Off Topic] screen configuration...
  2007-02-23 23:40 [gentoo-user] [Off Topic] screen configuration Steve [Gentoo]
@ 2007-02-24 10:42 ` Frank Gruellich
  2007-02-24 10:47 ` Boyd Stephen Smith Jr.
  2007-02-24 16:41 ` Roger Mason
  2 siblings, 0 replies; 4+ messages in thread
From: Frank Gruellich @ 2007-02-24 10:42 UTC (permalink / raw
  To: gentoo-user

* Steve [Gentoo] <gentoo_steve@shic.co.uk> 23. Feb 07:
> I want to use screen, but my emacs-afflicted fingers automatically type
> "control-a" to go to the beginning of the line in my shell - which is
> somewhat unfortunate for screen.

With default settings you can send the escape key to an application
(like a shell) by pressing "C-a a".

> I assume from the manual that I can re-bind keys to avoid this
> problem... my first guess was to bung "bind '^a'" into my .screenrc -
> but that doesn't do the trick.  Does anyone here have the correct
> incantation?

escape ^Uu

in your .screenrc should bind "C-u" to as escape key and "C-u u" to send
escape key to shell (deleting line in this case).  You can change this
after startup by pressing "C-a :".  I documented my own .screenrc here:
http://www.der-frank.org/dotfiles/_screen/_screenrc
 
HTH,
 kind regards, Frank.
-- 
Sigmentation fault
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] [Off Topic] screen configuration...
  2007-02-23 23:40 [gentoo-user] [Off Topic] screen configuration Steve [Gentoo]
  2007-02-24 10:42 ` Frank Gruellich
@ 2007-02-24 10:47 ` Boyd Stephen Smith Jr.
  2007-02-24 16:41 ` Roger Mason
  2 siblings, 0 replies; 4+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-02-24 10:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

On Friday 23 February 2007 17:40, Steve [Gentoo] wrote:
> I want to use screen, but my emacs-afflicted fingers automatically type
> "control-a" to go to the beginning of the line in my shell - which is
> somewhat unfortunate for screen.

Amen.  Luckily I'm not an emacs user, so I quickly broke myself of that 
bash 
habit.  (I happily hit home or esc,^ now.)

> I assume from the manual that I can re-bind keys to avoid this
> problem... my first guess was to bung "bind '^a'" into my .screenrc -
> but that doesn't do the trick.  Does anyone here have the correct
> incantation?

Pull up the screen.info file, and goto the 'Command Character' node.

I'm thinking you probably want to mess with the escape or defescape 
commands, 
probably throwing them into your screenrc or somesuch.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss03@volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] [Off Topic] screen configuration...
  2007-02-23 23:40 [gentoo-user] [Off Topic] screen configuration Steve [Gentoo]
  2007-02-24 10:42 ` Frank Gruellich
  2007-02-24 10:47 ` Boyd Stephen Smith Jr.
@ 2007-02-24 16:41 ` Roger Mason
  2 siblings, 0 replies; 4+ messages in thread
From: Roger Mason @ 2007-02-24 16:41 UTC (permalink / raw
  To: gentoo-user

"Steve [Gentoo]" <gentoo_steve@shic.co.uk> writes:

> I want to use screen, but my emacs-afflicted fingers automatically type
> "control-a" to go to the beginning of the line in my shell - which is
> somewhat unfortunate for screen.
>

I too am an emacs user.  I have 

escape \x1c\

as the first line of my .screenrc.

Cheers,
Roger

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-24 17:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 23:40 [gentoo-user] [Off Topic] screen configuration Steve [Gentoo]
2007-02-24 10:42 ` Frank Gruellich
2007-02-24 10:47 ` Boyd Stephen Smith Jr.
2007-02-24 16:41 ` Roger Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox