From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7447 invoked from network); 22 May 2005 12:12:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 May 2005 12:12:35 -0000 Received: (qmail 4942 invoked from network); 22 May 2005 12:12:28 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 May 2005 12:12:28 -0000 Received: (qmail 12502 invoked by alias); 22 May 2005 12:12:19 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8890 Received: (qmail 12488 invoked from network); 22 May 2005 12:12:18 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 22 May 2005 12:12:18 -0000 Received: (qmail 3695 invoked from network); 22 May 2005 12:12:18 -0000 Received: from her-isrv.ionific.com (195.197.252.67) by a.mx.sunsite.dk with SMTP; 22 May 2005 12:12:13 -0000 Received: from her-gw.ionific.com ([195.197.252.66] helo=trews52.bothi.fi) by her-isrv.ionific.com with esmtp (Exim 3.35 #1 (Debian)) id 1DZpJC-0002KJ-00; Sun, 22 May 2005 15:11:54 +0300 Received: from azure by trews52.bothi.fi with local (Exim 3.36 #1 (Debian)) id 1DZpJB-00057B-00; Sun, 22 May 2005 15:11:53 +0300 To: Meino Christian Cramer Cc: zsh-users@sunsite.dk Subject: Re: More general zsh-scripting question Mail-copies-to: nobody From: Hannu Koivisto Date: Sun, 22 May 2005 15:11:43 +0300 In-Reply-To: <20050522.070041.74749928.Meino.Cramer@gmx.de> (Meino Christian Cramer's message of "Sun, 22 May 2005 07:00:41 +0200 (CEST)") Message-ID: <87d5rjlatc.fsf@trews52.bothi.fi> User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3 (i386-pc-linux-gnu) References: <20050522.070041.74749928.Meino.Cramer@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Hannu Koivisto X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Meino Christian Cramer writes: > cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/snd login > cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/snd update -d cvs-snd > index=1 > > When the second line is executed, the login: prompt stops execution > of the script and waits for the . > > Is there a way to automate this ? Login is not needed with a reasonably modern CVS client. Try this instead (without login): cvs -z3 -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/snd update -d cvs-snd Note the ":" after "anonymous". Meino Christian Cramer writes: > From: Andrey Borzenkov >> Why do you need cvs login in script? You only have to do login once, then CVS >> remembers login/password/repository combination and does not ask for it >> anymore. > > As I mentioned I have a couple of projects from the net for which I > do updates via cvs. Not all use the same cvs server. cvs only stores > one login/password/repository combination. Huh? Are you using some odd CVS client? The standard CVS client has stored an unlimited number of login/password/repository combinations for as long as I can remember. -- Hannu