From owner-freebsd-questions Wed Feb 21 16:49:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from christel.heitec.net (christel.heitec.net [193.101.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 390CD37B65D for ; Wed, 21 Feb 2001 16:49:28 -0800 (PST) (envelope-from bdluevel@heitec.net) Received: from heitec.net (paladin.heitec.net [193.101.232.30]) by christel.heitec.net (Postfix) with ESMTP id 05E01B8103; Thu, 22 Feb 2001 01:49:27 +0100 (CET) Message-ID: <3A946216.1BD3E52D@heitec.net> Date: Thu, 22 Feb 2001 01:49:26 +0100 From: Bernd Luevelsmeyer X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Forrest Aldrich Cc: freebsd-questions@freebsd.org Subject: Re: Mergemaster References: <5.0.2.1.2.20010221145752.00a97030@216.67.14.69> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Forrest Aldrich wrote: > > I've been using these args for mergmaster: > > # mergemaster -v -t /tmp/merge.mmdd -w 120 2>&1 | tee /tmp/merge.root > > We have these out-of-band console modems (serial) that we connect to, in > order to perform system updates. The problem we're running into is that > when mergemaster scrolls stuff (diffs) across the screen (especially > sendmail.cf diffs), the characters cause the OOB modem to lock up. > > Last night, I ended up having to travel to our co-lo and do maintenance > from the screens through 4am. Not a happy camper. > > I'm wondering if there is some way to suppress the build or comparison/diff > of certain packages... or even the scrolling diff output of mergemaster. > > For example, we build and maintain our own sendmail and named. Even though > we have /etc/make.conf configured not to build sendmail, we still run into > the need to diff when performing mergemaster. It seems there must be a > way to avoid this. > > I'm sure I'm not the only one bitten by this little problem. Luckily it > doesn't happen a lot, but when it does (at 4:00am) it really does :) mergemaster will use the program pointed to by your PAGER envronment variable to display the diffs. You could write your own program (perhaps a shell script around 'grep' and 'more') which will leave out the offending characters, and set PAGER to that. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message