Article View: net.lang.c
Article #9710terminfo and curses
From: Stuart D. Gathman
Date: Tue, 04 Nov 1986 04:37
Date: Tue, 04 Nov 1986 04:37
36 lines
1594 bytes
1594 bytes
We have been using Berkely curses and termcap on an otherwise SysV 6350
from Motorola. We now have to work with a SysV 8000 which has the
"new and improved" curses and terminfo from AT&T.
We have gotten used to having to "compile" the terminal types.
We realize why the capability names are fixed (standardization).
BUT,
A 30K curses program on the 6350 is 60K on the 8000.
A non-curses program on the 8000 is typically 25%
smaller than the identical C code on the 6350
because of optimization.
We cannot use MINI_CURSES because it doesn't support
getxy() and inch(). We don't need attributes, but
if I can't read the screen, I have to keep my own copy! :-(
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!
BTW,
We also ran curses/terminfo on a Motorola 290 with the
same results.
Is this true for curses/terminfo everywhere else?
--
Stuart D. Gathman <..!seismo!{vrdxhq|dgis}!BMS-AT!stuart>
Technical Details
Message-ID:
<257@BMS-AT.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!vrdxhq!BMS-AT!stuartShow 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!vrdxhq!BMS-AT!stuart From: stuart@BMS-AT.UUCP (Stuart D. Gathman) Newsgroups: net.lang.c,net.unix-wizards Subject: terminfo and curses Message-ID: <257@BMS-AT.UUCP> Date: Mon, 3-Nov-86 23:37:52 EST Article-I.D.: BMS-AT.257 Posted: Mon Nov 3 23:37:52 1986 Date-Received: Tue, 4-Nov-86 10:21:27 EST Organization: Business Management Systems, Inc., Fairfax, VA Lines: 36 Keywords: small?