From owner-freebsd-questions@FreeBSD.ORG Thu Jun 25 11:45:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAC4C1065768 for ; Thu, 25 Jun 2009 11:45:58 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 54F988FC1B for ; Thu, 25 Jun 2009 11:45:58 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n5PBjnOq027931; Thu, 25 Jun 2009 13:45:49 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n5PBjnGj027930; Thu, 25 Jun 2009 13:45:49 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Thu, 25 Jun 2009 13:45:49 +0200 From: Ruben de Groot To: "John L. Templer" Message-ID: <20090625114549.GA26683@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , "John L. Templer" , Manish Jain , bf1783@googlemail.com, FreeBSD Mailing List References: <4A430505.2020909@gmail.com> <4A430CDF.2010205@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A430CDF.2010205@comcast.net> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Thu, 25 Jun 2009 13:45:53 +0200 (CEST) Cc: Manish Jain , bf1783@googlemail.com, FreeBSD Mailing List Subject: Re: The question of moving vi to /bin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 11:45:59 -0000 On Thu, Jun 25, 2009 at 01:36:31AM -0400, John L. Templer typed: > > ed is an interactive program, and it has always been considered as such, > at least since BSD 4.2. Way back then there were three main editors, > ex, vi, and ed. If you had a nice video terminal then you used vi. But > if you were stuck using a hard copy terminal like a Decwriter, then you > used ex. And ed was the simplified (dumbed down) editor for newbies. > > ed is an interactive program because the user "interacts" with it. You > give it command, it does something, you give it some more commands, it > does more stuff, etc. Interactive does not mean screen based. ed can be used very well non-interactively. e.g. a script made by diff -e can be piped to it. Ruben