Date: Sat, 13 Nov 2004 23:37:54 +0100 From: Stefan Bethke <stb@lassitu.de> To: "Oren Baum" <obaum@uponline.com> Cc: freebsd-stable@freebsd.org Subject: Re: Grabbing hold of logged out but active tty Message-ID: <A8F6E754-35C4-11D9-86B9-000A95C893E4@lassitu.de> In-Reply-To: <001901c4c9b4$260aba30$6500a8c0@CIClaptop> References: <001901c4c9b4$260aba30$6500a8c0@CIClaptop>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 13.11.2004 um 20:08 schrieb Oren Baum: > UpOnlineHi, > > I'm running 4.10 and was wondering if there's a trick to regaining > control of another tty session that is still running (under ps) but I > (the user) have been logged out. This happens to me on occasion when > I'm running some programs in the background and am logged out by the > shell. If you regularly have long-running sessions, and you might need to disconnect from and reconnect to them, you should start them from within screen (misc/screen). If you have really important things in that session right now that you can only recover immediatly, you could try the snp(4) device together with watch(8) to hook onto the tty, but your success might be limited by the fact that the tty is effectivly closed. snp(4) can be loaded as a module. Good luck, Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A8F6E754-35C4-11D9-86B9-000A95C893E4>