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


   6  * (the "License").  You may not use this file except in compliance
   7  * with the License.
   8  *
   9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10  * or http://www.opensolaris.org/os/licensing.
  11  * See the License for the specific language governing permissions
  12  * and limitations under the License.
  13  *
  14  * When distributing Covered Code, include this CDDL HEADER in each
  15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16  * If applicable, add the following below this CDDL HEADER, with the
  17  * fields enclosed by brackets "[]" replaced with your own identifying
  18  * information: Portions Copyright [yyyy] [name of copyright owner]
  19  *
  20  * CDDL HEADER END
  21  */
  22 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  23 /*        All Rights Reserved   */
  24 
  25 
  26 #ident  "%Z%%M% %I%     %E% SMI"        /* SVr4.0 1.3   */

  27 
  28 
  29 
  30 /* If running SVR3, #define both ATTSVR3 and ATTSV */
  31 #define ATTSVR3 /* System V Release 3 */
  32 
  33 /* One of the following four lines should not be commented out.
  34  * The other three should be unless you are running a unique hybrid.
  35  */
  36 
  37 #define ATTSV   /* System III or System V */
  38 /* #define      V7 */   /* Version 7 systems (32V, Berkeley 4BSD, 4.1BSD) */
  39 /* #define      BSD4_2 */       /* Berkeley 4.2BSD */
  40 /* #define      V8 */   /* Research Eighth Edition */
  41 
  42 /* Owner of setud files running on behalf of uucp.  Needed in case
  43  * root runs uucp and euid is not honored by kernel.
  44  * GID is needed for some chown() calls.
  45  * Also used if guinfo() cannot find the current users ID in the
  46  * password file.
  47  */
  48 #define UUCPUID         (uid_t) 5       /* */
  49 #define UUCPGID         (gid_t) 5       /* */


 138  */
 139 
 140 #ifdef DATAKIT          /* Should include D protocol for Datakit. */
 141 #define D_PROTOCOL
 142 #endif /* DATAKIT */
 143 
 144 #if defined TCP || defined UNET || defined TLI || defined DATAKIT
 145 #define E_PROTOCOL      /* Include e protocol. */
 146 #endif  /* TCP || UNET || TLI || DATAKIT */
 147 
 148 /* #define X_PROTOCOL */ /* define X_PROTOCOL to use the xio protocol */
 149 #define X_PROTOCOL /* aeh - to check compilation */
 150 
 151 #define MAXCALLTRIES    2       /* maximum call attempts per Systems file line */
 152 
 153 /* define DEFAULT_BAUDRATE to be the baud rate you want to use when both */
 154 /* Systems file and Devices file allow Any */
 155 #define DEFAULT_BAUDRATE "9600" /* */
 156 
 157 /*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 */
 160 #define R_DEVICEMODE (mode_t) 0600      /* default mode to restore */
 161 
 162 /* NO_MODEM_CTRL - define this if you have very old hardware
 163  * that does not know how to correctly handle modem control
 164  * Some old pdp/11 hardware such as dk, dl
 165  * If you define this, and have DH devices for direct lines,
 166  * the ports will often hang and be unusable.
 167 */
 168 /*#define NO_MODEM_CTRL */
 169 
 170 
 171 /* UUSTAT_TBL - this is the maximum number of machines that
 172  * status may be needed at any instant.
 173  * If you are not concerned with memory for a seldom used program,
 174  * make it very large.
 175  * This number is also used in uusched for its machine table -- it has
 176  * the same properties as the one in uustat.
 177  */
 178 
 179 /* #define UUSTAT_TBL 1000 */           /* big machine with lots of traffic */


 224 
 225 /* define LIMITS to be the name of a file which contains information
 226  * about the number of simultaneous uucicos,uuxqts, and uuscheds
 227  * that are allowed to run. If it is not defined, then there may be
 228  * "many" uucicos, uuxqts, and uuscheds running.
 229  */
 230 #define LIMITS          "/etc/uucp/Limits"              /* */
 231 
 232 /* define USRSPOOLLOCKS if you like your lock files in /var/spool/locks
 233  * be sure other programs such as 'cu' and 'ct' know about this
 234  *
 235  * WARNING: if you do not define USRSPOOLLOCKS, then $LOCK in 
 236  * uudemon.cleanup must be changed.
 237  */
 238 #define USRSPOOLLOCKS  /* define to use /var/spool/locks for LCK files */
 239 
 240 /* define PKSPEEDUP if you want to try the recommended speedup in pkcget.
 241  * this entails sleeping between reads at low baud rates.
 242  */
 243 #define PKSPEEDUP       /* */




   6  * (the "License").  You may not use this file except in compliance
   7  * with the License.
   8  *
   9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10  * or http://www.opensolaris.org/os/licensing.
  11  * See the License for the specific language governing permissions
  12  * and limitations under the License.
  13  *
  14  * When distributing Covered Code, include this CDDL HEADER in each
  15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16  * If applicable, add the following below this CDDL HEADER, with the
  17  * fields enclosed by brackets "[]" replaced with your own identifying
  18  * information: Portions Copyright [yyyy] [name of copyright owner]
  19  *
  20  * CDDL HEADER END
  21  */
  22 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  23 /*        All Rights Reserved */
  24 
  25 
  26 #ifndef _PARMS_H
  27 #define _PARMS_H
  28 


  29 /* If running SVR3, #define both ATTSVR3 and ATTSV */
  30 #define ATTSVR3 /* System V Release 3 */
  31 
  32 /* One of the following four lines should not be commented out.
  33  * The other three should be unless you are running a unique hybrid.
  34  */
  35 
  36 #define ATTSV   /* System III or System V */
  37 /* #define      V7 */   /* Version 7 systems (32V, Berkeley 4BSD, 4.1BSD) */
  38 /* #define      BSD4_2 */       /* Berkeley 4.2BSD */
  39 /* #define      V8 */   /* Research Eighth Edition */
  40 
  41 /* Owner of setud files running on behalf of uucp.  Needed in case
  42  * root runs uucp and euid is not honored by kernel.
  43  * GID is needed for some chown() calls.
  44  * Also used if guinfo() cannot find the current users ID in the
  45  * password file.
  46  */
  47 #define UUCPUID         (uid_t) 5       /* */
  48 #define UUCPGID         (gid_t) 5       /* */


 137  */
 138 
 139 #ifdef DATAKIT          /* Should include D protocol for Datakit. */
 140 #define D_PROTOCOL
 141 #endif /* DATAKIT */
 142 
 143 #if defined TCP || defined UNET || defined TLI || defined DATAKIT
 144 #define E_PROTOCOL      /* Include e protocol. */
 145 #endif  /* TCP || UNET || TLI || DATAKIT */
 146 
 147 /* #define X_PROTOCOL */ /* define X_PROTOCOL to use the xio protocol */
 148 #define X_PROTOCOL /* aeh - to check compilation */
 149 
 150 #define MAXCALLTRIES    2       /* maximum call attempts per Systems file line */
 151 
 152 /* define DEFAULT_BAUDRATE to be the baud rate you want to use when both */
 153 /* Systems file and Devices file allow Any */
 154 #define DEFAULT_BAUDRATE "9600" /* */
 155 
 156 /*define permission modes for the device */
 157 #define M_DEVICEMODE (mode_t) 0600      /* manager device mode */
 158 #define S_DEVICEMODE (mode_t) 0600      /* subsidiary device mode */
 159 #define R_DEVICEMODE (mode_t) 0600      /* default mode to restore */
 160 
 161 /* NO_MODEM_CTRL - define this if you have very old hardware
 162  * that does not know how to correctly handle modem control
 163  * Some old pdp/11 hardware such as dk, dl
 164  * If you define this, and have DH devices for direct lines,
 165  * the ports will often hang and be unusable.
 166 */
 167 /*#define NO_MODEM_CTRL */
 168 
 169 
 170 /* UUSTAT_TBL - this is the maximum number of machines that
 171  * status may be needed at any instant.
 172  * If you are not concerned with memory for a seldom used program,
 173  * make it very large.
 174  * This number is also used in uusched for its machine table -- it has
 175  * the same properties as the one in uustat.
 176  */
 177 
 178 /* #define UUSTAT_TBL 1000 */           /* big machine with lots of traffic */


 223 
 224 /* define LIMITS to be the name of a file which contains information
 225  * about the number of simultaneous uucicos,uuxqts, and uuscheds
 226  * that are allowed to run. If it is not defined, then there may be
 227  * "many" uucicos, uuxqts, and uuscheds running.
 228  */
 229 #define LIMITS          "/etc/uucp/Limits"              /* */
 230 
 231 /* define USRSPOOLLOCKS if you like your lock files in /var/spool/locks
 232  * be sure other programs such as 'cu' and 'ct' know about this
 233  *
 234  * WARNING: if you do not define USRSPOOLLOCKS, then $LOCK in
 235  * uudemon.cleanup must be changed.
 236  */
 237 #define USRSPOOLLOCKS  /* define to use /var/spool/locks for LCK files */
 238 
 239 /* define PKSPEEDUP if you want to try the recommended speedup in pkcget.
 240  * this entails sleeping between reads at low baud rates.
 241  */
 242 #define PKSPEEDUP       /* */
 243 
 244 #endif /* !_PARMS_H */