delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/31/01:08:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <43153C0C.DA4C58CF@dessent.net>
Date: Tue, 30 Aug 2005 22:11:40 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.18: Problem launching URLs from Pine
References: <20050830125607 DOT 70789 DOT qmail AT web86906 DOT mail DOT ukl DOT yahoo DOT com>
X-IsSubscribed: yes
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019