Re: "Leaving" a connection open / Sessions



"Gustavo L. Fabro" <glfabro@xxxxxxxxx> 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/
.



Relevant Pages

  • Re: how to map pfkeys to screen -r cmds
    ... > switch screens easily using the pfkeys but didn't see the how of it. ... > Also I'm ssh'ing into my session in case that matters. ... - to switch from one screen to another, type 'ctrl-a n' (to goto the ... - to 'detach' from screen type 'ctrl-a d' which will drop you back to ...
    (freebsd-questions)
  • Re: Any new Treos coming to Cingular?
    ... Because it doesn't have a "feature" that doesn't work right anyway. ... And if you want to switch back, ... The Treo can do the GPS, music and listen for new email at the same ... since we all probably worked on 320x240 screens just a ...
    (alt.cellular.cingular)
  • Re: How could we improve Time Machine and Spaces?
    ... - Bind Safari to a screen and then open one Safari window. ... Imagine you have some critical web application open that relates to your project on a screen, so use F8 to show all your screens, and drag that window over to that project's screen. ... Switch to another screen and click the Safari icon on the dock. ... Despite it being bound to the original screen, it will switch to the screen where its only window is. ...
    (comp.sys.mac.system)
  • Re: Is there a way to check quality of SunRay connection?
    ... > I suspect it may have a high packet error rate. ... > in a cursory review of the admin screens that tabulates error ... Switch of any advanced screen savers, ... move line to other port on switch/hub and check again. ...
    (comp.unix.solaris)
  • Re: Coding Horrors, Cargo Cult Programming, and other Ghoulish Things
    ... writing code that fails when you change a compiler switch in the IDE or the build tool is bad style. ... DO NOT WRITE CODE THAT ONLY WORK WITH SHORT-CIRCUIT BOOL EVALUATION!. ... Or make damn sure that your personal preference really works, and write that switch in the pas file, or in a inc file. ... in my screens. ...
    (borland.public.delphi.non-technical)