From owner-freebsd-stable Wed Dec 25 20:37: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F9A137B401 for ; Wed, 25 Dec 2002 20:37:02 -0800 (PST) Received: from ece.cmu.edu (ECE.CMU.EDU [128.2.136.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F59143ED1 for ; Wed, 25 Dec 2002 20:37:01 -0800 (PST) (envelope-from allbery@ece.cmu.edu) Received: from [10.9.204.1] (allbery@dhcp-57-198.dsl.telerama.com [205.201.57.198]) (authenticated) by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id gBQ4asW21819; Wed, 25 Dec 2002 23:36:54 -0500 (EST) Subject: Re: Mergemaster editor problem From: "Brandon S. Allbery " KF8NH To: pjklist@ekahuna.com Cc: stable@FreeBSD.ORG In-Reply-To: <20021226032419599.AAA347@empty1.ekahuna.com@dyn205.ekahuna.com> References: <20021226023312875.AAA83@empty1.ekahuna.com@dyn205.ekahuna.com> <20021226032419599.AAA347@empty1.ekahuna.com@dyn205.ekahuna.com> Content-Type: text/plain Organization: Message-Id: <1040877411.6147.10.camel@rushlight.kf8nh.apk.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 25 Dec 2002 23:36:51 -0500 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 2002-12-25 at 22:24, Philip J. Koenig wrote: > I know about the "script" command but according to the manpage: > > "Certain interactive commands, such as vi(1), create garbage in the > typescript file. The script utility works best with commands that > do not manipulate the screen." > > (Actually I don't mind garbage in the output logfile, as long as it > doesn't corrupt the rest of the file. I can just ignore or remove > that section.) That's all you need to do; since vi does direct cursor movement you'll likely have a handful of very long lines filled with escape sequences where the vi session is. If you really care about it, make sure $EDITOR is a line-mode editor instead. (Not that most people want to subject themselves to ed these days.... :) -- brandon s allbery [openafs/solaris/japh/freebsd] allbery@kf8nh.apk.net system administrator [linux/heimdal/too many hats] allbery@ece.cmu.edu electrical and computer engineering KF8NH carnegie mellon university [better check the oblivious first -ke6sls] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message