home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!auspex-gw!guy
- From: guy@Auspex.COM (Guy Harris)
- Newsgroups: comp.unix.misc
- Subject: Re: curses *sigh* Sparc, SunOS 4.1.1
- Message-ID: <13834@auspex-gw.auspex.com>
- Date: 30 Jul 92 21:28:40 GMT
- References: <eble.712503602@fidji>
- Sender: news@auspex-gw.auspex.com
- Organization: Auspex Systems, Santa Clara
- Lines: 25
- Nntp-Posting-Host: bootme.auspex.com
-
- >Since we wanted to use curses, we tried... and failed. The manpage
- >says that in curses.h are the defines for ACS_HLINE and ACS_VLINE,
- >but there really aren't any of that defines.
- >
- >Any help?
-
- Yup. Try using the right version of "curses". :-)
-
- SunOS 4.x has both the BSD and the SV (SVR3.1, to be specific) "curses".
- This occasionally causes some confusion, as the SV "curses" has a lot
- more stuff in it than the BSD "curses", and people may try doing things
- that expect the SV "curses" stuff, but not realize that they have to
- build with the SV "curses" to get that stuff.
-
- If you compile with "/usr/5bin/cc", rather than "/usr/bin/cc" - or if
- you compile with some other C compiler, and use "-I/usr/5include" and
- "-L/usr/5lib" flags - you should get the SV "curses". You should also
- get other SV-compatibility stuff, so if you're expecting BSDish
- semantics for calls, don't.
-
- Unfortunately, it appears somebody at Sun screwed up, because in both a
- SunOS 4.0.3 machine here and a SunOS 4.1.1 machine here, there aren't
- both BSD and SV "curses" *man pages*; that probably contributes quite a
- bit to the confusion, as if you do "man curses", or even "man 3x
- curses", you get the SV "curses" man page.
-