COHERENT manpages

This page displays the COHERENT manpage for disable [Disable a port].

List of available manpages
Index


disable -- Command

Disable a port
/etc/disable port...

disable tells  the COHERENT system not  to create a login  process for each
given asynchronous port. For example, the command

    /etc/disable com1r

disables port /dev/com1r. disable changes  the entry for each given port in
the terminal characteristics file /etc/ttys, and signals init to rescan the
ttys file.

The command  enable enables a  port.  The command ttystat  checks whether a
port is enabled or disabled.

Files

/etc/ttys -- Terminal characteristics file

See Also

asy,
commands,
enable,
login,
ttys,
ttystat

Diagnostics

disable normally returns one if  it disables the port successfully and zero
if not.  If more than one port is specified, disable returns the success or
failure status of the last port  it finds.  It returns -1 if it cannot find
any given port. An exit status of -2 indicates an error.