Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.cpm » Homebrew Text Editor Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Homebrew Text Editor Question [message #118391] Tue, 24 September 2013 14:12
db21 is currently offline  db21
Messages: 19
Registered: May 2013
Karma: 0
Junior Member
Message-ID: <896@ihuxk.UUCP>
Date: Mon, 11-Mar-85 07:00:14 EST
Article-I.D.: ihuxk.896
Posted: Mon Mar 11 07:00:14 1985
Date-Received: Tue, 12-Mar-85 21:56:08 EST
Distribution: net
Organization: AT&T Bell Laboratories
Lines: 21
Xref: watmath net.micro:9669 net.micro.cpm:3719


	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!
Re: Homebrew Text Editor Question [message #119467 is a reply to message #118391] Fri, 15 March 1985 18:33 Go to previous message
al is currently offline  al
Messages: 168
Registered: May 2013
Karma: 0
Senior Member
Article-I.D.: psivax.367
Posted: Fri Mar 15 18:33:23 1985
Date-Received: Sun, 17-Mar-85 02:26:25 EST
References: <896@ihuxk.UUCP>
Reply-To: al@psivax.UUCP (Al Schwartz)
Distribution: net
Organization: Pacesetter Systems Inc., Sylmar, CA
Lines: 31
Xref: watmath net.micro:9732 net.micro.cpm:3755
Summary: 

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
Re: Homebrew Text Editor Question [message #119497 is a reply to message #118391] Sun, 17 March 1985 14:15 Go to previous message
gbs is currently offline  gbs
Messages: 15
Registered: June 2013
Karma: 0
Junior Member
Article-I.D.: voder.723
Posted: Sun Mar 17 14:15:51 1985
Date-Received: Fri, 22-Mar-85 02:17:31 EST
References: <896@ihuxk.UUCP> <367@psivax.UUCP>
Distribution: net
Organization: National Semiconductor, Santa Clara
Lines: 32
Xref: watmath net.micro:9782 net.micro.cpm:3785

 >  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
Re: Homebrew Text Editor Question [message #119505 is a reply to message #118391] Thu, 21 March 1985 20:29 Go to previous message
ravi is currently offline  ravi
Messages: 85
Registered: March 2013
Karma: 0
Member
Article-I.D.: mcnc.424
Posted: Thu Mar 21 20:29:29 1985
Date-Received: Sat, 23-Mar-85 01:33:20 EST
References: <896@ihuxk.UUCP> <367@psivax.UUCP> <723@voder.UUCP>
Reply-To: ravi@mcnc.UUCP (Ravi Subrahmanyan)
Followup-To: RED
Distribution: net.micro.atari
Organization: Microelectronics Center of NC; RTP, NC
Lines: 9
Xref: watmath net.micro:9792 net.micro.cpm:3793
Summary: 


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]
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Query re: Unix/C Prologs
Next Topic: Z80A/Z80B pinout
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Mar 29 01:56:09 EDT 2024

Total time taken to generate the page: 0.00432 seconds