🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #20

Bug with Screen 3.2a/termcap 1.1

#20
From: Jason Merrill
Date: Thu, 29 Oct 1992 02:43
23 lines
1730 bytes
I built Screen 3.2a with the GNU termcap library version 1.1 so I could use
a termcap entry of arbitrary length (the vt320 entry I've written overruns
the system library).  However, I immediately started noticing a strange
problem I hadn't had with v3.2 linked with the system libtermcap.a; at
first it would work fine, but after I had been using the screen for a
couple of days it would tell me that there were no pty's available.  If I
detatched the screen at that point, it would give me the error that it
could not write /etc/utmp as it exited.  When I then resumed, it said it
was unable to find the termcap entry for my terminal.

Using lsof 1.0 to look at the file descriptor table for the server process,
I saw that on first run, and each subsequent resume of that screen session,
the program would open two more links to /etc/termcap.  This overran the
file descriptor table rather rapidly, the way I use screen.

Unfortunately, I can't step through the program to find where the problem
occurs; gdb follows the client when screen forks, and gdb doesn't support
attach/detach on the Sequent Symmetry.

Anyone else had this problem?

--
Jason Merrill
Technical Details
Message-ID: <1992Oct29.024325.12633@muddcs.claremont.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!jarthur.claremont.edu!jason

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!jarthur.claremont.edu!jason
From: jason@jarthur.claremont.edu (Jason Merrill)
Newsgroups: gnu.utils.bug
Subject: Bug with Screen 3.2a/termcap 1.1
Message-ID: <1992Oct29.024325.12633@muddcs.claremont.edu>
Date: 29 Oct 92 02:43:25 GMT
Article-I.D.: muddcs.1992Oct29.024325.12633
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: Harvey Mudd College, Claremont, CA 91711
Lines: 23
Approved: bug-gnu-utils@prep.ai.mit.edu