summaryrefslogtreecommitdiff
path: root/etc/etc.wgrisc
diff options
context:
space:
mode:
authorDug Song <dugsong@cvs.openbsd.org>1998-11-19 08:19:00 +0000
committerDug Song <dugsong@cvs.openbsd.org>1998-11-19 08:19:00 +0000
commit1793a338f5c2c7929e0dd6f980e102384cf60aad (patch)
tree04acd184a591ab86efc9bc959041eec761f09d64 /etc/etc.wgrisc
parent04e116ff50f2005ae92cb5151af4c10bebbf645e (diff)
add support for more ptys
Diffstat (limited to 'etc/etc.wgrisc')
-rw-r--r--etc/etc.wgrisc/MAKEDEV15
1 files changed, 13 insertions, 2 deletions
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++)