X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Matthew Woehlke Subject: Re: nedit windows integration Date: Wed, 08 Aug 2007 11:36:19 -0500 Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.4.0 In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Frederich, Eric P21322 wrote: > Matthew Woehlke Wrote : >> Instead of 'nedit', you could run.exe a script that looks >> something like: >> >> nedit $(cygpath -u "$1") > > I get an error "Can't open /usr/X11R6/bin/$(cygpath:..." > Can't read the entire error because it is in an unsizeable window. ...did you put it in a script, or try to feed it to 'run.exe' directly? It looks like you did the latter. "you could run.exe --> *a script* that looks something like... <--" You need to create a script (say, 'my-launch-nedit.sh') and call run.exe on that instead. The sample script I gave will call 'cygpath' on the first argument and feed the result to nedit. Hmm, also, a minor correction: nedit "$(cygpath -u "$1")" # note added quotes -- Matthew People say I'm going insane. I say, "what do you mean, 'going'?". -- 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/