delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/03/16:44:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <raphael AT oninet DOT pt>
To: Michael Hoffman <grouse AT mail DOT utexas DOT edu>
cc: cygwin AT cygwin DOT com
Subject: Re: Windows Editor problem
In-Reply-To: <Pine.WNT.4.44.0208031155450.1604-100000@barbecueworld>
Message-ID: <Pine.CYG.4.44.0208032140040.1160-100000@toos>
MIME-Version: 1.0

-----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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019