screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: id ncurses (was: Re: GNU screen VIM / terminal garbling on OS X and


From: digamma
Subject: Re: id ncurses (was: Re: GNU screen VIM / terminal garbling on OS X and Cygwin?)
Date: Sat, 12 Mar 2005 23:02:30 +0530
User-agent: Mutt/1.4.2.1i

On Mar 11, 2005, Seth House wrote:

> Fredrik, it appears that the Fink-installed ncurses is GNU
> ncurses, but I don't know about the shipped-with-OS X ncurses. Nor
> do I know how to tell which screen is using.

$ ldd `which screen` | grep curses
    libncurses.so.5 => /usr/lib/libncurses.so.5 (0x40022000)
$ cat version.c
#include <stdio.h>
#include <curses.h>

int main()
{
    /* curses_version() is ncurses specific IIRC */
    printf("%s\n", curses_version()); 
    return(0);
}
$ gcc -lncurses version.c
$ ldd a.out | grep ncurses
    libncurses.so.5 => /usr/lib/libncurses.so.5 (0x40022000)
$ ./a.out
ncurses 5.1.20000708

I don't use OSX/Cygwin but I think you can try this and see.

HTH \karthik

-- 
The real fun of living wisely is that you get to be smug about it.
         -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]