Re: [Nolug] screen commands - odd

From: Dustin Puryear <dustin_at_puryear-it.com>
Date: Wed, 23 Apr 2008 11:26:51 -0500
Message-ID: <480F634B.5030808@puryear-it.com>

This is really all you need to know:

1. Control-a : command mode, start with this always

2. control-a c : create

3. control-a control-a : switch to previous window (toggle)

4. control-a ": show all my available windows

5. control-a A: name the current window with a title (e.g., "my log view")

6. control-a K: kill this window (e.g., it hangs)

7. control-a d: detach and go home for the day

Put this in your ~/.screenrc before starting screen:

hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d
%C%a "

--
Dustin Puryear
President and Sr. Consultant
Puryear Information Technology, LLC
225-706-8414 x112
http://www.puryear-it.com
Author, "Best Practices for Managing Linux and UNIX Servers"
   http://www.puryear-it.com/pubs/linux-unix-best-practices/
Petri Laihonen wrote:
> I have now managed to get my SSH tunnels etc up and running when I start
> "screen".....  It was necessary to set up ssh-agent in order to do the
> passwordless logins. So I learned that too.
> 
> However, screen seems to be very difficult to use, or I do not
> understand the instructions......most likely both......
> I have not yet figured out how to interpret the instructions...... There
> seem to be no legend....
> 
> For instance,
> *C-a C-b*  (break)
> 
>     Send a break to window.
> *C-a B*      (pow_break)
>     Reopen the terminal line and send a break.
> *C-a C-d*  (detach)
>     Detach
>     /screen/ from this terminal. 
> *C-a D D*    (pow_detach)
>     Detach and logout.
> 
> ETC.....
> 
> I have yet to figure out what is "*C-a*"?
> I suspected it was a "ctrl" +something else, but that does not seem to work.
> 
> Also,  I have not yet found a way to scroll the windows since the normal
> scrollbar does not work anymore.
> 
> Someone please throw me a bone? :-)
> 
> Petri
> 
> 
> 
> 
> ___________________
> Nolug mailing list
> nolug@nolug.org
___________________
Nolug mailing list
nolug@nolug.org
Received on 04/23/08

This archive was generated by hypermail 2.2.0 : 12/19/08 EST