lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev dev.22 - USE_PSRC crash


From: Leonid Pauzner
Subject: Re: lynx-dev dev.22 - USE_PSRC crash
Date: Wed, 14 Apr 1999 03:53:46 +0400 (MSD)

13-Apr-99 19:14 address@hidden wrote:
>>
>> 13-Apr-99 15:40 address@hidden wrote:
>> >>
>> >> dev22 can't build with USE_PSRC *and* without USE_COLOR_STYLE,
>> >> an obvious fix below:
>>
>> > as I understood it, USE_PSRC wasn't workable w/o color-style.
>> It *is* workable w/o color-style (according to CHANGES, and I test it OK),
>> I guess last-minute changes was not tested in this configuration.

> no - I tested what I did, but (I don't see that CHANGES says it would work
> w/o color style, and from the email that Vlad sent I had this impression.

* added HTML source syntax highlighting (when option -prettysrc that is added
  is given to lynx). It's available for lynx compiled with and without lss
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  support (it can be much more beatiful when compiled with lss support - read
  lynx.cfg for description). This functionality coexists with old source view
  and with -preparsed logic (ie different commandline options make source view
  logic different) VH


> So I made those changes as part of integrating with the configure script.

> (It may be incorrect, but it was intentional)

>>
>> >> diff -u old/sgml.c ./sgml.c
>> >> --- old/sgml.c  Tue Apr 13 02:39:16 1999
>> >> +++ ./sgml.c    Tue Apr 13 20:19:56 1999
>> >> @@ -34,6 +34,8 @@
>> >>
>> >>  #ifdef USE_COLOR_STYLE
>> >>  # include <LYStyle.h>
>> >> +#endif
>> >> +#ifdef USE_PSRC
>> >>  # include <LYPrettySrc.h>
>> >>  #endif
>> >>
>> >>
>> >> diff -u old/html.c ./html.c
>> >> --- old/html.c  Tue Apr 13 02:39:16 1999
>> >> +++ ./html.c    Tue Apr 13 19:18:02 1999
>> >> @@ -49,12 +49,15 @@
>> >>  #include <LYCurses.h>
>> >>  #endif /* VMS */
>> >>
>> >> +#ifdef USE_PSRC
>> >> +#include <LYPrettySrc.h>
>> >> +#endif
>> >> +
>> >>  #ifdef USE_COLOR_STYLE
>> >>  #include <SGML.h>
>> >>  #include <AttrList.h>
>> >>  #include <LYHash.h>
>> >>  #include <LYStyle.h>
>> >> -#include <LYPrettySrc.h>
>> >>  #undef SELECTED_STYLES
>> >>  #define pHText_changeStyle(X,Y,Z) {}
>> >>
>> >>
>>
>>
>> > --
>> > Thomas E. Dickey
>> > address@hidden
>> > http://www.clark.net/pub/dickey
>>
>>


> --
> Thomas E. Dickey
> address@hidden
> http://www.clark.net/pub/dickey



reply via email to

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