eennaabbllee -- Command

Enable a port
/eettcc/eennaabbllee _p_o_r_t...

The COHERENT  system is a multiuser operating system;  it allows many users
to  use  the system  simultaneously.   An  asynchronous communication  _p_o_r_t
connects  each user  to  the system,  normally  by a  terminal  or a  modem
attached to the port.  The system  communicates with the port by means of a
character special file in directory /ddeevv, such as /ddeevv/ccoomm33rr or /ddeevv/ccoomm22ll.

The COHERENT  system will not  allow a user to  log in on a  port until the
system creates a _l_o_g_i_n _p_r_o_c_e_s_s for  the port.  The eennaabbllee command tells the
system to  create a  login process  for each given  _p_o_r_t. For  example, the
command

    /etc/enable com1r

enables port /ddeevv/ccoomm11rr.

eennaabbllee   changes  the   entry  for   each  given   _p_o_r_t  in   the  terminal
characteristics file  /eettcc/ttttyyss. The baud rate  specified in /eettcc/ttttyyss must
be the  appropriate baud rate  for the terminal  or modem connected  to the
port.  See the Lexicon entry for ttttyyss for more information.

The command ddiissaabbllee disables a  port.  The command ttttyyssttaatt checks whether a
port is enabled or disabled.

_F_i_l_e_s
/eettcc/ttttyyss -- Terminal characteristics file
/ddeevv/ccoomm* -- Devices serial ports

_S_e_e _A_l_s_o
aassyy, ccoommmmaannddss, ddiissaabbllee, ggeettttyy, llooggiinn, ttttyyss, ttttyyssttaatt

_D_i_a_g_n_o_s_t_i_c_s
eennaabbllee normally returns one if it enables the _p_o_r_t successfully and zero if
not.  If  more than one  _p_o_r_t is specified,  eennaabbllee returns the  success or
failure status of the last port  it finds.  It returns -1 if it cannot find
any given _p_o_r_t. An exit status of -2 indicates an error.

_N_o_t_e_s
It is  not recommended that  you attempt to  enable a port  that is already
enabled.  To make sure, run /eettcc/ddiissaabbllee before running /eettcc/eennaabbllee.
