delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/15/04:22:04

From: kunst AT prl DOT philips DOT nl
Subject: Re: curses library
To: ronis AT onsager DOT chem DOT mcgill DOT ca (David Ronis)
Date: Wed, 15 Jun 1994 09:58:12 +0100 (METDST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list)

David Ronis writes:
> 
> I've been trying to use the curses library that is on oak.oakland.edu
> (in /pub/msdos/djgpp of course) and am having problems linking.
> 
> Specifically, the linker complains about unresolved externals in a
> module called cvidintf.o that's in libcurse.a.  It's looking for things
> like puttext, gettext, ScreenAttrib, ScreenClear, ScreenSetCurser,
> ScreenGetCurser, and ScreenMode.  The libcurse.a is from 1992, and so I
> suspect that it is no longer compatible with the current release of
> djgpp.
> 
> In addition, the code I'm woring on uses the curses functions pause(),
> tputs(), and nodelay() which are apparantly not supported.
> 
> Any help would be appreciated.
> 


PDCurses 2.1 works fine with DJGPP 1.11m5 (one tiny patch required...)
also in a Windows DOS box (i.e. DPMI support).
nodelay() is supported by PDCurses. Instead of pause(), a function
delay_output() is available. tputs() is a 'terminfo' related function.
It is not supported by PDCurses.

Pieter Kunst (kunst AT prl DOT philips DOT nl)

===============================================================================
The latest PDCurses version is 2.1 and can be obtained from:

  site:  ftp.gu.edu.au    132.234.1.1
  files: /src/PDCurses/pdcurs21.zip

To compile the whole library with your C compiler, you'll need a copy
of DMAKE as well, which can be obtained from:

  site: plg.uwaterloo.ca (129.97.140.10)
  file: pub/dmake/dmake38-msdos-exe.zip 

I use the package with the DOS port of gcc ('DJGPP 1.11m5').
I have also versions running using Turbo C 3.0 and MSC 6.0.

Hope this is enough info for you.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019