Finding the tty structure under UNISYS V.3 UNIX

Dave Settle dave at ucms.UUCP
Thu Jun 14 21:38:17 AEST 1990


I have just received the new release of UNIX V.3 from UNISYS (3.00.11.14,
they call it), which is a version of V.3.2 UNIX. I need to know how to get
at the tty structure in the kernel.

Unfortunately for me, the kernel hash a problem with the tty driver, so that I
can't open a tty port if the carrier is not present, even if I use O_NDELAY
in the open call.
	i.e.
		open("/dev/tty300", O_RDWR | O_NDELAY)
hangs if carrier not present.

There is also a further bug, in that ports connected to modems become 
inaccessible after a time, as the 'open' call will hang IRRESPECTIVE of
carrier status.

Since UNISYS in the UK don't seem to have any clues about what causes this,
I thought that I'd try to look in the tty structure in the kernel, to see
if I could find out what was going on ....

The problem is that I can't find the address of the tty table: there
doesn't seem to be a relevant address in the kernel name list.

Any information would be welcome.

Cheers,
	Dave

--
Dave Settle, Universal (CMS) Ltd, Thames Tower, Burleys Way, Leicester, UK.
dave at ucms.co.uk	 (someday)		uunet.uu.net!mcvax!ukc!nott-cs!ucms!dave
dave at ucms.uucp 	  (today)

To see a World in a grain of Sand / And a Heaven in a Wild Flower,
Hold Infinity in the palm of your hand / And Eternity in an hour.    [Blake]



More information about the Comp.unix.wizards mailing list