[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev url shortcuts not working?
From: |
Kenneth Shaffer |
Subject: |
Re: lynx-dev url shortcuts not working? |
Date: |
Fri, 15 May 1998 15:37:02 -0400 (EDT) |
> > Supplying just "cnn" as a URL to open via 'g' command,
> > doesn't find http://www.cnn.com . I'm now using 2.8.1dev.12 .
> > I went back to 2.8rel.2 and it fails there too. Perhaps I'm building wrong?
>
> you know you have to set up URL_DOMAIN_PREFIXES & URL_DOMAIN_SUFFIXES
> in lynx.cfg , presumably ... ? it's not hard-wired in Lynx code.
My userdefs.h files has them defined:
#define URL_DOMAIN_PREFIXES "www."
#define URL_DOMAIN_SUFFIXES ".com,.edu,.net,.org"
In fact, from my first post you see it try www and com:
> Lynx Trace Log
>
> 'cnn' is not a URL
> Converted 'cnn' to '/home/kshaffer/cnn'
> Can't stat() or fopen() '/home/kshaffer/cnn'
> Looking up cnn first.
> Looking up www.cnn.com, guessing...
I would've expected success right here.
--
Ken Shaffer
Sun Microsystems, Inc. ( http://www.sun.com )
"Where the Sun shines year 'round in South Florida"