LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-17-2006, 08:47 AM   #1
msgforsunil
Member
 
Registered: Jun 2006
Posts: 38

Rep: Reputation: 15
find the ncurses information in Solaris OS


How do I find the ncurses information (means the version number)in Solaris OS, if its installed on
a. Default path
b. Installed on non default path

Last edited by msgforsunil; 07-17-2006 at 10:13 AM.
 
Old 07-17-2006, 02:33 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Solaris comes with curses, which is SVR4 curses. ncurses was designed to provide SVR4 curses compatibility.

If your application has a dependency on ncurses custom extensions, you can install ncurses from the companion cd, package SUNWncur, current version is 5.5.
 
Old 07-18-2006, 01:13 AM   #3
msgforsunil
Member
 
Registered: Jun 2006
Posts: 38

Original Poster
Rep: Reputation: 15
OK. I have a machine where in somebody has installed a libncurses, then how do I go about and identify its version, if its installed on
a. Default path
b. Installed on non default path

I guess when installed on default path, it would be listed in the pkginfo command, what if if its installed on non default path?
 
Old 07-18-2006, 01:25 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
There is no default path for ncurses, as it is non standard for Solaris.
If it cames from a package, the packager is likely to have included the version number in the pkginfo file.

If it is not, it may have the version appended to one of the shared libraries files, e.g. /opt/csw/lib/libncurses.so.5.4.

If the header files are delivered, the version is also in the ncurses.h file, e.g.:
/* These are defined only in curses.h, and are used for conditional compiles */
#define NCURSES_VERSION_MAJOR 5
#define NCURSES_VERSION_MINOR 4
#define NCURSES_VERSION_PATCH 20040208
 
1 members found this post helpful.
Old 07-19-2006, 01:24 AM   #5
msgforsunil
Member
 
Registered: Jun 2006
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks, its quite useful one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NCurses won't work on Solaris 10 SPARC dinolinux Solaris / OpenSolaris 7 04-25-2006 11:29 AM
Configuration Information In Solaris hey_joe Solaris / OpenSolaris 5 02-01-2006 05:09 AM
ncurses -- any information mili Programming 11 06-08-2005 10:34 AM
menuconfig can't find ncurses alaios Slackware 8 06-02-2004 08:02 AM
where i can find ncurses devel? noyz Mandriva 3 02-26-2004 08:13 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration