From owner-freebsd-stable Wed Dec 25 19:24:22 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 A662437B401 for ; Wed, 25 Dec 2002 19:24:20 -0800 (PST) Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A01C43E4A for ; Wed, 25 Dec 2002 19:24:20 -0800 (PST) (envelope-from pjklist@ekahuna.com) Received: from pc-17 (dyn205.ekahuna.com [198.144.200.205]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Wed, 25 Dec 2002 19:24:19 -0800 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: "Brandon S. Allbery " KF8NH Date: Wed, 25 Dec 2002 19:24:18 -0800 MIME-Version: 1.0 Subject: Re: Mergemaster editor problem Reply-To: pjklist@ekahuna.com Cc: stable@FreeBSD.ORG References: <20021226023312875.AAA83@empty1.ekahuna.com@dyn205.ekahuna.com> In-reply-to: <1040871700.6147.7.camel@rushlight.kf8nh.apk.net> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Message-ID: <20021226032419599.AAA347@empty1.ekahuna.com@dyn205.ekahuna.com> 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 25 Dec 2002 at 22:01, Brandon S. Allbery boldly uttered: > On Wed, 2002-12-25 at 21:33, Philip J. Koenig wrote: > > "%ex/vi: Vi's standard input and output must be a terminal > (...) > > mergemaster -v -C -w 132 2>&1 |tee -a > > So vi's standard output wasn't a terminal (it was the pipe to tee). > Sounds like "working as designed" to me. OK, I see your point - does the same thing if I use vi by itself piped to tee. So any suggestion on how to make this work without giving up the log of the general Mergemaster process? (all too often stuff scrolls by that I have to deal with later so the log is important to me) 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.) TIA, Phil -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message