home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / scheme / 2796 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.6 KB

  1. Xref: sparky comp.lang.scheme:2796 comp.lang.lisp:3122
  2. 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
  3. From: pcg@aber.ac.uk (Piercarlo Grandi)
  4. Newsgroups: comp.lang.scheme,comp.lang.lisp
  5. Subject: Re: Want history/command editing facilities in free Lisps
  6. Message-ID: <PCG.92Dec20215318@decb.aber.ac.uk>
  7. Date: 20 Dec 92 21:53:18 GMT
  8. References: <1992Dec8.150654.6516@st-andrews.ac.uk>
  9.     <HANCHE.92Dec9104214@ptolemy.ams.sunysb.edu>
  10.     <1992Dec15.034053.10061@midway.uchicago.edu> <4068@mitech.com>
  11. Sender: news@aber.ac.uk (USENET news service)
  12. Reply-To: pcg@aber.ac.uk (Piercarlo Grandi)
  13. Organization: Prifysgol Cymru, Aberystwyth
  14. Lines: 41
  15. In-Reply-To: gjc@mitech.com's message of 15 Dec 92 10: 49:06 GMT
  16. Nntp-Posting-Host: decb.aber.ac.uk
  17.  
  18. On 15 Dec 92 10:49:06 GMT, gjc@mitech.com (George J. Carrette) said:
  19.  
  20. gjc> (Marshall Abrams) writes:
  21.  
  22. abrams> I'm really thankful to all of the free Lisp and Scheme
  23. abrams> implementors out there, but I want to put in a plug for adding a
  24. abrams> command line editing/history mechanism to these programs.  If I
  25. abrams> were a real C programmer, and had time, I suppose I'd do it
  26. abrams> myself.
  27.  
  28. gjc> You don't need to create any new program. The GNU software has a
  29. gjc> subroutine library for adding command-line editing.
  30.  
  31. Nooooo! Don't! Don't use GNU readline! It will take over your 16
  32. processor Cray Y-MP only to fo line editing!
  33.  
  34. The editline library has been posted to comp.sources, works well, is a
  35. drop in replacement for readline, and is about ten times smaller
  36. withoput losing any essential functionality.
  37.  
  38. Moreover the schemish approach is not to link in the line editing
  39. library at all, if yoiu can help it; use a history front end, or a
  40. history line discipline. There are quite a few history front ends; for
  41. example the Reactive Keyboard. Screen 3.x can also be used as a history
  42. front end. They work for all programs, for all situations.
  43.  
  44. gjc> On the other hand, it is not unusual to find that command line
  45. gjc> editors (and/or fancy rubout handlers) are in fact LARGER than
  46. gjc> otherwise complete LISP implementations like SIOD.
  47.  
  48. 'editline' was worked upon by Rich $alz; he is almost a minimalist.
  49.  
  50. gjc> Everything has its cost.
  51.  
  52. Eventually we will see 'size gsync' print: '463872+89088+125952'
  53. or 'wc -l gsync.man' print '786'... :-) (GNU sync joke original
  54. due to Alec Muffett, hi!)
  55. --
  56. Piercarlo Grandi, Dept of CS, PC/UW@Aberystwyth <pcg@aber.ac.uk>
  57.   E l'italiano cantava, cantava. E le sue disperate invocazioni giunsero
  58.   alle orecchie del suo divino protettore, il dio della barzelletta
  59.