Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2006 12:43:12 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, Dan Sikorsky <dan@cupid.com>
Subject:   Re: Using Screen
Message-ID:  <200611291243.13342.lists@jnielsen.net>
In-Reply-To: <20061129173542.GA3787@kobe.laptop>
References:  <456DC1C9.3070007@cupid.com> <20061129173542.GA3787@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 29 November 2006 12:35, Giorgos Keramidas wrote:
> On 2006-11-29 12:22, Dan Sikorsky <dan@cupid.com> wrote:
> > Hey, I have a good question for you guys.
> >
> > Lets say, I started a job on a computer, if you must know, portmanager
> > -u , and then left... but I know its sitting there stuck on a config
> > window waiting for someone to press enter...  I do not have screen
> > installed on this machine...
> >
> > my question is, can I ssh in, install screen (or not i suppose it
> > wouldnt matter) and bring that process to either screen, or my ssh
> > terminal?
>
> In general, "no".
>
> You can _try_ using watch(8), from a superuser session, but I am not
> sure if it will catch whatever has already been displayed on the side
> of the watched terminal...

The watch utility will only display writes that happen after it was started.

See also vidcontrol(1), in particular the -p and -P options. You can get 
a "screen shot" of a virtual terminal that way.

JN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611291243.13342.lists>