Reattaching to a detached screen

2008-12-28 Thread JCA
I usually run screen in conjunction with autossh. I have the following issue: Occasionally, my network connection gets interrupted for whatever reason, and I end up with one (or more) detached screen. How can I reattach to it while keeping just one screen? Let me elaborate a bit. From

Re: The -d and -D options

2007-03-31 Thread JCA
rstand the explanation, but it really is the worst in a rather poorly written man page. Which is a shame, for screen really rocks. On 3/30/07, Paul Hoffman <[EMAIL PROTECTED]> wrote: On Fri, Mar 30, 2007 at 07:32:31PM +0100, JCA wrote: > I wonder if someone could please explain the meaning

The -d and -D options

2007-03-30 Thread JCA
I wonder if someone could please explain the meaning of the following options the screen command: -d -r Reattach a session and if necessary detach it first. -d -R Reattach a session and if necessary detach or even create it first. -d -RR Reattach a se

Delay in reestablishing screen/ssh connections

2005-11-28 Thread JCA
    I am using a combination of several tools, so I am not sure this is the right forum for my questions. My apologies if it isn't.     I have a Linux computer A that I have to put to hibernate on a regular basis. From A, using both screen and autossh, I open ssh connections to two remote Linux bo

Setting DISPLAY on the screen shell

2005-08-04 Thread JCA
When I establish a connection by means of ssh, from a host A to a host B, I can use the output from the 'who am i' command in B so that in the shell created in B by the connection, the DISPLAY variable is set so that the output from X commands in B is sent to A. Indeed, a typical output from 'who

Scrolling from within terminal emulators

2005-07-19 Thread JCA
I have noticed that when starting rscreen as a process running on a terminal emulator (xterm, gnome-terminal) the scrolling capabilities of the terminal emulator seem to be disabled. In particular, the PageUp, PageDown keys in the keyboard, that allow one to move up and down the output in the ter

Reestablishing ssh connections via screen: Conclusion

2005-06-25 Thread JCA
I want to post a summary on this, in case somebody finds it useful. My setup is the following: I have a notebook that connects to a server via ssh. The notebook is put to hibernate (suspended to disk) every so often, for at least 15 minutes at a time. The server is running nonstop. When put t

Re: Reestablishing ssh connections via screen

2005-06-23 Thread JCA
> This is the typical way to use screen: > > - Turn on your laptop, open ssh connection to the server > - On the server: type 'screen' > - screen will give you a shell, just like when you log in normally > - Do work that you need inside that shell > - If you get disconnected, such as when you turn

Re: Reestablishing ssh connections via screen

2005-06-22 Thread JCA
* JCA <[EMAIL PROTECTED]> [2005-06-21 14:06 -0700]: > How can screen be used so that, when the notebook is brought back from > its dormant state, whatever ssh sessions it had active with the server, > at the time the notebook was put to sleep, are automatically > re-established?

Re: Reestablishing ssh connections via screen

2005-06-22 Thread JCA
> JCA wrote: >> I have a Linux notebook that connects to a Linux server by ssh. The >> notebook can be suspended to disk at any time, while ssh sessions to >> the server are still running. How can screen be used so that, when the >> notebook is brought back from its

Reestablishing ssh connections via screen

2005-06-21 Thread JCA
I am trying to use screen in the following situation: I have a Linux notebook that connects to a Linux server by ssh. The notebook can be suspended to disk at any time, while ssh sessions to the server are still running. How can screen be used so that, when the notebook is brought back from i