| delorie.com/archives/browse.cgi | search |
| 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, 03 Aug 2002 12:02:37 -0500 (Central Daylight Time) |
| From: | Michael Hoffman <grouse AT mail DOT utexas DOT edu> |
| Subject: | Re: Windows Editor problem |
| In-reply-to: | <Pine.CYG.4.44.0208031632170.1264-100000@toos> |
| X-X-Sender: | grouse AT mail DOT utexas DOT edu |
| To: | cygwin AT cygwin DOT com |
| Message-id: | <Pine.WNT.4.44.0208031155450.1604-100000@barbecueworld> |
| MIME-version: | 1.0 |
On Sat, 3 Aug 2002, Raphael wrote:
> EDITOR=c:/Textpad/TextPad.exe
>
> [...]
> It starts ok, but any file passed through by cygwin misses the first
> two characters. An example /tmp/crontab.1188 would become mp/crontab.1188
TextPad appears to be processing /tmp/crontab.1188 as the /t option
followed by the file name. Non-Cygwin programs generally don't support
Cygwin paths. Use cygpath. Here's an example for use with Emacs, a
non-Cygwin program:
emacs ()
{
command emacs "`cygpath -w \"$@\"`" &
}
If you want to set EDITOR perhaps you could make a shell script which does
the cygpathing.
--
Michael Hoffman <grouse AT mail DOT utexas DOT edu>
The University of Texas at Austin
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |