xref: /openbsd/etc/ttys.pty (revision 3919354b)
1*3919354bSokan#! /bin/sh
2*3919354bSokan#
3*3919354bSokan# $OpenBSD: ttys.pty,v 1.6 2014/07/16 14:34:33 okan Exp $
44bdc4e45Sdrahn#
54bdc4e45Sdrahn# Copyright (c) 2004 Dale Rahn <drahn@openbsd.org>
64bdc4e45Sdrahn#
74bdc4e45Sdrahn# Permission to use, copy, modify, and distribute this software for any
84bdc4e45Sdrahn# purpose with or without fee is hereby granted, provided that the above
94bdc4e45Sdrahn# copyright notice and this permission notice appear in all copies.
104bdc4e45Sdrahn#
114bdc4e45Sdrahn# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
124bdc4e45Sdrahn# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
134bdc4e45Sdrahn# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
144bdc4e45Sdrahn# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
154bdc4e45Sdrahn# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
164bdc4e45Sdrahn# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
174bdc4e45Sdrahn# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
184bdc4e45Sdrahn
194bdc4e45Sdrahnletters="p q r s t u v w x y z P Q R S T"
204bdc4e45Sdrahnsuffixes="0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q \
214bdc4e45Sdrahn    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"
224bdc4e45Sdrahn
2330d2008dSderaadtfor i in ${letters}; do
2430d2008dSderaadt    for j in ${suffixes}; do
254bdc4e45Sdrahn	echo "tty${i}${j}	none				network"
264bdc4e45Sdrahn    done
274bdc4e45Sdrahndone
28