This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]