delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/23/22:10:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 23 Nov 2001 22:13:28 -0500
From: Jason Tishler <jason AT tishler DOT net>
To: Thomas Harte <tph1001 AT pacbell DOT net>
Cc: Cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: Whither a2ps.exe?
Message-ID: <20011123221328.D500@dothill.com>
Mail-Followup-To: Thomas Harte <tph1001 AT pacbell DOT net>,
Cygwin <cygwin AT sources DOT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <231101327.60974@webbox.com>
User-Agent: Mutt/1.3.18i

Thomas,

In the future, please post to cygwin AT cygwin DOT com instead of sending
private email so others can benefit too.

On Fri, Nov 23, 2001 at 04:56:15PM -0800, Thomas Harte wrote:
> I'm getting problems when I execute a2ps, however:
> 
> $ a2ps --file-align=fill --medium=Letter --toc ./*.m -o prt2.ps
> a2ps:/usr/local/etc/a2ps.cfg:7: invalid option `\r'
> 
> so I followed a tip I found in another post to replace blank
> lines in the /usr/local/etc/a2ps*.cfg files with '#' but that
> generated the following:
> 
> $ a2ps --file-align=fill --medium=Letter --toc ./*.m -o prt2.ps
> a2ps:/usr/local/etc/a2ps.cfg:150: invalid option `#?o!cat!psnup'
> 
> and so on.
> 
> Have you come across the above problems?

No.

> Any suggestions?

The above sounds like a text vs. binary mode problem.  Does a2ps.cfg have
CRNL line endings?  If so, then convert it and the other configuration
files to binary mode (i.e., NL line endings).  Otherwise, complete the
port so that a2ps can tolerate text mode configuration files.  Please
search the mailing list archives for the various way to accomplish this.

Thanks,
Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019