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: <20050831140946.49226.qmail@web86902.mail.ukl.yahoo.com> Date: Wed, 31 Aug 2005 15:09:45 +0100 (BST) From: Antony Baxter Subject: Re: 1.5.18: Problem launching URLs from Pine To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Igor, > I haven't had a chance to debug this properly, but from the first > glance at the code, it's actually weirder than that. The "U" in the > debug output means that pine tries to use the user's preferred shell. > If SHELL is undefined, pine tries to use /bin/csh (yes, "csh" -- > don't ask me why). In system mode, it uses /bin/sh, like all normal > apps. > > Anthony, do you have the tcsh package installed? If not, that may be > your problem. Just for kicks, if you don't have a /bin/csh, try "ln > /bin/sh /bin/csh" (yes, I know it won't work with csh syntax), and > see if that makes pine work for you. > > Another thing to try is to export SHELL from bash. Just say "export > SHELL" with the current value (i.e., /bin/bash). Yup, both of those solutions work, though I'm sticking with exporting SHELL for portability. I don't have tcsh installed. > As for fixing this, there are two options -- one is to send a patch > upstream (who uses /bin/csh nowadays anyway?), and another is to make > "pine" depend on "tcsh". Out of interest, is it correct behaviour for Bash to return a value for SHELL even though it hasn't been explicitly set? Presumably this is handled by Bash itself in such a way that getenv doesn't see it; is that in itself a bug? Ant. ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com -- 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/