From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1661 invoked by alias); 19 Oct 2005 15:37:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1600 invoked by uid 22791); 19 Oct 2005 15:37:13 -0000 Received: from c-24-61-23-223.hsd1.ma.comcast.net (HELO cgf.cx) (24.61.23.223) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 19 Oct 2005 15:37:13 +0000 Received: by cgf.cx (Postfix, from userid 201) id 27EE413C101; Wed, 19 Oct 2005 15:37:12 +0000 (UTC) Date: Wed, 19 Oct 2005 15:37:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: Problems opening files from run menu Message-ID: <20051019153712.GF3521@trixie.casa.cgf.cx> Reply-To: cygwin@cygwin.com References: <20051019145018.GD3521@trixie.casa.cgf.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-10/txt/msg00583.txt.bz2 On Wed, Oct 19, 2005 at 05:21:50PM +0200, Paminu wrote: >"Christopher Faylor" skrev i en >meddelelse news:20051019145018.GD3521@trixie.casa.cgf.cx... >> 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. It is not a bug for a UNIX utility to be confused by MS-DOS paths. If emacs is using MS-DOS paths then the bug lies there. cgf -- 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/