X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=BAYES_00,FROM_LOCAL_NOVOWEL,HK_RANDOM_FROM,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Sebastien Vauban" Subject: Re: Portable shell code between Cygwin and Linux Date: Mon, 01 Aug 2011 08:39:20 +0200 Lines: 26 Message-ID: <80r555ljon.fsf@somewhere.org> References: <80hb65b3ue DOT fsf AT somewhere DOT org> <4E330DC6 DOT 4070009 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Url: Under construction... X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi Larry, "Larry Hall Cygwin" wrote: > On 7/29/2011 9:42 AM, Sebastien Vauban wrote: >> Here, I cd first to my config file, as I removed full paths from client.vpn >> config file: > > > >> I'm aware of cygpath, but still don't see clearly which are the best >> trade-off to be able to write portable shell code -- if possible. Any hint? > > Sounds to me like you're using a Windows version of OpenVPN. You'd need a > version built for Cygwin to make this transparent. Yes, I do use a Win32 binary. I first looked for openvpn in the Cygwin packages, but did not find any. I didn't dare yet trying to compile such a low-level application (network interface) in Cygwin, thinking it would never succeed. But who knows... Best regards, Seb -- Sebastien Vauban -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple