🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #581

Re: TCP/IP, telnet and the RT...

#581
From: Nicholas J. Simicich
Date: Sun, 19 Nov 1989 21:31
26 lines
1626 bytes
In article <6706@portia.Stanford.EDU> karish@forel.stanford.edu (Chuck Karish) writes:

>I don't know precisely how this all works.  AIX/RT doesn't run a getty
>for each pty.  It seems to keep a pool of gettys available, and inetd
>associates them with ptys as requested.

Not as far as I know.  The gettys are actually started on the ptys
which have ae enabled.  I've written a program which depends on this
behavior, and it seems to work.  There is a pool of ptys, not a pool
of gettys.

>The documentation for
>setting up TCP/IP told me to make some ptys with ae set and some
>without, so I did it and it worked.  It said that it used separate
>ptys for the different streams FTP uses (2.1.1 doc).

I somehow don't think that this is actually true.  You can determine
exactly what processes have a device open with

for a in `fuser /dev/ptc0`;do ps -p $a;done
for a in `fuser /dev/pts0`;do ps -p $a;done

Thus, it would be possible to do a ftp and cycle through all of your
ptys, and determine if ftp was actually using any of them.
-- 
Nick Simicich --- uunet!bywater!scifi!njs --- njs@ibm.com (Internet)
Technical Details
Message-ID: <930@scifi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bywater!scifi!njs
References: <16994@uhnix1.uh.edu> <605@ursa-major.SPDCC.COM> <6680@portia.Stanford.EDU> <610@ursa-major.SPDCC.COM> <6706@portia.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bywater!scifi!njs
From: njs@scifi.UUCP (Nicholas J. Simicich)
Newsgroups: comp.sys.ibm.pc.rt
Subject: Re: TCP/IP, telnet and the RT...
Message-ID: <930@scifi.UUCP>
Date: 19 Nov 89 21:31:14 GMT
References: <16994@uhnix1.uh.edu> <605@ursa-major.SPDCC.COM> <6680@portia.Stanford.EDU> <610@ursa-major.SPDCC.COM> <6706@portia.Stanford.EDU>
Reply-To: njs@scifi.UUCP (Nicholas J. Simicich)
Distribution: na
Organization: Nick Simicich, Peekskill, NY
Lines: 26