[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV DOS bug fix
From: |
Doug Kaufman |
Subject: |
LYNX-DEV DOS bug fix |
Date: |
Sun, 8 Feb 1998 11:47:58 -0800 (PST) |
The syntax for the RAW_DOS_KEY_HACK in lynx.cfg is incorrect, so that
as currently written the switch has no effect. The following patch
fixes this and adds a little information on how to compile this. I also
patched makefile.dos to make compilation of the raw dos key hack the
default when compiling in DOS.
I also note that there are two identical copies of lynx.cfg in the
distribution, one in the main directory and one in the "samples"
subdirectory. Do we need the duplicate in "samples"?
Doug
*** lynx2-7-1/lynx.cfg Wed Jan 28 02:39:48 1998
--- lynx2-7-1/lynx.cfg.new Sun Feb 8 11:18:26 1998
***************
*** 1709,1715 ****
# EXTERNAL:ftp:wget %s &:TRUE
# Raw DOS Key hack
! # This will bypass the DOS key hack if is compiled in.
# The hack is as follows:
# if (c == 0) c = '/';
# if (c > 255) { /* handle raw dos keys */
--- 1709,1716 ----
# EXTERNAL:ftp:wget %s &:TRUE
# Raw DOS Key hack
! # If RAW_DOS_KEY_HACK is set to FALSE, it will bypass the DOS key hack.
! # The DOS key hack is only present if compiled with -DRAWDOSKEYHACK
# The hack is as follows:
# if (c == 0) c = '/';
# if (c > 255) { /* handle raw dos keys */
***************
*** 1724,1728 ****
# }
# }
#
! # RAW_DOS_KEY_HACK = TRUE
--- 1725,1729 ----
# }
# }
#
! # RAW_DOS_KEY_HACK:TRUE
*** lynx2-7-1/src/makefile.dos Wed Jan 28 02:39:48 1998
--- lynx2-7-1/src/makefile.dos.new Sun Feb 8 11:24:00 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 -DALT_CHAR_SET -DUSE_ZLIB -DUSE_EXTERNALS -DNCURSES_VERSION
-DCOLOR_CURSES -DNCURSES -DFANCY_CURSES -DACCESS_AUTH -DNO_CUSERID -DNOUSERS
-DDOSPATH -DNO_TTYTYPE -DNO_UTMP -DRAWDOSKEYHACK -Ichrtrans
-I../WWW/library/implementation -I../curse
s -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
- LYNX-DEV DOS bug fix,
Doug Kaufman <=