home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.scheme:2735 comp.lang.lisp:3073
- Newsgroups: comp.lang.scheme,comp.lang.lisp
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!quads!ab2r
- From: ab2r@quads.uchicago.edu (Marshall Abrams)
- Subject: Want history/command editing facilities in free Lisps
- Message-ID: <1992Dec15.034053.10061@midway.uchicago.edu>
- Summary: Just wanted to suggest that implementors add this feature
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: ab2r@midway.uchicago.edu
- Organization: University of Chicago Computing Organizations
- References: <1992Dec8.150654.6516@st-andrews.ac.uk> <HANCHE.92Dec9104214@ptolemy.ams.sunysb.edu>
- Date: Tue, 15 Dec 1992 03:40:53 GMT
- Lines: 56
-
- In article <HANCHE.92Dec9104214@ptolemy.ams.sunysb.edu>
- hanche@ams.sunysb.edu (Harald Hanche-Olsen) writes:
-
- >Simple scheme implementations like scm with just a simple line
- >oriented interface are only fun to use on operating systems like unix
- >where you can use good editors like emacs for a front end.
-
- I'm really thankful to all of the free Lisp and Scheme
- implementors out there, but I want to put in a plug for adding a
- command line editing/history mechanism to these programs. If I
- were a real C programmer, and had time, I suppose I'd do it
- myself. (Hmm--Maybe I'll try to do a portable one in Lisp some
- time. I suppose I know enough to do this. Now, if I only had
- more time...:-) Anyway, it would be a really nice feature
- for those of us who use Lisps in operating systems like MSDOS. I
- can get by pretty well at this point just typing things in and
- backspacing back to typos--I've been playing with Lisp long
- enough that my mental parentheses-matcher is fairly accurate.
- But being able to edit and go back to prior entries is handier.
- This is especially true for people starting out with Lisp. Not
- having a history mechanism (or an editor interface such as Gnu
- Emacs (or GW-BASIC, for that matter)) negates a lot of the
- benefits to novices of using an interpreted language. But anyone
- who's not an expert probably wants to experiment by typing in
- this or that at some point. Probably gurus need to do this
- sometimes, too, at least to make quick changes to variables. And
- it's just so much easier if you can recall and edit past lines.
-
- (The history mechanism is one of my favorite things about the
- one commercial product I've got, Star Sapphire Common Lisp.)
-
- So how about it, implementors? I know it's extra work, but if
- you're doing enhancements anyway, I suggest that this ought to be
- fairly high on your list.
-
- (Xlisp-Plus 2.1 does allow you to use DOS command line
- facilities. So if you've got something set up in DOS to give you
- history/editing, you get it for free in Xlisp-Plus. It's nice.
- (Thanks, Tom Almy.) The drawback is that DOS gets to see the
- keystrokes before Xlisp does, and then a Ctrl-C aborts Xlisp
- rather than just your Lisp form. It's also possible to use small
- Lisps within the Epsilon editor, which I've done sometimes with
- Xlisp, XScheme, and SCM (I think), but it's messy. The Lisp often
- gets confused about what you've typed in. You think you've
- entered a final paren, but between Epsilon and Lisp, it never got
- there.)
-
-
- Anyway, thanks again to free Lisp implementors, whether your
- Lisps have history mechanism or not.
-
-
- Marshall Abrams
- ab2r@midway.uchicago.edu
-
- (BTW, I am aware of the +, ++, +++ abbreviations, but this isn't
-