db21@ihuxk.UUCP (Dave Beyerl) (03/11/85)
Its taken me a while, but I am finally getting around to reading some of the classic "how to" computer science/programming texts. Currently, I am working on Kernighan & Plauger's "Software Tools" and have found it interesting reading. In particular, I find the section on editing most interesting and am considering coding the editor, edit, that they present. The text seems quite complete, and the exercises present some useful suggestions for improvements. As I am running a CP/M rather than a Unix-like system, I realize there will be some differences in the file handling routines and possibly a few other places. What I would like to know is whether anyone else has attempted this conversion and what was your experience? Please no flames about why I would want to do this when there a SO many editors available, I have my reasons. Please reply by mail. Thanks in advance for your help. For every problem there is one Dave Beyerl solution which is simple, neat, ihuxk!db21 and wrong!
al@psivax.UUCP (Al Schwartz) (03/16/85)
In article <896@ihuxk.UUCP> db21@ihuxk.UUCP (Dave Beyerl) writes: > Its taken me a while, but I am finally getting around to >reading some of the classic "how to" computer science/programming >texts. Currently, I am working on Kernighan & Plauger's "Software >Tools" and have found it interesting reading. In particular, I >find the section on editing most interesting and am considering >coding the editor, edit, that they present. The text seems >quite complete, and the exercises present some useful suggestions >for improvements. >For every problem there is one Dave Beyerl >solution which is simple, neat, ihuxk!db21 There is someone who has converted this editor to C and made improvements to it. He now sells the source code. The product is called "RED". For more info contact: Edward K. Ream RED: $95 1850 Summit Ave. Manual: $10 Madison, WI 53705 (608) 231-2952 Versions available: CPM80 (requires BDS C or AZTEC CII compiler). MSDOS (binary is shipped along with source, no compiler is required). CPM68K (Digital Research C V1.1 is required). -- Hey bud... Let's party. Al Schwartz Pacesetter Systems Inc., Sylmar, CA {trwrb|allegra|burdvax|cbosgd|hplabs|ihnp4|sdcsvax|aero|uscvax|ucla-cs| bmcg|sdccsu3|csun|orstcs|akgua|randvax}!sdcrdcf!psivax!al or {seismo|citcsv|engvax|wlbr|zeus}!scgvaxd!psivax!al
gbs@voder.UUCP (George Smith) (03/17/85)
> In article <896@ihuxk.UUCP> db21@ihuxk.UUCP (Dave Beyerl) writes: > >texts. Currently, I am working on Kernighan & Plauger's "Software > >Tools" and have found it interesting reading. In particular, I > >find the section on editing most interesting and am considering > >coding the editor, edit, that they present. > > There is someone who has converted this editor to C and made improvements > to it. He now sells the source code. The product is called "RED". > For more info contact: > > Edward K. Ream RED: $95 > -- > Hey bud... Let's party. Al Schwartz > Pacesetter Systems Inc., Sylmar, CA I am afraid I have to disagree with Mr Schwartz. I have studied and modified the code to RED (both versions that were published in Dr Dobb's). And I have converted Kernighan & Plauger's ratfor text editor, edit, to C (BDS C running on CPM-80 v2.2). The only similarity is that they both will edit text. RED is NOT a C version of edit. It is NOT a version of edit with screen handling added on top. They are very different in command structure, internal data structures, internal code structure, etc, as you would expect coming from two different people. There was an effort out of the University of Arizona to add screen handling to edit but it was primative compared to vi or emacs (I think it was only to show that it could be done with little effort). I hope that this does not step on any toes but only serves to help. -- George B. Smith National Semiconductor ...!{ihnp4!nsc | decvax!decwrl!nsc | ucbvax}!voder!gbs
ravi@mcnc.UUCP (Ravi Subrahmanyan) (03/22/85)
This is a question re. editors available in cpm 2.2, etc. Is there a public domain version of something like vi or emacs available? Or a commercial version? Perhaps something in BDS C, or Turbo, or something like that? I don't know what 'edit' from Kernighan & Plaugher is like, but is it a screen editor (the impression I gathered from the letters here concerning RED is that it is not..). Thanks in advance, [Ravi]