This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.18: Problem launching URLs from Pine
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 30 Aug 2005 22:11:40 -0700
- Subject: Re: 1.5.18: Problem launching URLs from Pine
- References: <20050830125607.70789.qmail@web86906.mail.ukl.yahoo.com>
- Reply-to: cygwin at cygwin dot com
Antony Baxter wrote:
> anything to work. At the moment I've set
>
> url-viewers = /home/ant/bin/viewUrl
>
> in my .pinerc where viewUrl is a 1-line script as
> follows:
>
> echo $1 >> /tmp/viewUrl.log
>
> When run from the command line this (obviously) works
> fine. However,
If it's a script file it probably needs a shebag as the first line
(#!/bin/sh). Also, make sure it has execute permissions (chmod 755).
It depends on how pine tries to execute it though. If it uses system()
then the shebang is not necessary, otherwise it probably is.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/