Article View: comp.unix.programmer
Article #1301Re: Reading termcap database other than termcap
From: Horst Laumer
Date: Thu, 29 Nov 1990 00:42
Date: Thu, 29 Nov 1990 00:42
25 lines
1693 bytes
1693 bytes
mjr@hussar.dco.dec.com (Marcus J. Ranum) writes: > I have a hacked up copy of the printcap code from the BSD 'lpr' >command that implements a "caplib" library - generic "termcap" capabilities. >It differs from the "standard" termcap in that it wants to know the sizes >of the buffers passed to it, and checks for overflow. It also doesn't >support the egregious tc= kludge. There's no support for grabbing the >entry out of the environment, but that shouldn't be very hard at all. >[the way BSD does that also is a kludge - getting it out of the environment >or not should be done at a higher level than in capgetent(), IE: if there >is no XXXXCAP in the environment, *then* it uses capgetent(), etc] > If anyone wants a copy, let me know. I would be very interested in a copy. BTW, wouldn't it be good posting it ? (Rich Salz and c.s.u., ok, ok) thanks ahead hl -- ============================================================================ Horst Laumer, Kantstrasse 107, D-1000 Berlin 12 ! Bang-Adress: Domain: hotte@sunrise.in-berlin.de ! Junk-Food for Autorouters Bang: ...unido!fub!geminix!sunrise!hotte ! -- me --
Technical Details
Message-ID:
<8XRLK0H@sunrise.in-berlin.de>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!unido!opal!tmpmbx!utopia!sunrise!hotteReferences:
<WAYNE.90Nov26180444@forchammer.cs.odu.edu> <1990Nov27.145614.24112@decuac.dec.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!unido!opal!tmpmbx!utopia!sunrise!hotte From: hotte@sunrise.in-berlin.de (Horst Laumer) Newsgroups: comp.unix.programmer Subject: Re: Reading termcap database other than termcap Message-ID: <8XRLK0H@sunrise.in-berlin.de> Date: 29 Nov 90 00:42:12 GMT References: <WAYNE.90Nov26180444@forchammer.cs.odu.edu> <1990Nov27.145614.24112@decuac.dec.com> Organization: HL EDV-Beratung Lines: 25