[luau] disconnected

Brian McSheehy brian at proservicepeo.com
Thu Feb 19 16:47:00 PST 2004


Hi Cody,

I assume your using Linux and I don't think anything like this exists for
that OS.

However, for FreeBSD users wishing to control other terms there is a way.
The Kernel snoop device "snp" needs to be compiled into the kernel, the you
need to /dev/MAKEDEV snp0 snp1 snp2. You can then use the "watch" command
to remote control another terminal (this is only available to root).

For example:
watch -W /dev/ttyp1

would allow you to read and write to ttyp1, without the -W flag you will
only be
able to watch another terminal. It's kind of a handy thing when you want to
see what
others are doing on your system. However, if you are trying to connect to a
disconnected
session that is now a zombie, you won't be able to as there is no longer any
socket IO for the
process available.

--Brian


----- Original Message -----
From: "Taylor Cody L. Contr 502 AOS/PETS" <Cody.Taylor at hickam.af.mil>
To: "LUAU" <luau at videl.ics.hawaii.edu>
Sent: Thursday, February 19, 2004 3:20 PM
Subject: [luau] disconnected


> I use putty to connect to my machine through ssh.  I was disconnected
awhile
> ago while I was running a program.  W shows a connection still alive on
> pts/0  I see the program still running and it is associated with pts/0.
Is
> there a way to redirect the display from pts/0 to my current pts so I can
> follow the progress if not take over that session.  -Cody
> _______________________________________________
> LUAU mailing list
> LUAU at videl.ics.hawaii.edu
> http://videl.ics.hawaii.edu/mailman/listinfo/luau
>




More information about the LUAU mailing list