Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A more general approach' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A more general approach
Authored by: lee1 on Feb 14, '05 11:05:03PM

You've gone to a certain effort to solve the problem that you caused by using "open -a" rather than simply invoking the executable file in the bundle. For example, if you wanted to use TextEdit as your editor, you could define VISUAL to be


/Applications/TextEdit.app/Contents/MacOS/TextEdit

When a program shells out to this a new TextEdit process will start, which you quit when you are done, just as you are used to from older unix days. It just won't understand the line number argument. I happen to be using "see", as another poster mentioned too, which opens a SubEthaEdit window, but I used to do it the way described above.



[ Reply to This | # ]