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

Thomas,

In the future, please post to cygwin@cygwin.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/

