Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/