Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 9 Jun 2005 10:18:44 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Error piping data through a cygwin command using rsh (write system call fails) Message-ID: <20050609081844.GE11065@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i On Jun 8 14:44, Johnny B. Goode wrote: > We're using a windows 2000 based server running cygwin as a development > environment for porting our AIX-based software to the Windows platform. > > When we extract the compiled programs, we connect to the cygwin server > using rsh, passing a file list as input, returning a gzip'ed CPIO archive > as output using a command like: > > cat filelist | rsh cygserver -l logname "cd /directory ; cpio -oc | > gzip" > output.cpio.gz > > This is executed from an AIX server (running AIX 5.3), effectively packing > files from the filelist in a CGZ-archive that ends up back on the AIX > server. The problem is, however, that gzip on the cygwin server terminates > prematurely with the error "gzip: stdout: Invalid argument". Did you try gzip -c ? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/