Thread View: uk.general
1 messages
1 total messages
Started by Dave Settle
Thu, 14 Jun 1990 11:38
Finding the tty structure under UNISYS V.3 UNIX
Author: Dave Settle
Date: Thu, 14 Jun 1990 11:38
Date: Thu, 14 Jun 1990 11:38
34 lines
1722 bytes
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]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads