🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9762

Re: terminfo and curses

#9762
From: Guy Harris
Date: Sat, 08 Nov 1986 08:07
33 lines
2112 bytes
> I thought the new curses was supposed to "nifty", "small" and "fast"?
> 
> "nifty" is a matter of taste.
> 
> "small" is a lie.
> 
> "fast"?  It might possibly use less CPU, but it takes twice as long
> to load the programs!
> ...
> Is this true for curses/terminfo everywhere else?

I tried building the 4.3BSD "mille" game with both old and new "curses", and
the new "curses" version was about 30K bigger.  Comparing the
"termcap"-based "ex" version 3.7 with the "terminfo"-based "ex" version 3.9,
the "terminfo"-based version is about 9K bigger, so most of the 30KB
increase is probably due to curses.  CAVEAT:  Under SunOS 3.x, program text
and data sizes tend to get rounded up to 8KB boundaries, so there are rather
large error bars around these numbers.

Note, however, that the version of "curses" that was described as "fast and
small" was the System V, Release 3.1 version.  The version I used above was
the System V, Release 2 version.  The version that you have might possibly
be the S5R3 version, almost certainly isn't the S5R3.1 version (somebody
else may be able to change that "almost certainly" to "certainly" - I don't
think S5R3.1 is released yet); the odds are that it is the S5R2 version.  I
infer from what Hansen said that the S5R3.1 version is much changed from the
older S5R2 version (I know there are a number of changes between the S5R2
and S5R3 versions).  As such, you should wait until you see the S5R3.1
version before you argue with Hansen's claim that it's "fast and small".
-- 
	Guy Harris
	{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
	guy@sun.com (or guy@sun.arpa)
Technical Details
Message-ID: <9067@sun.uucp>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!decwrl!sun!guy
References: <257@BMS-AT.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!decwrl!sun!guy
From: guy@sun.uucp (Guy Harris)
Newsgroups: net.lang.c,net.unix-wizards
Subject: Re: terminfo and curses
Message-ID: <9067@sun.uucp>
Date: Sat, 8-Nov-86 03:07:44 EST
Article-I.D.: sun.9067
Posted: Sat Nov  8 03:07:44 1986
Date-Received: Sun, 9-Nov-86 03:43:42 EST
References: <257@BMS-AT.UUCP>
Organization: Sun Microsystems, Inc.
Lines: 33