help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Octave for Windows sourceforge release


From: Paul Kienzle
Subject: Re: New Octave for Windows sourceforge release
Date: Thu, 30 Mar 2006 19:58:31 -0500


On Mar 30, 2006, at 2:55 PM, Bill Denney wrote:

On Thu, 30 Mar 2006, Paul Billings wrote:

The fact that cygwin and windows-native paths are incompatible is not widely known. Actually, anyone that tries it will find out quickly enough. It is the solution that is not widely known. The trick of using cygpath in the editor command 1) needs to be documented, but 2) is windows specific -- and therefore I don't feel it should go into the cross-platform documentation (i.e., edit.m).

I think that a brief statement along the lines of the following would be good in the edit.m command (people who don't use cygwin can ignore it easily enough):

Note to Cygwin users: To use your favorite windows based editor (e.g. C:\Program Files\Good Editor\Editor.exe) with the edit command, you will need to setup your editor similarly to

edit editor 'C:/Program Files/Good Editor/Editor.exe `cygpath -wa %s`'

Okay, I added the bit on the end (or I will when sourceforge starts responding)

## editor
## This is the editor to use to modify the functions. By default it uses ## Octave's EDITOR state variable, which comes from getenv("EDITOR") and
##   defaults to vi.  Use %s in place of the function name.  E.g.,
##     [EDITOR, " %s"]
##       use the editor which Octave uses for bug_report
##     "xedit %s &"
##       pop up simple X11 editor in a separate window
##     "gnudoit -q \"(find-file \\\"%s\\\")\""
##       send it to current emacs; must have (gnuserv-start) in .emacs
##
##   On cygwin, you will need to convert the cygwin path to a windows
##   path if you are using a native Windows editor.  For example
##     '"C:/Program Files/Good Editor/Editor.exe" `cygpath -wa %s`'
##   Pay attention to the "" and ``; they are significant.
##

I don't see any need to patch the function body.

- Paul



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]