[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV lynx color styles
From: |
lahvak |
Subject: |
LYNX-DEV lynx color styles |
Date: |
Mon, 31 Mar 1997 18:35:10 -0500 (EST) |
>
> folder lynx-dev, message 108
>
> [1]Next [2]Previous [3]lynx-dev
>
> From: Klaus Weide <address@hidden>
> Reply-To: address@hidden
> Subject: Re: LYNX-DEV bold, underline, reverse, colors in Lynx
> Date: Mon, 31 Mar 1997 14:10:01 -0600 (CST)
> _________________________________________________________________
>
>That is very interesting.
>
>I am tempted to put your code in the development repository, and also
>merge it with the more recent changes. Who knows, it may be much simpler
>than I thought.
>
>This may be not the best thing, if the patches you used were an oudated
>version and Rob already has much improved his code.
Exactly! All I know is that I have made it working, with plain lynx 2-7,
no bugfixes, with s-lang, the patches I used were for 2-6. I figured out
there is no point in making this public, but now when somebody mentioned
it...
>
>I am concerned how Rob's stuff would interact with Tom's color-curses
>stuff. Not to mention the configuration issues. I guess I would leave
See above.
>that to him... But using your present code and briging it at least to
>current-bugfixed level should not be too difficult.
>
>So, were you using pure original 2.7?
Yes. I personally never run into any bug in lynx, so I didn't install the
bugfixes yet. :-)
>Can you provide either a full code package, or (preferably) a
>complete patch against the 2.7 your code is based on, with just the
>relevant changes?
I'm working on it. Unfortunately, I keep everything in my home directory,
and in an attempt not to exceed my quota, I didn't kept any backups. I also
goofed around with the code some more, and right now my source code is a
mess. I am trying to clean it up, and then I'll create the patches and send
them.
As I said, the only thing I can guarantee is that it works with my
configuration. I am even afraid to install the bugfixes now. :-(
>Of course I would also like to know what that change was you cavalierly
>discarded.
>
I think I remember this one:
In HTML.c:
***************
*** 117,122 ****
PRIVATE BOOLEAN B_inTABLE = FALSE;
PRIVATE BOOLEAN B_inTEXTAREA = FALSE;
PRIVATE BOOLEAN B_inUnderline = FALSE;
n
PRIVATE BOOLEAN B_needBoldH = FALSE;
--- 125,133 ----
PRIVATE BOOLEAN B_inTABLE = FALSE;
PRIVATE BOOLEAN B_inTEXTAREA = FALSE;
PRIVATE BOOLEAN B_inUnderline = FALSE;
+ #if defined(CS) || defined(SLSC)
+ PRIVATE BOOLEAN B_inStyle[DSTYLE_ELEMENTS];
+ #endif
PRIVATE BOOLEAN B_needBoldH = FALSE;
I couldn't find the variables anywhere (I even tried rgrep the whole lynx2-7
distribution tree. They all appeared only in this reject file). The
B_inStyle doesn't seem to be used anywhere.
> _________________________________________________________________
>
> [7]Next [8]Previous [9]lynx-dev
--
Jan Hlav\'{a}\v{c}ek
address@hidden
www: http://www.math.ohio-state.edu/~lahvak/
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LYNX-DEV lynx color styles,
lahvak <=