This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
ncurses
- To: <gnu-win32 at cygnus dot com>
- Subject: ncurses
- From: collver at dnc dot net (Reuben Collver)
- Date: Mon, 14 Jul 1997 11:48:46 -0700
Hi,
I've installed the win32 port of ncurses that I found at
http://www.wenet.net/~garbanzo/gnuwin32/
I also installed the terminfo database, but deccided to try to use a
termcap file instead.
I've successfully compiled a program of mine that uses termcap.
gcc -O -s -o byc byc.c -lncurses -DTERMCAP_FILE
I downloaded my termcap file off my linux box and put it in /etc/termcap
Afterwards, I set up the following environment variables
TERM=vt100
TERMINFO=/etc/termcap
I am running an ansi device driver named nansi.sys, which is hopefully
close enough to vt100 for testing purposes when it comes to interpreting
the escape sequences.
When I start up the program, I read the TERM environment variable and use
the tgetent() call to detect the termcap entry.
tgetent() fails, and I am not sure why. Anyone bored enough to help me
get curses/terminfo programs working right with gnu-win32? I'd be grateful
=)
Ben.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".