dedicated tty lines

ebk at iedl02.UUCP ebk at iedl02.UUCP
Mon Feb 13 21:51:57 AEST 1984


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



More information about the Comp.unix mailing list