From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 14:08:02 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FA3B106564A for ; Thu, 14 Jul 2011 14:08:02 +0000 (UTC) (envelope-from lidl@hydra.pix.net) Received: from hydra.pix.net (hydra.pix.net [71.241.230.60]) by mx1.freebsd.org (Postfix) with ESMTP id D07FC8FC0A for ; Thu, 14 Jul 2011 14:08:01 +0000 (UTC) Received: from hydra.pix.net (localhost [127.0.0.1]) by hydra.pix.net (8.14.4/8.14.4) with ESMTP id p6EE6j0X060674; Thu, 14 Jul 2011 10:06:45 -0400 (EDT) (envelope-from lidl@hydra.pix.net) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97 at mail.pix.net Received: (from lidl@localhost) by hydra.pix.net (8.14.4/8.14.4/Submit) id p6EE6jAK060673; Thu, 14 Jul 2011 10:06:45 -0400 (EDT) (envelope-from lidl) Date: Thu, 14 Jul 2011 10:06:45 -0400 From: Kurt Lidl To: Zhihao Yuan Message-ID: <20110714140645.GA60562@pix.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers@freebsd.org Subject: Re: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2011 14:08:02 -0000 On Thu, Jul 14, 2011 at 01:22:49AM -0500, Zhihao Yuan wrote: > Second, the perl/tcl interpreter support; you can apply a perl/tcl > command to the file whiling you are editing. I beg no one here used > this feature before. Bzzt. I've used the perl interpreter before on a project. In that case, we were using vi as an editor for some very large text fields that were handled via perl to retrieve/store them into a database, done through a DBI proxy daemon. We could do multiple edits this way, without having to capture the field to a scratch file, invoke vi on it, again and again. One persistant vi... At the time, the speed mattered. > If the logic is simple, you can use subst; if > it's not, you'd better write a script and run perl/tcl outside. I > regard it as feature creep, and I don't like it. > > Any comments? I don't really care that the perl/tcl integration stays or goes, but it's certainly not "never been used". -Kurt