OS-X "open" command suddenly stopped working with jEdit
Submitted by Tuesday, 7 March, 2006 - 14:31
on
Help please! I've enjoyed using jEdit under OS-X but I suddently cannot open files from the command line and I don't know how to troubleshoot this.
For months I've been using this csh alias to open files in jEdit from the command line:
je: aliased to open -a ~/Applications/jEdit\ 4.2/jEdit.app !*
For example:
csh: je junk.txt
This suddenly stopped working. jEdit will start but will not load the specified file. Of course our system adminstrator installs software updates from Apple all the time, but I can't tell whether this is a failure of Apple's "open" command or a failure of jEdit. Has anyone else seen this problem?
If I explicitly run the jEdit executable like this:
~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub junk.txt
then it mistakenly starts a NEW file named junk.txt in the jEdit install directory.
Only if I give the full path to the existing file will it open it:
~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub ~/junk.txt
Any help is much appreciated.
Patrick Broos
Astronomy Department
Penn State University
For months I've been using this csh alias to open files in jEdit from the command line:
je: aliased to open -a ~/Applications/jEdit\ 4.2/jEdit.app !*
For example:
csh: je junk.txt
This suddenly stopped working. jEdit will start but will not load the specified file. Of course our system adminstrator installs software updates from Apple all the time, but I can't tell whether this is a failure of Apple's "open" command or a failure of jEdit. Has anyone else seen this problem?
If I explicitly run the jEdit executable like this:
~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub junk.txt
then it mistakenly starts a NEW file named junk.txt in the jEdit install directory.
Only if I give the full path to the existing file will it open it:
~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub ~/junk.txt
Any help is much appreciated.
Patrick Broos
Astronomy Department
Penn State University