From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12204 invoked by alias); 6 Dec 2002 03:14:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 12173 invoked from network); 6 Dec 2002 03:14:49 -0000 Received: from unknown (HELO postfix3-1.free.fr) (213.228.0.44) by sources.redhat.com with SMTP; 6 Dec 2002 03:14:49 -0000 Received: from orlyn (toulouse-4-a7-62-147-201-30.dial.proxad.net [62.147.201.30]) by postfix3-1.free.fr (Postfix) with SMTP id 8967DC099 for ; Fri, 6 Dec 2002 04:14:47 +0100 (CET) User-Agent: Mutt/1.4i Hamster-Fr/2.0.1.10 Received: from localhost (HELO @) [127.0.0.1] by orlyn (192.168.0.1) with SMTP (Hamster-Fr 2.0 Vr. 2.0.1.10) ; Fri, 06 Dec 2002 02:37:59 +0100 Date: Thu, 05 Dec 2002 19:33:00 -0000 From: Luc Hermitte To: cygwin@cygwin.com Subject: [ANN] cyg-wrapper.sh Message-ID: <20021206013757.GA976927@ORLYN> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-SW-Source: 2002-12/txt/msg00332.txt.bz2 Hello, cyg-wrapper v2.2 has been uploaded on my web site: http://hermitte.free.fr/cygwin/#Win32 http://hermitte.free.fr/cygwin/cyg-wrapper.sh cyg-wrapper is a shell script that helps to run, from cygwin, command-line applications that have been compiled for windows only ; ie: applications un-aware and independant of the cygwin layer.[1] cyg-wrapper converts pathname arguments, passed to win32 programs, from the written form (unix/dos/windows ; relative or absolute) to the DOS (short [2] ; and absolute) form that win32 command-line programs understand. It extends what cygpath do, to every pathname arguments, and resolves the symbolic links. A typical way of use is for instance: alias gvim='cyg-wrapper.sh "C:/Progra~1/Edition/vim/vim61/gvim.exe" -binary-opt=-c,--cmd,-T,-t,--servername,--remote-send,--remote-expr --fork=1' that defines the alias 'gvim' which: - calls the win32 version of Gvim, - converts every pathname argument (identified as beeing those that do not begin with '+' or '-', and that do not directly follow '-c', '--cmd', '-T', ...) - forks immediately ; which replaces the disabled '-f' option of the win32 version of gvim. Note: the latest version of cyg-wrapper requires cygUtils and more precisally realpath. An older but slower version is also available on my web site. Feedback appreciated. [1] BTW, Is there a canonical expression to designate such applications ? I tend to use "native win32 applications/programs", but I'm not sure it is really correct in English. [2] This form has been privileged because of the MsWindows 9x series. -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/