From 1793a338f5c2c7929e0dd6f980e102384cf60aad Mon Sep 17 00:00:00 2001 From: Dug Song Date: Thu, 19 Nov 1998 08:19:00 +0000 Subject: add support for more ptys --- etc/etc.wgrisc/MAKEDEV | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'etc/etc.wgrisc') diff --git a/etc/etc.wgrisc/MAKEDEV b/etc/etc.wgrisc/MAKEDEV index c7c026d6f80..24c3654d406 100644 --- a/etc/etc.wgrisc/MAKEDEV +++ b/etc/etc.wgrisc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.6 1997/09/16 06:01:05 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.7 1998/11/19 08:18:58 dugsong Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -228,10 +228,21 @@ pty*) 3) offset=48 name=s;; # Note that telnetd, rlogind, and xterm (at least) only look at p-s. 4) offset=64 name=t;; + 5) offset=80 name=u;; + 6) offset=96 name=v;; + 7) offset=112 name=w;; + 8) offset=128 name=x;; + 9) offset=144 name=y;; + 10) offset=160 name=z;; + 11) offset=176 name=P;; + 12) offset=192 name=Q;; + 13) offset=208 name=R;; + 14) offset=224 name=S;; + 15) offset=240 name=T;; *) echo bad unit for pty in: $i;; esac case $class in - 0|1|2|3|4) + 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15) umask 0 eval `echo $offset $name | awk ' { b=$1; n=$2 } END { for (i = 0; i < 16; i++) -- cgit v1.2.3