From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: editor and word processor history (was: Re: RTF for emacs) Date: Thu, 29 May 2014 21:31:18 -0600 Message-ID: <20140530033118.GA2506@hysteria.proulx.com> References: <87ha4d64r2.fsf@robertthorpeconsulting.com> <87bnuho13m.fsf@debian.uxu> <874n09nz3c.fsf_-_@debian.uxu> <87a9a0ohfk.fsf@indiana.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1401420708 23453 80.91.229.3 (30 May 2014 03:31:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2014 03:31:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 30 05:31:43 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WqDXh-0006Je-Vy for geh-help-gnu-emacs@m.gmane.org; Fri, 30 May 2014 05:31:42 +0200 Original-Received: from localhost ([::1]:51229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqDXg-0003zs-U7 for geh-help-gnu-emacs@m.gmane.org; Thu, 29 May 2014 23:31:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqDXR-0003zl-7r for help-gnu-emacs@gnu.org; Thu, 29 May 2014 23:31:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WqDXL-0004qy-Tk for help-gnu-emacs@gnu.org; Thu, 29 May 2014 23:31:25 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:34810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqDXL-0004q6-NI for help-gnu-emacs@gnu.org; Thu, 29 May 2014 23:31:19 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 9A79B2183A for ; Thu, 29 May 2014 21:31:18 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 67EE02DC25; Thu, 29 May 2014 21:31:18 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87a9a0ohfk.fsf@indiana.edu> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97961 Archived-At: Allan Streib wrote: > Emanuel Berg writes: > > For the Unix world, I have read there was once an > > editor called ed that didn't showed the file being > > manipulated at all - the "state" of the file, as it was > > called (unbelievable). Once was and still is too. The GNU ed is available. http://www.gnu.org/software/ed/ > Teletypes and other brands of paper-based "terminals" were commonplace > then. You didn't need (nor was it practical) for the editor to display > the contents of the file, when it was already printed on the paper in > front of you. So you used sed-like search/replace commands. When I was at university I wrote thousands of lines of code using qed (a precurser to ed on the old Honeywell GCOS system) and paper terminals over acoustic coupled modems. If nothing else it will teach you how to use regular expressions at a very deep level! Editors like ed are actually very efficient if you know how to use them. > Even the first CRTs were dumb (aka "glass teletypes") and didn't have > addressable cursors. You cloud clear and redraw the screen maybe, which > was painful at 110 or 300 baud. Agreed. Very painful. From first hand experience. Here is a funny modern day ed story. Well it is funny to me anyway. At one time I and another buddy George were helping someone with a problem he was working on. It came time to edit a file. I told him "Edit the file by your favorite method." I usually avoid saying "emacs the file" or "vi(m) the file". Everyone prefers a different editor. Use whatever editor you normally use. For whatever reason this person typed in "ed thefilename" and then looked up at me. I knew it was a typing mistake. I should have said, "Do you really mean to use ed on that file?" But instead I looked at George. George looked at me. We had both used ed a lot in the past. Out of a sense of perversity we both said together, "Okay. Let's do it!" And then we began to give him 'ed' editing instructions for the file. It was a short file so "1,$p" to see it all and then "3s/foo/bar/p", "g/baz/s//foo/" and so forth to make the needed changes. Editing went pretty quick. "wq" writes the file and quits. Afterward this person asked George and myself why had we used ed? I said that we didn't have anything to do with that choice. He was driving the keyboard. The choice of editor was his! I am still chuckling about it. But I guess this is one of those where you had to be there... I still prefer emacs however. Bob