[links-list] Re: Bugs/problems with links-current

Petr Kulhavy brain at artax.karlin.mff.cuni.cz
Tue May 21 00:42:29 PDT 2002

On Tue, 21 May 2002, Cliff Cunnington wrote:

> 1. What happened to -dump (in default text mode)?

-source works

> 2. file://*.png does not display when browsing local directory. (JPEGs, GIFs
>    work fine, as does http://*.png)

I can't help, but "links -g file://picture.png" displays png image. "links
-g picture.png" too.

> 3. Javascript at FT.com: When browsing http://www.ft.com, a script in
>    *every page* tries to redirect to a page suggesting get IE4+/NN4+.
>     [snip]
>     <script language="JavaScript">
>     // Checking what platform is being used (mac os, windows, etc)
>     var vers = parseInt(navigator.appVersion);
>     var agt = navigator.userAgent.toLowerCase();
>     if ( vers < 4 ) {
> 	location.href = "http://globalelements.ft.com/global/version3/";
>     }
>     </script>
>     [end snip]
>    It's annoying having to "reject"/"kill script" each time a new page
>    is loaded. Setting fake_useragent doesn't help. Suggestions?

Yeah, I know that. Problem is, that "fake useragent" isn't parsed in
javascript. When you query  navigator.appVersion, it returns whole
useragent (as you write it into the window). The same is for
navigator.appName, navigator.userAgent.

I must divide useragent into several parts: name, version, OS and so on.
And in javascript return version string for navigator.appVersion and so

> 5. Minor graphics gripe: text following an inline image wraps to the next line. For example,
>     <img src="letterL.gif" alt="L">inks now has a graphics mode.
> In text mode displays as:
> Links now has a graphics mode.
> In graphics mode displays as:
> [L]
> inks now has a graphics mode.

I've tried it. It works fine. When the text is too long so it doesn't fit
to the line or image is too large, line is broken, but when the line is
long enough for both image and text, it's on the same line.

> 6. Keystroke "Q" doesn't exit _without_ warning.

That's OK, it avoids unwanted exiting  when you press 'q' by a mistake.

> 7. Query: Why doesn't links -g display font colors as specified in the source?
>    (I've colour-coded the links in my $WWW_HOME page, but only a few show
>    up. They all show up in text mode.)
>    (Stupid) example:
>     <html>
>     <body bgcolor="white" text="white">
>     <p>Invisible text</p>
>     </body>
>     </html>
>     ... displays black text on white bg.

That's a feature. If colors are too similar and thus VERY BADLY readable,
links finds most contrast color and displays text with this color. Some
web page authors write light blue text on dark blue background and think
how great their page is, but this is almost unreadable --- but not in
links ;-)

> 8. Future development: links -g using user-defined X-fonts?


> 9. Will these Q(&A)s appear in BUGS, TODO, FAQ ;-)



Petr `Brain' Kulhavy
<brain at artax.karlin.mff.cuni.cz>
Faculty of Mathematics and Physics,
Charles University Prague, Czech Republic

Putt's Law:
        Technology is dominated by two types of people:
                Those who understand what they do not manage.
                Those who manage what they do not understand.

Unsubscribe: send email to links-list-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the links-list mailing list