Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: netbsd_3
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (25 sloc) 0.377 kB
#!/bin/sh
t1="p q r s t u v w x y z P Q R S T"
t2a="0 1 2 3 4 5 6 7 8 9 a b c d e f"
t2b="g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
mkpty()
{
echo "tty$1$2 none network"
}
cat "$@"
cat << _EOF
#
# Pseudo-ttys
#
_EOF
for x in a b
do
eval w=\$t2$x
for i in $t1
do
for j in $w
do
mkpty $i $j
done
done
done
Jump to Line
Something went wrong with that request. Please try again.