Help opening a terminal

michael at maui.cs.ucla.edu michael at maui.cs.ucla.edu
Tue Dec 27 13:22:46 AEST 1988


I am having trouble opening a terminal (machine: 3b1, os: S5 R2,
version 3.51a). I cannot get this to work

extern int errno;
main()
{
	int fd;
	fd = open ("/dev/tty000", 2);
	perror();
	printf ("%d %d\n", fd, errno);
}

The result of this is error 19, no such device. My system has /dev/tty000
as major #0, minor #0.
			Michael



More information about the Comp.unix.questions mailing list