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://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Message-ID: | <4358567B.3060204@cygwin.com> |
Date: | Thu, 20 Oct 2005 22:46:19 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0 |
MIME-Version: | 1.0 |
To: | Paminu <fedevaps AT yahoo DOT dk> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Problems opening files from run menu |
References: | <dj5lpi$ok7$1 AT sea DOT gmane DOT org> <20051019145018 DOT GD3521 AT trixie DOT casa DOT cgf DOT cx> <dj5oac$2li$1 AT sea DOT gmane DOT org> |
In-Reply-To: | <dj5oac$2li$1@sea.gmane.org> |
Paminu wrote: > "Christopher Faylor" <cxxx AT xxx DOT xxx> skrev i en > meddelelse ... > >>On Wed, Oct 19, 2005 at 04:38:43PM +0200, Paminu wrote: >> >>>I have a xfig file in: >>> >>>c:\cygwin\home\test\test.fig >>> >>>I can open this xfig file from the run menu like: >>>bash --login -e startxprog xfig c:/cygwin/home/test/test.fig >>> >>>I also have a .dvi file in: >>>c:\cygwin\home\test\test.dvi >>> >>>But when I type: >>>bash --login -e startxprog xdvi c:/cygwin/home/test/test.dvi >>> >>>Nothing happens. Why is it possible to open a file like this with xfig but >>>not with xdvi??? >> >>How about using UNIX-like paths rather than Windows paths, that being >>one the main reasons for Cygwin's existence? >> >> bash --login -e startxprog xdvi /home/test/test.dvi > > > > That works fine. But the problem is when I execute xdvi from emacs. Then > this gets inserted: > c:/cygwin/home/test/test.dvi > > if I could just get emacs to only type /home/test/test.dvi it would work. > > But I think it is wierd that xfig accepts the full path while xdvi only > accept the path excluding c:/cygwin, but maybe its a bug in xdvi. Hm. If only there were some Cygwin utility that could do something amazing like... I know! It could take a DOS/Windows path and turn it into a POSIX one for Cygwin. Wouldn't that be neat? I hope someone someday makes just such a program. Then things like emacs could use it and the world would be right again. And if someone ever did write such a utility, I would suggest it be called some snazzy name like 'cygpath'. Yeah, that has quite a ring to it. Boy it will be a great day when we have such a utility!* * 'cygpath' already exists. :-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |