From owner-freebsd-questions Thu Oct 4 23:21:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 307E037B403 for ; Thu, 4 Oct 2001 23:21:33 -0700 (PDT) Received: (qmail 81726 invoked by uid 100); 5 Oct 2001 06:21:27 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15293.20839.392353.382944@guru.mired.org> Date: Fri, 5 Oct 2001 01:21:27 -0500 To: "Dan O'Connor" Cc: questions@freebsd.org Subject: Re: Automatically cvsupdating? In-Reply-To: <018f01c14d45$fb840520$059b140a@dan> References: <15292.6734.657188.339878@guru.mired.org> <018f01c14d45$fb840520$059b140a@dan> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dan O'Connor types: > > Um - just curious, but why are you making it HTML mail then wrapping > > it in PRE? Why not just leave it as text/plain? > > So that the e-mail shows up in a fixed-width font (Courier New) in Outlook > Express. Plain text shows up in a proportially-spaced font, and it's difficult > to read reports and logs. In other words, you're working around a bug in Outlook Express. As a warning to others, this kind of things works fine for cvsup, but for general text you need to filter it. > Then, create an executable file /usr/local/bin/cvsrun: > > echo "Subject: `hostname` weekly cvsup run" > echo "Content-type: text/html" > echo "" > echo "" > echo "
"
>     /usr/local/bin/cvsup -g -L 2 /usr/src/stable-supfile
>     echo "
" To be completely safe,that middle line should be: /usr/local/bin/cvsup -g -L 2 /usr/src/stable-supfile | sed -e 's/&/&/g' -e 's/ http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message