.TH disable "" "" Command
.PC "Disable a port"
\fB/etc/disable\fI port...\fR
.PP
.B disable
tells the \*(CO system not to create a login process for
each given asynchronous
.IR port .
For example, the command
.DM
	/etc/disable com1r
.DE
.PP
disables port
.BR /dev/com1r .
.B disable
changes the entry for each given
.I port
in the terminal characteristics file
.BR /etc/ttys ,
and signals
.B init
to rescan the
.B ttys
file.
.PP
The command
.B enable
enables a port.
The command
.B ttystat
checks whether a port is enabled or disabled.
.SH Files
\fB/etc/ttys\fR \(em Terminal characteristics file
.SH "See Also"
.Xr "asy," asy
.Xr "commands," commands
.Xr "enable," enable
.Xr "login," login
.Xr "ttys," ttys
.Xr "ttystat" ttystat
.SH Diagnostics
.B disable
normally returns one if it disables the
.I port
successfully and zero if not.
If more than one
.I port
is specified,
.B disable
returns the success or failure status of the last port it finds.
It
returns \-1
if it cannot find any given
.IR port .
An exit status of \-2 indicates an error.
