|
|
coherent
enable Command enable
Enable terminal port
/eettcc/eennaabbllee _p_o_r_t...
The COHERENT system is a multiuser operating system; it allows
many users to use the system simultaneously. An asynchronous
communication port connects each user to the system, normally by
a terminal or a modem attached to the port. The system com-
municates with the port by means of a character special file in
directory /dev, such as /ddeevv/ccoomm33rr or /ddeevv/ccoomm22ll.
The COHERENT system will not allow a user to log in on a port un-
til the system creates a login process for the port. The enable
command tells the system to create a login process for each given
port. For example, the command
/etc/enable com1r
enables port /dev/com1r.
enable changes the entry for each given port in the terminal
characteristics file /etc/ttys. The baud rate specified in
/etc/ttys must be the appropriate baud rate for the terminal or
modem connected to the port. See the Lexicon entry for ttys for
more information.
The command disable disables a port. The command ttystat checks
whether a port is enabled or disabled.
***** Files *****
/eettcc/ttttyyss -- Terminal characteristics file
/ddeevv/ccoomm* -- Devices serial ports
***** See Also *****
com, commands, disable, getty, login, ttys, ttystat
***** Diagnostics *****
enable normally returns one if it enables the port successfully
and zero if not. If more than one port is specified, enable
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.
***** Notes *****
It is not recommended that you attempt to enable a port that is
already enabled. To make sure, run /etc/disable before running
/etc/enable.
COHERENT Lexicon Page 1
enable Command enable
Only the superuser root can execute enable.
COHERENT Lexicon Page 2
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.