freebsd-dev/usr.bin/ncplogin/ncplogout.1
Glen Barber 2fccbf04cc General mdoc(7) and typo fixes.
PR:		167696
Submitted by:	Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after:	3 days
2012-05-10 02:07:00 +00:00

57 lines
1.2 KiB
Groff

.\" $FreeBSD$
.Dd September 15, 1999
.Dt NCPLOGOUT 1
.Os
.Sh NAME
.Nm ncplogout
.Nd schedule permanent connection to close
.Sh SYNOPSIS
.Nm
.Op Fl S Ar server
.Op Fl U Ar user
.Op Fl c Ar handle
.Nm
.Op Fl c Ar handle
.No / Ns Ar server Ns : Ns Ar user
.Sh DESCRIPTION
The
.Nm
utility will schedule a connection created by
.Xr ncplogin 1
command to be closed.
If the connection is busy (i.e., used by other processes) it will
be closed when the last process using it is terminated.
This command is similar to the
.Tn DOS
.Pa logout.exe
command.
.Pp
The options are:
.Bl -tag -width indent
.It Fl S Ar server
Specify the name of the
.Tn NetWare
server to which the connection should be terminated.
Can be omitted if there is only
one connection active.
.It Fl U Ar user
Specify the name of the user to use when identifying the connection.
Can be omitted if there is only
one connection active.
.It Fl c Ar handle
Close a connection by handle.
A list of available handles can be obtained with the following command:
.Pp
.Dl "ncplist c"
.El
.Sh HISTORY
The
.Nm
utility first appeared in
.Fx 4.0 .
.Sh AUTHORS
.An Boris Popov Aq bp@butya.kz ,
.Aq bp@FreeBSD.org
.Sh BUGS
Please report any bugs to the author.