Date: Thu, 2 Aug 2007 12:06:14 -0400 From: "Jim Stapleton" <stapleton.41@gmail.com> To: "Jeremy Gransden" <jeremy.gransden@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: attaching a terminal to 'join' another? Message-ID: <80f4f2b20708020906l608c3b24sa6c8f0de7f5c11cd@mail.gmail.com> In-Reply-To: <87f7f4170708020853m5b452071hea5934f854545d34@mail.gmail.com> References: <80f4f2b20708020819l69e054a1ia070efba2b04d2ad@mail.gmail.com> <87f7f4170708020853m5b452071hea5934f854545d34@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/2/07, Jeremy Gransden <jeremy.gransden@gmail.com> wrote:
>
>
>
> On 8/2/07, Jim Stapleton <stapleton.41@gmail.com> wrote:
> > Sorry if my question is a bit confusing - I'm not even sure the proper
> > terminology, so I don't know what the best way to start looking is.
> >
> > I'm rebuilding a system at home, and I'd like to check how the build
> > is going at a slow time at work sometimes. I can connect to the system
> > from work (ssh into my main box, and then from there, ssh to the
> > system I'm working on). I have a terminal opened on that system
> > (actually, another ssh session fron the main box), and I'd like to
> > have my new connection attach to that terminal session, if possible,
> > so that I can just pick up where I left off, and monitor it from here.
> > Is this possible?
>
>
>
> Maybe your looking for screen.
>
> try
> man screen
> for more details.
> thanks,
> jeremy
>
I was actually thinking console for that part of the terminology, but
yeah, that's what I want to attach to, the man page didn't tell me how
though.
This seemed relevant:
Output to a virtual console that not currently is on the display is saved
in a buffer that holds a "screenfull" (normally 25) lines. Any output
written to /dev/console (the original console device) is echoed to
/dev/ttyv0.
However, cat'ing and less'ing the device did nothing, except act as if
it were waiting for input, and none was coming.
I however did find out which screen I'm on using ps -A and grep:
sjss@legolas 12:01:15 (0) /ports/java/diablo-jdk15 > ps -A | grep tty
sjss 0.0 0 0:00.33 0.6 0 0 0 26343 26339
sshd: sjss@ttyp1 (sshd)
sjss 0.0 0 0:09.61 0.5 0 0 0 43906 43903
sshd: sjss@ttyp0 (sshd)
So, I want to see what is going on with ttyp0
ttyp0
Thanks,
-Jim Stapleton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80f4f2b20708020906l608c3b24sa6c8f0de7f5c11cd>
