www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/12/18:11:08

From: "T.E.Dickey" <dickey AT shell DOT clark DOT net>
Subject: Re: ANNOUNCE: PDCurses 2.4 for DJGPP
Newsgroups: comp.os.msdos.djgpp
References: <200002231814 DOT NAA11875 AT delorie DOT com> <4069bsspjp6dnt3f23ivi5e5gqonqrje7s AT 4ax DOT com> <200002240254 DOT VAA00923 AT envy DOT delorie DOT com> <4D507296DCE247F6 DOT 18E265B469A4D0A6 DOT 519287EE8F651198 AT lp DOT airnews DOT net>
Organization: Clark Internet Services, Inc., Ellicott City, MD USA
User-Agent: tin/1.5.2-20000119 ("Sumerland") (UNIX) (SunOS/5.6 (sun4u))
Lines: 20
Message-ID: <IcUy4.242$u%1.9205@iad-read.news.verio.net>
Date: Sun, 12 Mar 2000 21:44:08 GMT
NNTP-Posting-Host: 168.143.0.8
X-Complaints-To: abuse AT verio DOT net
X-Trace: iad-read.news.verio.net 952897448 168.143.0.8 (Sun, 12 Mar 2000 21:44:08 GMT)
NNTP-Posting-Date: Sun, 12 Mar 2000 21:44:08 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Anthony <locutus AT mailcity DOT com> wrote:
> I am using ncurses 5 on Linux.  I need to try out djgpp on
> dos 7.1 so I wonder if the function call in PDcurses compatible
> with ncurses? Or do I have to learn PDcurses from the beginning?

depending on what you are doing, it is fairly compatible.  PDCurses is
based on SVr3 curses, with some of the features from SVr4 curses, while
ncurses is based on SVr4 curses.  The main difference between the two
is the handling of color - which is the "some of the features" that
PDCurses implements.  A few functions and macros are missing, but there
are workarounds for most of those.

-- that's assuming a normal/simple program (PDCurses doesn't have a
   terminfo interface, so some things such as the 'dots.c' program
   in ncurses 5 won't port to PDCurses.

-- 
Thomas E. Dickey
dickey AT clark DOT net
http://www.clark.net/pub/dickey

- Raw text -


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