Pipes like tty's ?

Dan Ts'o dan at rna.UUCP
Tue Feb 11 15:35:28 AEST 1986


x
	I have a program which insists on having a tty as its standard input.
It is a commercial, binary-only program, so I can't tell you why, but presumably
it is doing stty's or something. I want to drive it from a prepared script.
Any ideas ?
	Seems to me one could write a program which builds a pseudo-tty between
itself and the binary program in the manner of a pipe and feed it from a file
or whatever. However this is probably a bit of work. Anyone written such a
thing ? Any other ideas ?
	Using 4.2BSD script does not work, but perhaps it could be hacked to
work...


					Cheers,
					Dan Ts'o
					Dept. Neurobiology
					Rockefeller Univ.
					1230 York Ave.
					NY, NY 10021
					212-570-7671
					...cmcl2!rna!dan
					rna!dan at cmcl2.arpa



More information about the Comp.unix.wizards mailing list