Print this page
14249 pseudo-terminal nomenclature should reflect POSIX
Change-Id: Ib4a3cef899ff4c71b09cb0dc6878863c5e8357bc

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ttymon/parms.h
          +++ new/usr/src/cmd/ttymon/parms.h
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12   * and limitations under the License.
  13   13   *
  14   14   * When distributing Covered Code, include this CDDL HEADER in each
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22      -/*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  23      -/*        All Rights Reserved   */
       22 +/*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
       23 +/*        All Rights Reserved */
  24   24  
  25   25  
  26      -#ident  "%Z%%M% %I%     %E% SMI"        /* SVr4.0 1.3   */
       26 +#ifndef _PARMS_H
       27 +#define _PARMS_H
  27   28  
  28      -
  29      -
  30   29  /* If running SVR3, #define both ATTSVR3 and ATTSV */
  31   30  #define ATTSVR3 /* System V Release 3 */
  32   31  
  33   32  /* One of the following four lines should not be commented out.
  34   33   * The other three should be unless you are running a unique hybrid.
  35   34   */
  36   35  
  37   36  #define ATTSV   /* System III or System V */
  38   37  /* #define      V7 */   /* Version 7 systems (32V, Berkeley 4BSD, 4.1BSD) */
  39   38  /* #define      BSD4_2 */       /* Berkeley 4.2BSD */
↓ open down ↓ 108 lines elided ↑ open up ↑
 148  147  /* #define X_PROTOCOL */ /* define X_PROTOCOL to use the xio protocol */
 149  148  #define X_PROTOCOL /* aeh - to check compilation */
 150  149  
 151  150  #define MAXCALLTRIES    2       /* maximum call attempts per Systems file line */
 152  151  
 153  152  /* define DEFAULT_BAUDRATE to be the baud rate you want to use when both */
 154  153  /* Systems file and Devices file allow Any */
 155  154  #define DEFAULT_BAUDRATE "9600" /* */
 156  155  
 157  156  /*define permission modes for the device */
 158      -#define M_DEVICEMODE (mode_t) 0600      /* MASTER device mode */
 159      -#define S_DEVICEMODE (mode_t) 0600      /* SLAVE device mode */
      157 +#define M_DEVICEMODE (mode_t) 0600      /* manager device mode */
      158 +#define S_DEVICEMODE (mode_t) 0600      /* subsidiary device mode */
 160  159  #define R_DEVICEMODE (mode_t) 0600      /* default mode to restore */
 161  160  
 162  161  /* NO_MODEM_CTRL - define this if you have very old hardware
 163  162   * that does not know how to correctly handle modem control
 164  163   * Some old pdp/11 hardware such as dk, dl
 165  164   * If you define this, and have DH devices for direct lines,
 166  165   * the ports will often hang and be unusable.
 167  166  */
 168  167  /*#define NO_MODEM_CTRL */
 169  168  
↓ open down ↓ 55 lines elided ↑ open up ↑
 225  224  /* define LIMITS to be the name of a file which contains information
 226  225   * about the number of simultaneous uucicos,uuxqts, and uuscheds
 227  226   * that are allowed to run. If it is not defined, then there may be
 228  227   * "many" uucicos, uuxqts, and uuscheds running.
 229  228   */
 230  229  #define LIMITS          "/etc/uucp/Limits"              /* */
 231  230  
 232  231  /* define USRSPOOLLOCKS if you like your lock files in /var/spool/locks
 233  232   * be sure other programs such as 'cu' and 'ct' know about this
 234  233   *
 235      - * WARNING: if you do not define USRSPOOLLOCKS, then $LOCK in 
      234 + * WARNING: if you do not define USRSPOOLLOCKS, then $LOCK in
 236  235   * uudemon.cleanup must be changed.
 237  236   */
 238  237  #define USRSPOOLLOCKS  /* define to use /var/spool/locks for LCK files */
 239  238  
 240  239  /* define PKSPEEDUP if you want to try the recommended speedup in pkcget.
 241  240   * this entails sleeping between reads at low baud rates.
 242  241   */
 243  242  #define PKSPEEDUP       /* */
      243 +
      244 +#endif /* !_PARMS_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX