This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Windows Editor problem
- From: Raphael <raphael at oninet dot pt>
- To: Michael Hoffman <grouse at mail dot utexas dot edu>
- Cc: cygwin at cygwin dot com
- Date: Sat, 3 Aug 2002 21:46:55 +0100
- Subject: Re: Windows Editor problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 3 Aug 2002, Michael Hoffman wrote:
> If you want to set EDITOR perhaps you could make a shell script which does
> the cygpathing.
Thanks again and here is the resulting scriptfile:
#!/bin/sh
c:/Textpad/TextPad.exe `cygpath -w $1`
I named it CygTextPad and put it in /usr/bin
Now you can edit your profile file and add
EDITOR="/bin/CygTextPad"
Runs like a dream. Anyone who wants to try it should take care of the
TextPad pathname though. Make sure it reflects your setup.
Raphael
- --
Monday, n.:
In Christian countries, the day after the baseball game.
-- Ambrose Bierce, "The Devil's Dictionary"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Cygwin32)
iD8DBQE9TEFGWEtPuWPcngsRAr9TAJ95T7T/aM9qE3xurM5BCrdA+DVjXACguZg0
EnM+SAIIOJvnUg7GHfcLdnA=
=FgUO
-----END PGP SIGNATURE-----
--
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/