Recover lost ttyps

JohnsoBS at vicksburg.navy.mil JohnsoBS at vicksburg.navy.mil
Mon Oct 18 02:43:41 PDT 2004



> -----Original Message-----
> From: Andreas Widerøe Andersen [mailto:andreas at wideroe.net]
> Sent: Monday, October 18, 2004 11:30 AM
> To: freebsd-questions at freebsd.org
> Subject: Recover lost ttyps
> 
> 
> Hi,
> Is there a simple way (as root) to recover lost ttyps?
> 
> Example: I'm rebuilding some ports and while this is done the 
> ADSL line is 
> disconnected. A few seconds later I'm back online, but the 
> ttyp0 is lost 
> and I'm now logged in as root on ttyp1.
> 
> ---
> 
> Andreas Wideroe Andersen <andreas at wideroe.net>
> Mobile: (+47) 90 92 61 21
> http://www.filmshooting.com  

For future reference I recommend screen. It can keep disconnected sessions
open, and when you relogin, you can do a "screen -r" to recover the session.


More information about the freebsd-questions mailing list