lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev dev.18 patch: USE_PRETTYSRC, lynx.cfg


From: Leonid Pauzner
Subject: lynx-dev dev.18 patch: USE_PRETTYSRC, lynx.cfg
Date: Sat, 8 Jan 2000 14:45:15 +0300 (MSK)

I now got a chance to try dev.18

Thanks Tom, renaming USE_PSRC with USE_PRETTYSRC consistently seems a
good idea (Oops, DOS makefiles were overlooked [patch attached], see
also Borland makefile).

As for HTMLSRC_*:blah-blah it was choosen the best name PRETTYSRC_SPEC::
since it deals with -prettysrc and assume something "special":))
could we interpret `spec' this way also?

Looking onto lynx.cfg options list (cfg2html.pl is a nice tool for this),
>      * PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING
>      * HTMLSRC_ATTRNAME_XFORM
>      * HTMLSRC_TAGNAME_XFORM
>      * PRETTYSRC_SPEC

I think first three should also be grouped and renamed to another entry,
PRETTYSRC:: as a more understandable data from user point of view -
case conversion and work around a special case when links are numbered:

PRETTYSRC:ATTRNAME_CASE:*
PRETTYSRC:TAGNAME_CASE:*
PRETTYSRC:NO_ANCHOR_NUMBERING:*



Also a previously reported "bug" in cfg2html.pl became visible for
recent lynx.cfg last minute update - a blank line required after .h1
when .h2 follows immediately.


===================

* tweak lynx.cfg for better cfg2html.pl output.
* fix DOS makefiles for recent remaning USE_PSRC -> USE_PRETTYSRC.
  Also, remove -O2 optimization flag: having experience with slow 386
  machine I see no visible difference in speed at run time, but this
  makes compilation much faster and takes less memory (~40M->10M).


diff -u -r LYNX2-8-.D18/lynx.cfg LYNX2-8-/lynx.cfg
--- LYNX2-8-.D18/lynx.cfg       Thu Jan  6 20:02:22 2000
+++ LYNX2-8-/lynx.cfg   Sat Jan  8 13:38:22 2000
@@ -2711,6 +2711,7 @@
 #      RULE:Redirect   http://old.server/*     http://new.server/*

 .h1 Appearance
+
 .h2 HTMLSRC_ATTRNAME_XFORM
 .h2 HTMLSRC_TAGNAME_XFORM
 .h2 PRETTYSRC_SPEC
diff -u -r LYNX2-8-.D18/src/makefile.dos LYNX2-8-/src/makefile.dos
--- LYNX2-8-.D18/src/makefile.dos       Sat Jan  8 13:46:38 2000
+++ LYNX2-8-/src/makefile.dos   Sat Jan  8 13:46:58 2000
@@ -28,7 +28,7 @@

 CC = gcc

-MCFLAGS = -O2 \
+MCFLAGS =  \
  $(DIRED_DEFS) \
  $(ENABLE_COLOR_STYLE) \
  -DACCESS_AUTH \
@@ -49,7 +49,7 @@
  -DNO_UTMP \
  -DSOURCE_CACHE \
  -DUSE_EXTERNALS \
- -DUSE_PSRC \
+ -DUSE_PRETTYSRC \
  -DUSE_ZLIB \
  -DWATT32 \
  -I./chrtrans \
diff -u -r LYNX2-8-.D18/src/makefile.dsl LYNX2-8-/src/makefile.dsl
--- LYNX2-8-.D18/src/makefile.dsl       Wed Nov 17 21:08:08 1999
+++ LYNX2-8-/src/makefile.dsl   Sat Jan  8 13:45:30 2000
@@ -22,7 +22,7 @@

 CC = gcc

-MCFLAGS = -O2 \
+MCFLAGS =  \
  $(DIRED_DEFS) \
  -DACCESS_AUTH \
  -DDISP_PARTIAL \
@@ -34,7 +34,7 @@
  -DNO_UTMP \
  -DSOURCE_CACHE \
  -DUSE_EXTERNALS \
- -DUSE_PSRC \
+ -DUSE_PRETTYSRC \
  -DUSE_SLANG \
  -DUSE_ZLIB \
  -DWATT32 \
diff -u -r LYNX2-8-.D18/src/makefile.wsl LYNX2-8-/src/makefile.wsl
--- LYNX2-8-.D18/src/makefile.wsl       Thu Oct 21 08:56:48 1999
+++ LYNX2-8-/src/makefile.wsl   Sat Jan  8 13:45:48 2000
@@ -12,8 +12,8 @@
 CFLAGS= $(MCFLAGS) -I. -I.. $(SLANGINC)

 CC = gcc
-MCFLAGS = -O2 -DDISP_PARTIAL -DUSE_ZLIB -DUSE_EXTERNALS \
--DSOURCE_CACHE -DUSE_PSRC \
+MCFLAGS =  -DDISP_PARTIAL -DUSE_ZLIB -DUSE_EXTERNALS \
+-DSOURCE_CACHE -DUSE_PRETTYSRC \
 -DUSE_SLANG -DACCESS_AUTH -DNO_CUSERID \
 -DNOUSERS -DDOSPATH -DNO_TTYTYPE -DNO_UTMP -I../WWW/library/implement 
-I../djgpp/tcplib/include \
 -I./chrtrans -I../djgpp/tcplib/include/tcp
diff -u -r LYNX2-8-.D18/www/library/djgpp/makefile 
LYNX2-8-/www/library/djgpp/makefile
--- LYNX2-8-.D18/www/library/djgpp/makefile     Wed Dec 15 15:34:06 1999
+++ LYNX2-8-/www/library/djgpp/makefile Sat Jan  8 13:39:40 2000
@@ -15,7 +15,7 @@


 CFLAGS =  -DUSE_ZLIB -DDOSPATH -DNOUSERS -DDISP_PARTIAL \
--DDIRED_SUPPORT -DSOURCE_CACHE -DUSE_PSRC \
+-DDIRED_SUPPORT -DSOURCE_CACHE -DUSE_PRETTYSRC \
  $(ENABLE_COLOR_STYLE) \
 -DEXP_FILE_UPLOAD \
 -DWATT32 \
diff -u -r LYNX2-8-.D18/www/library/djgpp/makefile.sla 
LYNX2-8-/www/library/djgpp/makefile.sla
--- LYNX2-8-.D18/www/library/djgpp/makefile.sla Wed Jul 14 10:25:26 1999
+++ LYNX2-8-/www/library/djgpp/makefile.sla     Sat Jan  8 13:44:48 2000
@@ -7,8 +7,8 @@
 # The ASIS repository's name for the machine we are on
 #ASIS_MACH = hardware/os

-CFLAGS = -O3 -DUSE_SLANG -DUSE_ZLIB -DDOSPATH -DNOUSERS -DDISP_PARTIAL \
--DDIRED_SUPPORT -DSOURCE_CACHE -DUSE_PSRC \
+CFLAGS =  -DUSE_SLANG -DUSE_ZLIB -DDOSPATH -DNOUSERS -DDISP_PARTIAL \
+-DDIRED_SUPPORT -DSOURCE_CACHE -DUSE_PRETTYSRC \
 -DWATT32 \
 -I../Implementation \
 -I../../../djgpp/watt32/inc -I../../../djgpp/watt32/inc/sys \




reply via email to

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