🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #6607

Getting status of tty devices on a Sun ALM card

#6607
From: Sean Sheridan Coleman X5672
Date: Mon, 21 Jan 1991 03:36
18 lines
1263 bytes
I am writing a program that uses the ALM ports on the Sun (running 4.1.1)
to gather data from a RS232 inhouse network. I want my program to be able
to detect two things about the terminal device it has chosen to open to do
the monitoring. 

1) Be able to determine if it is an in-coming port, ie has a getty
   process connected to it.

2) Be able to determine if the port is already in use by some other
   program that is doing terminal i/o (ie: kermit)

I have been trying to figure out if there are are ioctl programs that can
be of some use to do the above?  I am not interested in semaphores because
not all programs will use the same semaphores.

Thanks
Sean Coleman
coleman@bldrdoc.gov
Technical Details
Message-ID: <1353@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: coleman@cam.nist.gov (Sean Sheridan Coleman X5672)
Newsgroups: comp.sys.sun
Subject: Getting status of tty devices on a Sun ALM card
Keywords: Miscellaneous
Message-ID: <1353@brchh104.bnr.ca>
Date: 21 Jan 91 03:36:35 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 18
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 10, Issue 24, message 19
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu