disconnect

Section: User Commands (1)
Index Return to Main Contents
 

NAME

disconnect - disconnect current pty session  

SYNOPSIS

disconnect [ ]  

DESCRIPTION

disconnect disconnects the current session, as if the connection had been hung up. Later you can use reconnect to get back to the session exactly where you left off.

disconnect doesn't actually hang up the connection. If you have previously specified a reconnect for the connection, it will take effect immediately.

You can switch rapidly from session xx to disconnected session zz by typing

reconnect zz;disconnect

Then xx and zz will be reversed, and you can switch back and forth without trouble.

Normally disconnect disconnects the session specified by environment variable PTY. Given it will instead disconnect session ext.

Note that, unlike the previous version of disconnect, this version guarantees that the session will be disconnected before it exits, unless it fails with an error message.  

DIAGNOSTICS

Self-explanatory.  

SEE ALSO

pty(1), sess(1), reconnect(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 06:18:20 GMT, December 12, 2024