home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.scheme:2796 comp.lang.lisp:3122
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!sun-barr!olivea!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uknet!gdt!aber!fronta.aber.ac.uk!pcg
- From: pcg@aber.ac.uk (Piercarlo Grandi)
- Newsgroups: comp.lang.scheme,comp.lang.lisp
- Subject: Re: Want history/command editing facilities in free Lisps
- Message-ID: <PCG.92Dec20215318@decb.aber.ac.uk>
- Date: 20 Dec 92 21:53:18 GMT
- References: <1992Dec8.150654.6516@st-andrews.ac.uk>
- <HANCHE.92Dec9104214@ptolemy.ams.sunysb.edu>
- <1992Dec15.034053.10061@midway.uchicago.edu> <4068@mitech.com>
- Sender: news@aber.ac.uk (USENET news service)
- Reply-To: pcg@aber.ac.uk (Piercarlo Grandi)
- Organization: Prifysgol Cymru, Aberystwyth
- Lines: 41
- In-Reply-To: gjc@mitech.com's message of 15 Dec 92 10: 49:06 GMT
- Nntp-Posting-Host: decb.aber.ac.uk
-
- On 15 Dec 92 10:49:06 GMT, gjc@mitech.com (George J. Carrette) said:
-
- gjc> (Marshall Abrams) writes:
-
- abrams> I'm really thankful to all of the free Lisp and Scheme
- abrams> implementors out there, but I want to put in a plug for adding a
- abrams> command line editing/history mechanism to these programs. If I
- abrams> were a real C programmer, and had time, I suppose I'd do it
- abrams> myself.
-
- gjc> You don't need to create any new program. The GNU software has a
- gjc> subroutine library for adding command-line editing.
-
- Nooooo! Don't! Don't use GNU readline! It will take over your 16
- processor Cray Y-MP only to fo line editing!
-
- The editline library has been posted to comp.sources, works well, is a
- drop in replacement for readline, and is about ten times smaller
- withoput losing any essential functionality.
-
- Moreover the schemish approach is not to link in the line editing
- library at all, if yoiu can help it; use a history front end, or a
- history line discipline. There are quite a few history front ends; for
- example the Reactive Keyboard. Screen 3.x can also be used as a history
- front end. They work for all programs, for all situations.
-
- gjc> On the other hand, it is not unusual to find that command line
- gjc> editors (and/or fancy rubout handlers) are in fact LARGER than
- gjc> otherwise complete LISP implementations like SIOD.
-
- 'editline' was worked upon by Rich $alz; he is almost a minimalist.
-
- gjc> Everything has its cost.
-
- Eventually we will see 'size gsync' print: '463872+89088+125952'
- or 'wc -l gsync.man' print '786'... :-) (GNU sync joke original
- due to Alec Muffett, hi!)
- --
- Piercarlo Grandi, Dept of CS, PC/UW@Aberystwyth <pcg@aber.ac.uk>
- E l'italiano cantava, cantava. E le sue disperate invocazioni giunsero
- alle orecchie del suo divino protettore, il dio della barzelletta
-