This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nedit windows integration


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]