From: Luc Hermitte <hermitte@free.fr>
To: cygwin@cygwin.com
Subject: [ANN] cyg-wrapper.sh
Date: Thu, 05 Dec 2002 19:33:00 -0000 [thread overview]
Message-ID: <20021206013757.GA976927@ORLYN> (raw)
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/
next reply other threads:[~2002-12-06 3:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-05 19:33 Luc Hermitte [this message]
2002-12-07 23:43 ` Soren A
2002-12-08 11:49 ` [ANN] cyg-wrapper.sh Luc Hermitte
2002-12-09 15:44 ` Soren A
2002-12-10 8:59 ` [ANN] cyg-wrapper.sh Matt Armstrong
2002-12-12 18:59 ` [ANN] cyg-wrapper.sh Luc Hermitte
2002-12-16 19:04 ` Matt Armstrong
2002-12-17 8:33 ` Luc Hermitte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021206013757.GA976927@ORLYN \
--to=hermitte@free.fr \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).