🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2248

Re: Patch (really enhancement) for `screen' V 2.0a (of 19-Oct-88)

#2248
From: Oliver Laumann
Date: Fri, 26 May 1989 12:41
24 lines
1538 bytes
In article <459@mahendo.Jpl.Nasa.Gov> earle@mahendo.JPL.NASA.GOV writes:
> The bonus patch at the end corrects what I believe was a typo - all of the
> pty's were allocated from ttyq0 on up instead of looking for the (usual case
> of) next free ttypX (assuming the normal case where the ttyp[0-f] pty's are
> not all allocated already).

This isn't a typo.  The reasons for the "qpr" search order were:

  1)  Certain implementations of telnet only allocate "p" ptys and
      therefore complain when all "p" ptys are used up by screen.

  2)  On many systems the "p" ptys are usually all in use (e.g.
      when the system is primarily accessed over terminal servers),
      so that the first free pty is (at least) a "q" pty anyway.
      Since "r" ptys are not always there, it seemed that the
      "qpr" search order would yield the highest "hit rate".

Anyway, since this is installation dependent, the seach order should
probably be configurable from the Makefile.

Regards,
--
    Oliver Laumann, Technical University of Berlin, Germany.
    ...!pyramid!tub!net   or   net@TUB.BITNET
Technical Details
Message-ID: <849@tub.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!unido!tub!net
References: <459@mahendo.Jpl.Nasa.Gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!unido!tub!net
From: net@tub.UUCP (Oliver Laumann)
Newsgroups: comp.sources.bugs
Subject: Re: Patch (really enhancement) for `screen' V 2.0a (of 19-Oct-88)
Keywords: screen  V2.0a
Message-ID: <849@tub.UUCP>
Date: 26 May 89 12:41:51 GMT
References: <459@mahendo.Jpl.Nasa.Gov>
Reply-To: net@tub.UUCP (Oliver Laumann)
Organization: Technical University of Berlin, Germany
Lines: 24