[comp.unix.ultrix] System V Curses

jls2@spdcc.COM (Jeff Stoner) (08/30/90)

We are working with both DECstation 3100's and Sun Sparc-1's running Ultrix
2.2UWS and SunOS 4.0.3c, respectively, on an application program that uses
CURSES for screen manipulation.

On the Sun, we discovered a second implementation of CURSES that includes
something called the "Alternate Character Set" for doing VT100 line draw
characters. A couple examples of characters are ACS_HLINE and ACS_VLINE
from the file /usr/5include/curses.h (the library is /usr/5lib/libcurses.a).
This is labelled as "System V curses".

This library nicely solves some "ugliness" of our screen layout (pluses and
dashes become lines!) and we very much want to do the same on the 3100's.
From what I can tell of Ultrix 4.0 on a friend's 3100, it's not included there
(am upgrading to 4.0 this weekend).

Does anyone have an implementation of System V curses that includes this
"ACS" for a DECstation 3100 or know where I could get such?

Thanks!

-- 
====== Jeff L. Stoner === Boulder, Colo. ============ /\ = /\ ========== |
   Work: jls2 @ ellery.esi.com                   /\  /  \ /  /\  /\    --*--
   Home: @boulder.colorado.edu:bearhug!jls2   /\/  \/    /  /  \/  /\    |
   News: jls2 @ ursa-major.spdcc.com       /\/  \   \  /\  /    \    /\

meissner@osf.org (Michael Meissner) (08/30/90)

In article <3859@ursa-major.SPDCC.COM> jls2@spdcc.COM (Jeff Stoner)
writes:

| We are working with both DECstation 3100's and Sun Sparc-1's running Ultrix
| 2.2UWS and SunOS 4.0.3c, respectively, on an application program that uses
| CURSES for screen manipulation.
| 
| On the Sun, we discovered a second implementation of CURSES that includes
| something called the "Alternate Character Set" for doing VT100 line draw
| characters. A couple examples of characters are ACS_HLINE and ACS_VLINE
| from the file /usr/5include/curses.h (the library is /usr/5lib/libcurses.a).
| This is labelled as "System V curses".
| 
| This library nicely solves some "ugliness" of our screen layout (pluses and
| dashes become lines!) and we very much want to do the same on the 3100's.
| From what I can tell of Ultrix 4.0 on a friend's 3100, it's not included there
| (am upgrading to 4.0 this weekend).
| 
| Does anyone have an implementation of System V curses that includes this
| "ACS" for a DECstation 3100 or know where I could get such?
| 
| Thanks!

You might want to be a bit more specific than System V curses.  I
believe DEC's System V curses is frozen at the System V.2 level, while
ACS_HLINE and friends I think were introduced in System V.3.  I seem
to remember that the V.3 curses library is somewhat faster than V.2,
and has some other nifties in it.

To the best of my knowledge, DEC has not signed the System V.3 license
agreement, so they legally can't put System V.3 code into Ultrix.

In terms of System V curses.h on Ultrix, I get real annoyed that you
have to change all of your sources to use cursesX.h instead of
curses.h.  I think here the Sun solution is preferable, put the stuff
in a separate directory, which I can specify via an alternate compiler
or -I/usr/5include.
--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

Do apple growers tell their kids money doesn't grow on bushes?