I like Gnu screen, but the choice of CTRL-A as the command sequence is extremely unfortunate. Like many other bash users, I use CTRL-A to get back to the beginning of the line (emacs editing mode). How do you all get around this problem? Also, I''m wondering if there is an easy way to get mouse scrolling to work when reviewing terminal history in screen. It''s a pain in the arse to CTRL-A then ESC to be able to scroll back.
> Also, I''m wondering if there > is an easy way to get mouse scrolling to work when reviewing terminal > history in screen. ?It''s a pain in the arse to CTRL-A then ESC to be > able to scroll back.If anyone else is looking for mouse wheel scrolling in GNU screen, here''s the solution I found. I added this to my .screenrc and it works quite well: termcapinfo xterm|xterms|xs|rxvt ti@:te@
Sean Carolan wrote:> I like Gnu screen, but the choice of CTRL-A as the command sequence is > extremely unfortunate. Like many other bash users, I use CTRL-A to > get back to the beginning of the line (emacs editing mode). > > How do you all get around this problem? Also, I''m wondering if there > is an easy way to get mouse scrolling to work when reviewing terminal > history in screen. It''s a pain in the arse to CTRL-A then ESC to be > able to scroll back.Have you considered freenx and the NX client from http://www.nomachine.com instead? It gives you the same disconnect/reconnect capability but with a full GUI desktop and fairly efficient cross-platform remote access. I like it better than screen even when most of my windows are xterms. -- Les Mikesell lesmikesell at gmail.com
On Wed, Feb 25, 2009 at 12:48:28PM -0600, Sean Carolan wrote:> I like Gnu screen, but the choice of CTRL-A as the command sequence is > extremely unfortunate. Like many other bash users, I use CTRL-A to > get back to the beginning of the line (emacs editing mode). > > How do you all get around this problem?You can use the "Ctrl-A a" (minus a) keystroke, as described in the manual page: DEFAULT KEY BINDINGS C-a a (meta) Send the command character (C-a) to window. See escape command. -- Nicolas
To get a "Ctrl-A" to go to the bash shell to move to the beginning of the line, use "Ctrl-A A", which sends the Ctrl-A through to the program. You can change the key to something else by adding the "escape" command in your .screenrc. bash in centos also usually understands the "Home" key on a regular PC keyboard to move the cursor to the beginning of the line. On Wed, Feb 25, 2009 at 1:48 PM, Sean Carolan <scarolan at gmail.com> wrote:> I like Gnu screen, but the choice of CTRL-A as the command sequence is > extremely unfortunate. ?Like many other bash users, I use CTRL-A to > get back to the beginning of the line (emacs editing mode). > > How do you all get around this problem? ?Also, I''m wondering if there > is an easy way to get mouse scrolling to work when reviewing terminal > history in screen. ?It''s a pain in the arse to CTRL-A then ESC to be > able to scroll back.
Sean Carolan wrote:> How do you all get around this problem? Also, I''m wondering if there > is an easy way to get mouse scrolling to work when reviewing terminal > history in screen. It''s a pain in the arse to CTRL-A then ESC to be > able to scroll back.man screen; look for option ''-e''. for the lazy : ''screen -e^Zz''; and ^z becomes the command char. -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq