[Lynx-dev] Re: lynx mirport now working on Macintosh too

2006-08-17 Thread Thorsten Glaser
Thomas Dickey dixit:

 It's also possible that it was a compiler bug - that's what I was thinking
 when this topic came up before.

Plausible since it only occurred on the Mac.

 Rearranging the function could obscure a
 compiler bug.

Indeed, it helped obscuring bugs in ProPolice on MirBSD several times...

Are you going to keep the changes?

//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.  -- Coywolf Qi Hunt


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] Re: lynx mirport not working

2006-08-16 Thread Thorsten Glaser
Thomas Dickey dixit:

   ftp://invisible-island.net/temp/lynx2.8.6dev.18f.patch.gz

+  --disable-color-style(define USE_COLOR_STYLE)
 
+   Use this option to enable optional color style.  This is implemented
 

I don't think so. It disables, right? :)

You'll receive updated Lynx.trace and lynx.cfg soon.

//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.  -- Coywolf Qi Hunt


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


lynx mirport now working on Macintosh too (was Re: [Lynx-dev] Re: lynx mirport not working)

2006-08-16 Thread Thorsten Glaser
Thomas Dickey dixit:

What's the lynx.cfg look like? 

I thought it was sort of non-standard - prettysrc wasn't even enabled!
(And still isn't, but with lynx -prettysrc . it can be.)

The message comes from a failure to parse the PRETTY_SRC data that would be
in a customized lynx.cfg file.

Well, anyway, updating to 2.8.6dev.18f solved the problem for me on Mac.
Even with --enable-prettysrc (I even tested it and it works).
Committed revision 10044E372D21C46A7EC.

//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.  -- Coywolf Qi Hunt


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] Re: lynx mirport not working

2006-08-16 Thread Thomas Dickey

On Wed, 16 Aug 2006, Thorsten Glaser wrote:


Thomas Dickey dixit:


ftp://invisible-island.net/temp/lynx2.8.6dev.18f.patch.gz


+  --disable-color-style(define USE_COLOR_STYLE)
+   Use this option to enable optional color style.  This is implemented

I don't think so. It disables, right? :)


hmm - no - that should be disable, since I modified it to enable by 
default.  The runtime initialization without a .lss file works well enough

for that.



You'll receive updated Lynx.trace and lynx.cfg soon.


thanks

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: lynx mirport now working on Macintosh too (was Re: [Lynx-dev] Re: lynx mirport not working)

2006-08-16 Thread Thomas Dickey

On Wed, 16 Aug 2006, Thorsten Glaser wrote:


Thomas Dickey dixit:


What's the lynx.cfg look like?


I thought it was sort of non-standard - prettysrc wasn't even enabled!
(And still isn't, but with lynx -prettysrc . it can be.)


The message comes from a failure to parse the PRETTY_SRC data that would be
in a customized lynx.cfg file.


Well, anyway, updating to 2.8.6dev.18f solved the problem for me on Mac.
Even with --enable-prettysrc (I even tested it and it works).
Committed revision 10044E372D21C46A7EC.


that's odd - I don't know what I fixed.  Last night's changes were to
make that multi-return function into a single-return and add traces
to show the various error conditions.

It's also possible that it was a compiler bug - that's what I was thinking
when this topic came up before.  Rearranging the function could obscure 
a compiler bug.


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


[Lynx-dev] Re: lynx mirport not working

2006-08-15 Thread Thorsten Glaser
Dixi:

internal error while caching 1st tagspec of 0 lexeme

Lynx.trace appended. Disabling prettysrc, as suggested by
OpenMacNews, works. (This has been committed to the MirPorts
Framework, so there is now a simple way to get a functional
version of Lynx for the Macintosh.)

Still we'd better hunt down this bug, right?

bye,
//mirabile

PS: CVSweb is at http://cvs.mirbsd.de/ports/www/lynx/
in case you want to see my configure options and patches.
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.  -- Coywolf Qi HuntLynx Trace Log (2.8.6dev.18-MirPorts)

./LYReadCFG.c: 1649: opening config file /Users/tglaser/mpkg/etc/lynx.lss
./LYStyle.c: 489: HStyle_addStyle(normal:   normal: 
lightgray:black)
./LYStyle.c: 489: HStyle_addStyle(default:  normal: 
lightgray:black)
./LYStyle.c: 489: HStyle_addStyle(em:   bold:   
brightblue)
./LYStyle.c: 489: HStyle_addStyle(strong:   bold:   
brightred)
./LYStyle.c: 489: HStyle_addStyle(b:bold:   red)
./LYStyle.c: 489: HStyle_addStyle(i:bold:   
brightblue)
./LYStyle.c: 489: HStyle_addStyle(a:bold:   green)
./LYStyle.c: 489: HStyle_addStyle(img:  dim:brown)
./LYStyle.c: 489: HStyle_addStyle(fig:  normal: gray)
./LYStyle.c: 489: HStyle_addStyle(caption:  reverse:brown)
./LYStyle.c: 489: HStyle_addStyle(hr:   normal: yellow)
./LYStyle.c: 489: HStyle_addStyle(blockquote:   normal: 
brightblue)
./LYStyle.c: 489: HStyle_addStyle(ul:   normal: brown)
./LYStyle.c: 489: HStyle_addStyle(address:  normal: magenta)
./LYStyle.c: 489: HStyle_addStyle(title:normal: 
magenta)
./LYStyle.c: 489: HStyle_addStyle(tt:   dim:
brightmagenta:  black)
./LYStyle.c: 489: HStyle_addStyle(h1:   bold:   yellow: 
blue)
./LYStyle.c: 489: HStyle_addStyle(label:normal: 
magenta)
./LYStyle.c: 489: HStyle_addStyle(q:normal: yellow: 
magenta)
./LYStyle.c: 489: HStyle_addStyle(small:dim:
default)
./LYStyle.c: 489: HStyle_addStyle(big:  bold:   yellow)
./LYStyle.c: 489: HStyle_addStyle(sup:  bold:   yellow)
./LYStyle.c: 489: HStyle_addStyle(sub:  dim:gray)
./LYStyle.c: 489: HStyle_addStyle(lh:   bold:   yellow: 
magenta)
./LYStyle.c: 489: HStyle_addStyle(li:   normal: magenta)
./LYStyle.c: 489: HStyle_addStyle(code: normal: cyan)
./LYStyle.c: 489: HStyle_addStyle(cite: normal: cyan)
./LYStyle.c: 489: HStyle_addStyle(table:normal: 
brightcyan)
./LYStyle.c: 489: HStyle_addStyle(tr:   bold:   brown)
./LYStyle.c: 489: HStyle_addStyle(td:   normal: default)
./LYStyle.c: 489: HStyle_addStyle(br:   normal: default)
./LYStyle.c: 489: HStyle_addStyle(alink:reverse:
yellow: black)
./LYStyle.c: 489: HStyle_addStyle(status:   reverse:
yellow: blue)
./LYStyle.c: 489: HStyle_addStyle(alert:bold:   
yellow: red)
./LYStyle.c: 489: HStyle_addStyle(whereis:  reverse+underline:  
magenta:cyan)
./LYStyle.c: 489: HStyle_addStyle(menu.bg:  normal: black:  
lightgray)
./LYStyle.c: 489: HStyle_addStyle(menu.frame:   normal: black:  
lightgray)
./LYStyle.c: 489: HStyle_addStyle(menu.entry:   normal: 
lightgray:  black)
./LYStyle.c: 489: HStyle_addStyle(menu.n:   normal: 
red:gray)
./LYStyle.c: 489: HStyle_addStyle(menu.active:  normal: yellow: 
black)
./LYStyle.c: 489: HStyle_addStyle(menu.sb:  normal: 
brightred:  lightgray)
./LYStyle.c: 489: HStyle_addStyle(forwbackw.arrow:reverse)
./LYStyle.c: 489: HStyle_addStyle(hot.paste:normal: 
brightred:  gray)
./LYStyle.c: 489: HStyle_addStyle(ul.red:   underline:  
brightred)
./LYStyle.c: 489: HStyle_addStyle(ul.blue:  bold:   
brightblue)
./LYStyle.c: 489: HStyle_addStyle(li.red:   reverse:
red:yellow)
./LYStyle.c: 489: HStyle_addStyle(li.blue:  bold:   

Re: [Lynx-dev] Re: lynx mirport not working

2006-08-15 Thread Thomas Dickey

On Tue, 15 Aug 2006, Thorsten Glaser wrote:


Thomas Dickey dixit:


yes (I thought this was fixed - a url might help).


$ lynx .

is enough to trigger it. If you have a Macintosh
available, you can reproduce it with the following
commands (assuming a bash as user shell, not tcsh):


That's essentially what the earlier report said, but we didn't find a
root cause.  It's failing for some reason in the parser in LYPrettySrc.c

I added some trace messages to help see what's going on, and put my 
current diffs in


ftp://invisible-island.net/temp/lynx2.8.6dev.18f.patch.gz

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev