[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Has anyone compared ncurses against the two Solaris 8 curses librari
Re: Has anyone compared ncurses against the two Solaris 8 curses libraries?
Sun, 24 Sep 2000 13:54:56 -0500
In the last episode (Sep 22), Larry W. Virden said:
> I'm wondering if anyone has did an analysis of the curses that comes
> with Solaris 8, comparing it to ncurses. In the past, we've always
> linked against -lcurses on Solaris for our 'production' code.
> However, as we begin looking at moving to Solaris 8, I get this
> question from one of my developers:
> Okay, I'll bite. Which libcurses should we link against for Solaris 8?
> -rw-r--r-- 3 root bin 765864 Jan 5 2000 /usr/lib/libcurses.a
> lrwxrwxrwx 1 root other 16 Jun 22 12:40 /usr/lib/libcurses.so ->
> -rwxr-xr-x 1 root bin 463544 Jan 5 2000 /usr/lib/libcurses.so.1
> -rw-r--r-- 1 root bin 91832 Jan 5 2000 /usr/ucblib/libcurses.a
> lrwxrwxrwx 1 root other 16 Jun 22 12:35 /usr/ucblib/libcurses.so ->
> -rwxr-xr-x 1 root bin 66312 Jan 5 2000 /usr/ucblib/libcurses.so.1
> The /usr/lib version is more than 8 times the size of the /usr/ucblib
> version. Does it do something new and miraculous?
I would guess that /usr/ubclib/ holds the BSD curses library and
/usr/lib holds the SYSV curses library. The stock BSD library is
pretty minimal. Ncurses tries to emulate SYSV curses, so if you're
doing comparative testing, use /usr/lib.