home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!umn.edu!csus.edu!netcom.com!parag
- From: parag@netcom.com (Parag Patel)
- Newsgroups: comp.unix.aux
- Subject: Re: Change Default Text Editor
- Message-ID: <c2yn85d.parag@netcom.com>
- Date: 14 Sep 92 21:18:34 GMT
- References: <jrh-140992080456@coyote.de.deere.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Lines: 27
-
- This may be in the FAQ already, but what the hey. Yes, this is
- possible, and I've played around with it a bit.
-
- In your ~/.profile, add something like this:
-
- FINDER_EDITOR=/mac/bin/TeachText
- or
- FINDER_EDITOR=$HOME/mac/BBEdit/BBEdit
-
- or wherever you put your copy of BBEdit. You will need to copy BBEdit
- over to your A/UX filesystem somewhere for the A/UX Finder to find it.
-
- Then logout and login again. All A/UX text files should look as if they
- are BBEdit files under the Finder, and double-clicking should work as
- expected.
-
- For fun, I tried
- FINDER_EDITOR=/usr/bin/vi
- and it worked! Well, it *almost* worked. CommandShell opens up a new
- window with "vi" running in it. Unfortunately, once the "vi" terminates
- (you exit the editor), the window doesn't go away and instead has an
- interactive shell prompt in it. I haven't figured out a workaround for
- this yet. Also, the A/UX vi can't open up a file on a MacOS partition
- like TeachText or BBEdit can.
-
-
- -- Parag
-