🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #1348

Re: sysline(1) does not use environment TERMCAP

#1348
From: Guy Harris
Date: Mon, 20 Feb 1989 18:39
19 lines
1492 bytes
>Find a terminal whose /etc/termcap description does not have ds, es, or
>fs. Set your TERMCAP variable to be the standard termcap for that
>terminal, plus any ds, es, and fs strings. Observe that sysline does
>not recognize the environment TERMCAP.

It worked for me when I compiled the "sysline" from the 4.3BSD source
(making minor changes as necessary, none of which had anything to do
with the "termcap" code) and set TERMCAP to the standard "sun" entry
plus the stuff from the "sun-s" entry.

>Not having sysline source, I have so far been content to write my own
>code to use the terminal status line. I suspect that termcap is used in
>sysline without using the termcap(3) routines.

Nope - at least not in the 4.3BSD version; it uses the standard
"termcap" routines to fetch them.  Maybe the versions you worked with
either 1) were built against a broken version of the "termcap" library
that fails to recognize TERMCAP or 2) were older versions that didn't
use the "termcap" library?
Technical Details
Message-ID: <1050@auspex.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!auspex!guy
References: <6497@phoenix.Princeton.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!auspex!guy
From: guy@auspex.UUCP (Guy Harris)
Newsgroups: comp.bugs.4bsd
Subject: Re: sysline(1) does not use environment TERMCAP
Keywords: sysline, TERM, TERMCAP
Message-ID: <1050@auspex.UUCP>
Date: 20 Feb 89 18:39:23 GMT
References: <6497@phoenix.Princeton.EDU>
Reply-To: guy@auspex.UUCP (Guy Harris)
Distribution: usa
Organization: Auspex Systems, Santa Clara
Lines: 19