lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV DOS bug fix


From: Doug Kaufman
Subject: Re: LYNX-DEV DOS bug fix
Date: Sun, 8 Feb 1998 17:09:26 -0800 (PST)

On Sun, 8 Feb 1998, T.E.Dickey wrote:

> btw: there are a couple of imho questionable -D's in src/makefile.dos
> (NCURSES_VERSION, NCURSES).  Can you tell me what they are propping up?
> (I'd rather replace with a more apt symbol).

As far as I can tell, NCURSES_VERSION was added to interact with
ALT_CHAR_SET in LYCurses.c, at the time when BOXVERT and BOXHORI were
defined in a conflicting manner in userdefs.h and LYCurses.h. Since that
problem was fixed some time ago, I don't see a need for ALT_CHAR_SET or
NCURSES_VERSION in makefile.dos. The DOS version seems to compile just
fine without either. The following is a revised patch for makefile.dos.

The NCURSES define occurs in multiple files. I am not sure how many are
necessary for DOS with PDCurses. I don't think anyone made a specific
define for PDCurses.
                                  Doug

*** lynx2-7-1/src/makefile.dos  Wed Jan 28 02:39:48 1998
--- lynx2-7-1/src/makefile.dos.new      Sun Feb  8 16:51:38 1998
***************
*** 12,18 ****
  CFLAGS= $(MCFLAGS) -I.. $(SLANGINC)
  
  CC = gcc
! MCFLAGS = -O3 -DALT_CHAR_SET -DUSE_ZLIB -DUSE_EXTERNALS -DNCURSES_VERSION 
-DCOLOR_CURSES -DNCURSES -DFANCY_CURSES -DACCESS_AUTH -DNO_CUSERID -DNOUSERS 
-DDOSPATH -DNO_TTYTYPE -DNO_UTMP -Ichrtrans -I../WWW/library/implementation 
-I../curses  -I../djgpp/tc

plib/include -I../djgpp/tcplib/include/tcp
  WWWLIB = ../WWW/library/djgpp/libwww.a ../curses/pdcurses.a 
../djgpp/tcplib/obj/libtcp.a
  LIBS=-lz
  
--- 12,18 ----
  CFLAGS= $(MCFLAGS) -I.. $(SLANGINC)
  
  CC = gcc
! MCFLAGS = -O3 -DUSE_ZLIB -DUSE_EXTERNALS -DCOLOR_CURSES -DNCURSES 
-DFANCY_CURSES -DACCESS_AUTH -DNO_CUSERID -DNOUSERS -DDOSPATH -DNO_TTYTYPE 
-DNO_UTMP -DRAWDOSKEYHACK -Ichrtrans -I../WWW/library/implementation 
-I../curses  -I../djgpp/tcplib/include -I..

/djgpp/tcplib/include/tcp
  WWWLIB = ../WWW/library/djgpp/libwww.a ../curses/pdcurses.a 
../djgpp/tcplib/obj/libtcp.a
  LIBS=-lz
  
__
Doug Kaufman
Internet: address@hidden (preferred)
          address@hidden

reply via email to

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