Subject: recognizing URLs

From: Mike Miller <[email-masked]>
Date: Wed, 23 Sep 1998 08:31:47 -0500 (CDT)

I notice that pine will recognize a URL in the following format:

http://www.washington.edu

but it will not recognize the following as a URL:

www.washington.edu

That's too bad because people often send URLs in that format.  That is,
they strip off the "http://" when the computer name begins with "www".
Netscape knows that the http is implied.  Maybe pine could be written to
search for "http://" and for "www." as initial URL strings.

Regards,

Mike

-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Dougal Campbell <[email-masked]>
Date: Wed, 23 Sep 1998 08:41:27 -0500 (CDT)

> search for "http://" and for "www." as initial URL strings.

For me (version 4.02a under FreeBSD), Pine recognizes those just fine.
Are you also running under unix, and using Lynx as your browser? If so,
you might just need to upgrade Lynx. The newer version will accept
"stripped" URL's and default to "http://...", but older versions did not
do this.

- -- 
Dougal Campbell, Systems Manager, ADViCOM        [email-masked]
http://www.advicom.net/                 http://advicom.net/~dougal/
   See my homepage for anti-spam information and pgp public key!
 Lumber Cartel Unit Number 1654: http://come.to/the.lumber.cartel/
QUOTE OF THE MOMENT:
Intolerance is the last defense of the insecure.

---

From: Edan Idzerda <[email-masked]>
Date: Wed, 23 Sep 1998 09:42:08 -0400 (EDT)

> but it will not recognize the following as a URL:

            [X]  enable-msg-view-web-hostnames         

Cheers.

- edan

---

From: Michael Ruder <[email-masked]>
Date: Wed, 23 Sep 1998 08:03:48 -0600 (MDT)

Hi,

<> I notice that pine will recognize a URL in the following format:
<> 
<> http://www.washington.edu
<> 
<> but it will not recognize the following as a URL:
<> 
<> www.washington.edu

my PC-Pine 4.04 recognizes both of the above URL without problem.

       -Michael

  /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 < Michael Ruder, mailto:[email-masked], http://homepages.uni-tuebingen.de/mr >
  \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
       PGP key available, fingerprint: F518B098044A7304 0E3819F2FCA51F21

---

From: Mike Miller <[email-masked]>
Date: Wed, 23 Sep 1998 11:28:40 -0500 (CDT)

>             [X]  enable-msg-view-web-hostnames         

Thanks very much for this feedback.  That worked, in a sense, but there is
a remaining problem.  When Pine sends this URL,

www.missouri.edu/~psycmm/

to Netscape it puts it in double quotes,

"www.missouri.edu/~psycmm/"

and Netscape can't handle that and it gives a DNS lookup failure.  The
problem is with the tilde character because the following URL is sent
properly (without the added quotes):

www.missouri.edu/%7Epsycmm/

It is the same URL with the "~" escaped by "%7E"

Interesting.  Here are the possibly relevant lines of my .pinerc:

# List of programs to open Internet URLs (e.g. http or ftp references).
url-viewers="/opt/netscape/netscape -noraise -remote 'openURL ( _URL_ ,new-window)'"

Regards,

Mike

Michael B. Miller, M.S., Ph.D., M.P.E.
Department of Psychology
210 McAlester Hall
University of Missouri--Columbia
Columbia, MO 65211
 Phone: (573) 882-5671
   Fax: (573) 882-7710
e-mail: [email-masked]
   web: http://taxa.psyc.missouri.edu/~mbmiller/

---

From: Mike Miller <[email-masked]>
Date: Wed, 23 Sep 1998 13:33:56 -0500 (CDT)

As an addendum to my last message, I should add that URLs that contain a
tilde are sent to Netscape in double quotes even if they begin with http:
Here's an example:

http://taxa.psyc.missouri.edu/~mbmiller/

Mike

---

From: Iztok Polanic <[email-masked]>
Date: Wed, 23 Sep 1998 21:11:19 +0200 (MET DST)

> url-viewers="/opt/netscape/netscape -noraise -remote 'openURL ( _URL_ ,new-window)'"
Hello !!!

I didn't download any version of 4.x so I'm asking this question just
because I was wondering. If you typeunder your url-viewers=lynx and you
get a WWW link something like:

	http://www.foobar.com/~bla/34563636353ssfgsgsd&.html

what will pine do. If you were carefull while reading this link, you
have noticed a & char, which puts every program in background. So my
question is will lynx be put in background???

								Bye.

                                          //////
      xxxxxx                             ( o o )
      xx  xx           /------------oOO-----O-----OOo------------\
      xx  xx           |           From: Iztok Polanic           |
       xxxx            |  E-mail: [email-masked]  |
      xx  xx           |      WWW: http://kotzi.home.ml.org      |
     xx    xx          |            http://www.intering.si       |
    xx      xx         |           ICQ: Kotzi => *12556824*      |
                       \-----------------------------------------/

---

From: Michael Ruder <[email-masked]>
Date: Wed, 23 Sep 1998 13:26:22 -0600 (MDT)

Hi,

<> Here's an example:
<> 
<> http://taxa.psyc.missouri.edu/~mbmiller/

this one works fine for me.

       -Michael