Subject: url-viewer in 4.32

From: ASARI Hirotsugu <[email-masked]>
Date: Mon, 29 Jan 2001 23:18:32 -0600 (CST)

Hi,

My sysadmin recently upgraded pine from 4.20 to 4.32.  I had URL viewer
set up fine in the old version, but now 4.32 doesn't like the same value.
Any ideas?

In my .pinerc:

# List of programs to open Internet URLs (e.g. http or ftp references).
url-viewers=_TEST("test -h /home/users/asari/.netscape/lock")_ "/usr/local/bin/netscape -remote 'openURL(_URL_,new-window)'",
        _TEST("test -n '${DISPLAY}'")_ /usr/local/bin/netscape,
        "/usr/local/bin/lynx _URL_"

pine complains that 'test -h ...' does not exist.

I appreciate any insight on this matter.

-- 
ASARI Hirotsugu                     //   http://www.math.uiuc.edu/~asari/
Graduate Student/Teaching Assistant //   mailto:[email-masked]

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

---

From: Eduardo Chappa <[email-masked]>
Date: Mon, 29 Jan 2001 21:23:39 -0800 (PST)

*** ASARI Hirotsugu ([email-masked]) wrote in the pine-info list today:

:) # List of programs to open Internet URLs (e.g. http or ftp references).
:) url-viewers=_TEST("test -h /home/users/asari/.netscape/lock")_ "/usr/local/bin/netscape -remote 'openURL(_URL_,new-window)'",
:)         _TEST("test -n '${DISPLAY}'")_ /usr/local/bin/netscape,
:)         "/usr/local/bin/lynx _URL_"
:) 
:) pine complains that 'test -h ...' does not exist.

It's a bug in pine which is not recognizing that it has to eliminate the 
quotes from the _TEST_ command. There is a patch that solves this problem 
though, which can be obtained from my web page (address below).

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/