🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uk.general
Article #3

Finding the tty structure under UNISYS V.3 UNIX

#3
From: Dave Settle
Date: Thu, 14 Jun 1990 11:38
34 lines
1722 bytes
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@ucms.co.uk	 (someday)		uunet.uu.net!mcvax!ukc!nott-cs!ucms!dave
dave@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]
Technical Details
Message-ID: <12@ucms.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!keele!nott-cs!ucms!dave

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!keele!nott-cs!ucms!dave
From: dave@ucms.UUCP (Dave Settle)
Newsgroups: uk.general,comp.unix.wizards
Subject: Finding the tty structure under UNISYS V.3 UNIX
Keywords: tty
Message-ID: <12@ucms.UUCP>
Date: 14 Jun 90 11:38:17 GMT
Reply-To: dave@ucms.UUCP (Dave Settle)
Organization: Universal (CMS) Ltd, Thames Tower, Burleys Way, Leicester
Lines: 34