Path: utzoo!attcan!uunet!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.misc Subject: Would the real Brian Beattie please stand up? Keywords: Software Tools 'ed' in C. Message-ID: <5639@ficc.uu.net> Date: 10 Aug 89 20:16:54 GMT Organization: Xenix Support, FICC Lines: 54 I have a copy of a C implementation of the software tools 'ed' editor that I would like to expand. The author is listed as one Brian Beattie, but no other information is to be found in the code. If you are, or if you know, the Brian Beattie involved would you send me mail. Thanks. Here's the start of 'ed.c'. This code is obviously based on the code in Kernighan and Plauger's "Software Tools" or "Software Tools in Pascal". /* * Copyright 1987 Brian Beattie Rights Reserved. * * Permission to copy and/or distribute granted under the * following conditions: * * 1). No charge may be made other than resonable charges * for reproduction. * * 2). This notice must remain intact. * * 3). No further restrictions may be added. * */ #include #include "tools.h" #include "ed.h" #include jmp_buf env; LINE line0; int curln = 0; int lastln = 0; char *inptr; static char inlin[MAXLINE]; int nflg, lflg, pflg, pflag; int line1, line2, nlines; extern char fname[]; int version = 1; Here's the first part of the 'tags' file: Med ed.c ?^main(argc,argv)$? amatch amatch.c ?^amatch(lin, pat, boln)$? append append.c ?^append(line, glob)$? catsub catsub.c ?^catsub(from, to, sub, new, newend)$? ckglob ckglob.c ?^ckglob()$? clrbuf setbuf.c ?^clrbuf()$? deflt deflt.c ?^deflt(def1, def2)$? del del.c ?^del(from, to)$? docmd docmd.c ?^docmd(glob)$? -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: peter@ficc.uu.net, +1 713 274 5180. | "The sentence I am now Personal: peter@sugar.hackercorp.com. `-_-' | writing is the sentence Quote: Have you hugged your wolf today? 'U` | you are now reading"