Afficher un message
Vieux 14/09/2006, 04h36   #6
Todd H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "Leaving" a connection open / Sessions

"Gustavo L. Fabro" <glfabro@gmail.com> writes:

> > Enjoy! Screen rocks.

>
> Beautiful!!! Exactly what I wanted!!!!!!
>
> Thank you very much! Works as a charm! You guessed right, I'm indeed in
> love with this new tool! ;-)


One more switch to know...

If when you do screen -r to reattach it complains that there aren't
any unattached screens (which will happen if you get disconnected
(e.g. network blip) and then try reconnect relatively quickly), in
that case:

remotehost$ screen -r -d

will force the detaching of your prior screen session and get you back
where you wanna be.

If you're an emacs user and want to remap the control-a to something
else, drop something like this in .screenrc

escape ^Tt

(I map mine to Ctrl-t since Ctrl-a is beginning of line in emacs and
I use it all the time. )


And now, I get to introduce you to new virtual screens. :-)

From inside of screen. Try Ctrl-a c (c for create)

This creates a new shell inside of screen.

To toggle back to the other one, do Ctrl-a n (n for next). Repeat
as desired.

Have fun! I <3 screen.


--
Todd H.
http://www.toddh.net/
  Réponse avec citation
 
Page generated in 0,05961 seconds with 9 queries