Skip site navigation (1)Skip section navigation (2)
Date:      25 Dec 2002 23:36:51 -0500
From:      "Brandon S. Allbery " KF8NH <allbery@ece.cmu.edu>
To:        pjklist@ekahuna.com
Cc:        stable@FreeBSD.ORG
Subject:   Re: Mergemaster editor problem
Message-ID:  <1040877411.6147.10.camel@rushlight.kf8nh.apk.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1040877411.6147.10.camel>