Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!decvax!mcnc!ncsu!uvacs!iedl02!ebk
From: ebk@iedl02.UUCP
Newsgroups: net.unix-wizards,net.unix
Subject: Re: dedicated tty lines
Message-ID: <1669@iedl02.UUCP>
Date: Mon, 13-Feb-84 06:51:57 EST
Article-I.D.: iedl02.1669
Posted: Mon Feb 13 06:51:57 1984
Date-Received: Fri, 17-Feb-84 05:39:01 EST
Lines: 15

The easiest way to have a dedicated tty line is this:
	mknod /dev/printer c 22 1
	chmod a=w /dev/printer
	mknod /dev/tty01 c 22 1

in /etc/ttys:
	2Ltty01
where L is a special entry in getty that sets up the speed and things the way
you want, and has a null login prompt. (It also helps to not write the
system banner if flag = 'L'.) Then the line is always set to the right speed,
and even though the tty01 node is not writable, the other node with the same
device number never gets touched!

				John Owens
				duke!ncsu!mcnc!uvacs!icase!oducs1!owens_j