home *** CD-ROM | disk | FTP | other *** search
-
- >>Escuse me if this is a simple question, but i am a Unix novice.
- >>What is the best way to go between VI & Franz when debugging a
- >>program? The way I currently do it is to ctrl-Z out of Franz,
- >>FG to my VI process, correct my code, FG back to FRANZ, load the
- >>corrected code. Is there a better way (do not tell me about
- >>Emacs because that is not an option)?
-
- It's undocumented in the franz opus 37 manual, but may be in the opus
- 38: In franz, type (vi foo) and lisp will spin up vi. If it can't
- find the file foo, it tries for foo.l before creating a new file. If
- you invoke it as (vil foo), it will load foo back in after you exit
- from vi. There are similar functions called ex and exl.
-
- If you're using BSD4.2, you probably have opus 38. A new book is out
- called Lispcraft. It is based on franz, opus 38 in particular. You
- might want to pick that up. The old standby, Lisp, by Winston and
- Horn, documented Maclisp which is close to franz. Their new, 2nd
- edition is based on Common Lisp, however, which is different, so watch
- out!
-
- If you don't like ex or vi (say you're an ed-masochist), there are hooks
- for other editors. Put the following in the .lisprc file in your home
- directory:
-
- (def ed (nlambda (x)
- (exvi 'ed x nil)))
- (def edl (nlambda (x)
- (exvi 'ed x t)))
-
- These will give you the same function as ex/vi and exl/vil except
- using ed. These functions are found in /usr/lib/lisp/auxfns0.l (opus
- 37, anyway).
-
- Dick Dramstad
- rad@mitre-bedford
-
-
-