Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Sat, 3 Aug 2002 21:46:55 +0100 From: Raphael To: Michael Hoffman cc: cygwin AT cygwin DOT com Subject: Re: Windows Editor problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII -----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/