Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: Thomas Harte Cc: Cygwin Subject: Re: Whither a2ps.exe? Message-ID: <20011123221328.D500@dothill.com> Mail-Followup-To: Thomas Harte , Cygwin 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 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/