From MAILER-DAEMON Fri Sep 14 23:15:32 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TCiqy-0006fJ-3A
	for mharc-bug-enscript@gnu.org; Fri, 14 Sep 2012 23:15:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41107)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mike.mcmac@third-harmonic.com>) id 1TCdwL-0002xv-Nk
	for bug-enscript@gnu.org; Fri, 14 Sep 2012 18:00:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mike.mcmac@third-harmonic.com>) id 1TCdwK-0006Z3-Iq
	for bug-enscript@gnu.org; Fri, 14 Sep 2012 18:00:45 -0400
Received: from mail10c26.carrierzone.com ([66.175.40.164]:34814)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mike.mcmac@third-harmonic.com>) id 1TCdwK-0006Yx-CU
	for bug-enscript@gnu.org; Fri, 14 Sep 2012 18:00:44 -0400
X-Authenticated-User: third_harmonic.myfairpoint.net
Received: from anvil.third-harmonic.com
	(stat-bng-72-73-80-12.ngn.east.myfairpoint.net [72.73.80.12])
	(authenticated bits=0)
	by mail10c26.carrierzone.com (8.13.6/8.13.1) with ESMTP id
	q8EM0c5w030547; Fri, 14 Sep 2012 22:00:39 GMT
Message-ID: <5053A83A.7060506@third-harmonic.com>
Date: Fri, 14 Sep 2012 17:57:14 -0400
From: Michael McMac <mike.mcmac@third-harmonic.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: bug-enscript@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-CSC: 0
X-CHA: v=1.1 cv=DCZ//WG/PHcsPYyYs5uOXiukyk64/O+lRhPNWgxni88= c=1 sm=1
	a=8iEie87WbnsA:10 a=qGiKOT35gGIA:10 a=8m5bK8wCYxcA:10 a=8nJEP1OIZ-IA:10
	a=z0zpaTH0yP2UMNBzZfFMNw==:17 a=svgsc3E8WJ1K6xnjh9MA:9 a=wPNLvfGTeEIA:10
	a=z0zpaTH0yP2UMNBzZfFMNw==:117
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A02020B.5053A90A.0140, ss=1, re=0.000, recu=0.000,
	reip=0.000, cl=1, cld=1, fgs=0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.175.40.164
X-Mailman-Approved-At: Fri, 14 Sep 2012 23:15:31 -0400
Cc: Michael McMac <mike.mcmac@third-harmonic.com>
Subject: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Sep 2012 22:00:46 -0000

I'm trying to get enscript to generate 2 long columns in portrait
mode.  With a suitably scaled font this results in exactly that
with about 80h x 121v output:

   # enscript -T4  -Ec --color --toc -2 -B --nup-columnwise -j -f Courier5 -K -o out.ps <files>

The problem is the rightmost column remains empty for short
files as it appears enscript wants to align the next file on
a physical page boundary vs. the next column boundary.  Is
there any way to force file alignment to a column boundary such
that the otherwise wasted blank columns are suppressed?

FWIW using -U2 in either portrait or landscape modes doesn't
generate the long portrait column rendering I'm after.

I'm not claiming this is a bug -- likely I'm just missing
some option.  However the man page doesn't seem to touch on
this and I'm unsure what other forum would be suitable to
address such a usage question.

Thanks,

-mike

 


From MAILER-DAEMON Sat Sep 15 04:04:59 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TCnN5-0006ZC-Ow
	for mharc-bug-enscript@gnu.org; Sat, 15 Sep 2012 04:04:59 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55637)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TCnN2-0006YV-DL
	for bug-enscript@gnu.org; Sat, 15 Sep 2012 04:04:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TCnN0-0008F5-UK
	for bug-enscript@gnu.org; Sat, 15 Sep 2012 04:04:56 -0400
Received: from mail-iy0-f169.google.com ([209.85.210.169]:42076)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TCnN0-0008Ez-O6
	for bug-enscript@gnu.org; Sat, 15 Sep 2012 04:04:54 -0400
Received: by iagk10 with SMTP id k10so4512769iag.0
	for <bug-enscript@gnu.org>; Sat, 15 Sep 2012 01:04:53 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=mime-version:x-originating-ip:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type:x-gm-message-state;
	bh=+GVjB9uPjK1NqdEdk40+5gzKMR85BleYTE1PVaGXByY=;
	b=nHIfpUcyXtgjiAdQ2mH4FcZXvmggsDhFBIho9wdjJs3w6eXWZkkwoCMlDsub3VqnTP
	KTDdP7G7NA3Gu4ILzA0jH6FBwdOQBj3x7DOUHAv9jDE/H0yPtododJEVhR2YP6jHY4Aq
	wc7ahDu8q2Tog//wUsGBdfhm+YHgVjV5ExqjGsmkGPOFqJ+w4EvZ8DcOx3u8uZAzpqjx
	oU9mKjAuwHeI8wZky37IUi+5oJaCNVN5kIGfCepztBGS2Wt6nD1ncqTFp86anJntBinY
	o7dQqjA3KR4tqNJf5ETXL3aPs648Q0MzLltgO9CPN876qWNxxv8Brorv9MQ4dQR0BDQS
	efVQ==
MIME-Version: 1.0
Received: by 10.50.168.105 with SMTP id zv9mr802891igb.73.1347696293240; Sat,
	15 Sep 2012 01:04:53 -0700 (PDT)
Received: by 10.64.62.233 with HTTP; Sat, 15 Sep 2012 01:04:52 -0700 (PDT)
X-Originating-IP: [87.194.129.19]
In-Reply-To: <5053A83A.7060506@third-harmonic.com>
References: <5053A83A.7060506@third-harmonic.com>
Date: Sat, 15 Sep 2012 09:04:52 +0100
Message-ID: <CADc0ge9akCmA9iebLNyBiNq_GnjKCmyK_8=1g+x-+HSjHGOD1w@mail.gmail.com>
From: Tim Retout <tim@retout.co.uk>
To: Michael McMac <mike.mcmac@third-harmonic.com>
Content-Type: multipart/alternative; boundary=e89a8f923c14d2ddf904c9b8fe4f
X-Gm-Message-State: ALoCoQnc77pWJuFrihpNCjbn6dzFeYtTqXT8fwOmTFdjb4SyVHORvp1KpNMjUm7avBL2zBr0HZRE
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.210.169
Cc: bug-enscript@gnu.org
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Sep 2012 08:04:58 -0000

--e89a8f923c14d2ddf904c9b8fe4f
Content-Type: text/plain; charset=UTF-8

On 14 September 2012 22:57, Michael McMac <mike.mcmac@third-harmonic.com>wrote:

> I'm trying to get enscript to generate 2 long columns in portrait
> mode.  With a suitably scaled font this results in exactly that
> with about 80h x 121v output:
>
>    # enscript -T4  -Ec --color --toc -2 -B --nup-columnwise -j -f Courier5
> -K -o out.ps <files>
>
> The problem is the rightmost column remains empty for short
> files as it appears enscript wants to align the next file on
> a physical page boundary vs. the next column boundary.  Is
> there any way to force file alignment to a column boundary such
> that the otherwise wasted blank columns are suppressed?
>

Good question!

FWIW using -U2 in either portrait or landscape modes doesn't
> generate the long portrait column rendering I'm after.
>

Yes, when using -U/--nup the portrait or landscape mode is chosen based on
the n-up option - it alternates between portrait and landscape based on the
power of two that was passed, so that the pages will fit proportionately
(at least with A4 paper, I guess).  So there's no way to use n-up to have
portrait columns at present.

--nup-columnwise will only have an effect with -U4 or higher - it changes
the order in which the logical pages are put into the boxes on the physical
page, going down the columns before going across.

So you want columns like -2, but without forcing a new page on each new
input file.  I honestly don't know if this is possible without patching
enscript.

I'm not claiming this is a bug -- likely I'm just missing
> some option.  However the man page doesn't seem to touch on
> this and I'm unsure what other forum would be suitable to
> address such a usage question.
>

Don't worry, this was the right place to ask.

-- 
Tim Retout <tim@retout.co.uk>

--e89a8f923c14d2ddf904c9b8fe4f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On 14 September 2012 22:57, Michael McMac <span =
dir=3D"ltr">&lt;<a href=3D"mailto:mike.mcmac@third-harmonic.com" target=3D"=
_blank">mike.mcmac@third-harmonic.com</a>&gt;</span> wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">
I&#39;m trying to get enscript to generate 2 long columns in portrait<br>
mode. =C2=A0With a suitably scaled font this results in exactly that<br>
with about 80h x 121v output:<br>
<br>
=C2=A0 =C2=A0# enscript -T4 =C2=A0-Ec --color --toc -2 -B --nup-columnwise =
-j -f Courier5 -K -o <a href=3D"http://out.ps" target=3D"_blank">out.ps</a>=
 &lt;files&gt;<br>
<br>
The problem is the rightmost column remains empty for short<br>
files as it appears enscript wants to align the next file on<br>
a physical page boundary vs. the next column boundary. =C2=A0Is<br>
there any way to force file alignment to a column boundary such<br>
that the otherwise wasted blank columns are suppressed?<br></blockquote><di=
v><br></div><div>Good question!</div><div><br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">

FWIW using -U2 in either portrait or landscape modes doesn&#39;t<br>
generate the long portrait column rendering I&#39;m after.<br></blockquote>=
<div><br></div><div>Yes, when using -U/--nup the portrait or landscape mode=
 is chosen based on the n-up option - it alternates between portrait and la=
ndscape based on the power of two that was passed, so that the pages will f=
it proportionately (at least with A4 paper, I guess). =C2=A0So there&#39;s =
no way to use n-up to have portrait columns at present.</div>
<div><br></div><div>--nup-columnwise will only have an effect with -U4 or h=
igher - it changes the order in which the logical pages are put into the bo=
xes on the physical page, going down the columns before going across.</div>
<div><br></div><div>So you want columns like -2, but without forcing a new =
page on each new input file. =C2=A0I honestly don&#39;t know if this is pos=
sible without patching enscript.</div><div><br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">

I&#39;m not claiming this is a bug -- likely I&#39;m just missing<br>
some option. =C2=A0However the man page doesn&#39;t seem to touch on<br>
this and I&#39;m unsure what other forum would be suitable to<br>
address such a usage question.<br></blockquote><div><br></div><div>Don&#39;=
t worry, this was the right place to ask.</div><div><br></div></div>-- <br>=
Tim Retout &lt;<a href=3D"mailto:tim@retout.co.uk" target=3D"_blank">tim@re=
tout.co.uk</a>&gt;<br>


--e89a8f923c14d2ddf904c9b8fe4f--


From MAILER-DAEMON Mon Sep 17 02:32:32 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TDUsi-00020O-Hb
	for mharc-bug-enscript@gnu.org; Mon, 17 Sep 2012 02:32:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47581)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <uhmgawa@member.fsf.org>) id 1TD6VP-0004Uu-3C
	for bug-enscript@gnu.org; Sun, 16 Sep 2012 00:30:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <uhmgawa@member.fsf.org>) id 1TD6VL-00087n-Ro
	for bug-enscript@gnu.org; Sun, 16 Sep 2012 00:30:50 -0400
Received: from mail14c26.carrierzone.com ([66.175.40.166]:54199)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <uhmgawa@member.fsf.org>) id 1TD6VL-00087a-KT
	for bug-enscript@gnu.org; Sun, 16 Sep 2012 00:30:47 -0400
X-Authenticated-User: third_harmonic.myfairpoint.net
Received: from anvil.third-harmonic.com
	(stat-bng-72-73-80-12.ngn.east.myfairpoint.net [72.73.80.12])
	(authenticated bits=0)
	by mail14c26.carrierzone.com (8.13.6/8.13.1) with ESMTP id
	q8G4UfBJ020532; Sun, 16 Sep 2012 04:30:42 GMT
Message-ID: <50555524.9090604@member.fsf.org>
Date: Sun, 16 Sep 2012 00:27:16 -0400
From: uhmgawa <uhmgawa@member.fsf.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Tim Retout <tim@retout.co.uk>
References: <5053A83A.7060506@third-harmonic.com>
	<CADc0ge9akCmA9iebLNyBiNq_GnjKCmyK_8=1g+x-+HSjHGOD1w@mail.gmail.com>
In-Reply-To: <CADc0ge9akCmA9iebLNyBiNq_GnjKCmyK_8=1g+x-+HSjHGOD1w@mail.gmail.com>
Content-Type: multipart/mixed; boundary="------------030509040305080805010404"
X-CSC: 0
X-CHA: v=1.1 cv=W4FlPJmFF1rdyNA2pYdtX5qPo3jBUwbeivg1Aybx0u0= c=1 sm=1
	a=8iEie87WbnsA:10 a=38EMxlH4-_wA:10 a=plP-Bdj6GPsA:10
	a=z0zpaTH0yP2UMNBzZfFMNw==:17 a=Y6JJKmIpAAAA:8 a=BQwMppV2ADl1uTq-BhcA:9
	a=QEXdDO2ut3YA:10 a=V_msMhXgnbQA:10 a=0INOHB3fRkPraBjZW4cA:9
	a=z0zpaTH0yP2UMNBzZfFMNw==:117
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A020205.505555F6.002D, ss=1, re=0.000, recu=0.000,
	reip=0.000, cl=1, cld=1, fgs=0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.175.40.166
X-Mailman-Approved-At: Mon, 17 Sep 2012 02:32:31 -0400
Cc: Michael McMac <mike.mcmac@third-harmonic.com>, bug-enscript@gnu.org
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 16 Sep 2012 04:30:52 -0000

This is a multi-part message in MIME format.
--------------030509040305080805010404
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

On 09/15/2012 04:04 AM, Tim Retout wrote:
> On 14 September 2012 22:57, Michael McMac <mike.mcmac@third-harmonic.com <mailto:mike.mcmac@third-harmonic.com>> wrote:

>     FWIW using -U2 in either portrait or landscape modes doesn't
>     generate the long portrait column rendering I'm after.
> 
> 
> Yes, when using -U/--nup the portrait or landscape mode is chosen based on the n-up option - it alternates between portrait and landscape based on the power of two that was passed, so that the pages will fit proportionately (at least with A4 paper, I guess).  So there's no way to use n-up to have portrait columns at present.
> 
> --nup-columnwise will only have an effect with -U4 or higher - it changes the order in which the logical pages are put into the boxes on the physical page, going down the columns before going across.
> 
> So you want columns like -2, but without forcing a new page on each new input file.
> I honestly don't know if this is possible without patching enscript.

I don't believe it is possible currently with enscript.  For reference a2ps
can achieve a long vertical column rendering in portrait mode as:

    # a2ps --pro=color -A fill -T 4 --toc -R -o outfile.ps <input_files>

..and arguably does a respectable job.  The syntax highlighting however
I believe is more accurate and versatile under enscript.

I'd poked at this briefly just to ferret out the relevant synapses in the
code and was able to get -U2 to eek out roughly the equivalent format with
the attached hardwired patch and the following invocation:

    # enscript -T4 -Ec --color --toc -U2 -j -R -B -o outfile.ps <input_files>

This trivial patch isn't represented as solution and I'm sure it has a slew
of caveats and undesirable interactions with other options which need to be
resolved.

Incidentally concerning "-2" my quick observation of the code leads me
to believe generating the same output would be considerably more involved.
This option doesn't really appear structured to accommodate more than one
input file per physical page.

--------------030509040305080805010404
Content-Type: text/x-patch;
 name="enscript-longcol.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="enscript-longcol.diff"

diff --git a/src/main.c b/src/main.c
index 136b293..0c5efbd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -25,6 +25,8 @@
 #include "gsint.h"
 #include "getopt.h"
 
+#define __PORTRAIT_LONGCOL__
+
 /*
  * Prototypes for static functions.
  */
@@ -1353,6 +1355,10 @@ name             width\theight\tllx\tlly\turx\tury\n\
     nup_columns = 1;
 
   nup_landscape = nup_exp & 0x1;
+#ifdef __PORTRAIT_LONGCOL__
+  nup_landscape = !nup_landscape;
+#endif
+printf("LANDSAPE %d nup_rows %d nup_columns %d\n", landscape, nup_rows, nup_columns);
 
 
   /*
@@ -1368,6 +1374,9 @@ name             width\theight\tllx\tlly\turx\tury\n\
     {
       d_page_w = media->urx - media->llx;
       d_page_h = media->ury - media->lly;
+#ifdef __PORTRAIT_LONGCOL__
+      d_page_h *= 2;
+#endif
     }
 
   /*

--------------030509040305080805010404--


From MAILER-DAEMON Tue Sep 18 18:57:59 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TE6jv-0002hq-FH
	for mharc-bug-enscript@gnu.org; Tue, 18 Sep 2012 18:57:59 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54314)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <karl@freefriends.org>) id 1TE6jt-0002hk-IN
	for bug-enscript@gnu.org; Tue, 18 Sep 2012 18:57:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <karl@freefriends.org>) id 1TE6js-0000ve-L9
	for bug-enscript@gnu.org; Tue, 18 Sep 2012 18:57:57 -0400
Received: from frenzy.freefriends.org ([66.54.153.139]:42059
	helo=freefriends.org) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <karl@freefriends.org>) id 1TE6js-0000vU-DE
	for bug-enscript@gnu.org; Tue, 18 Sep 2012 18:57:56 -0400
X-Envelope-From: karl@freefriends.org
Received: from freefriends.org (localhost [127.0.0.1])
	by freefriends.org (8.14.5/8.14.5) with ESMTP id q8IMvt8u004826;
	Tue, 18 Sep 2012 16:57:55 -0600
Received: (from nobody@localhost)
	by freefriends.org (8.14.5/8.14.5/submit) id q8IMvsWV004825;
	Tue, 18 Sep 2012 22:57:54 GMT
Date: Tue, 18 Sep 2012 22:57:54 GMT
Message-Id: <201209182257.q8IMvsWV004825@freefriends.org>
X-Authentication-Warning: frenzy.freefriends.org: nobody set sender to
	karl@freefriends.org using -f
From: karl@freefriends.org (Karl Berry)
To: uhmgawa@member.fsf.org, bug-enscript@gnu.org
In-Reply-To: <50555524.9090604@member.fsf.org>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 66.54.153.139
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Sep 2012 22:57:58 -0000

    The syntax highlighting however
    I believe is more accurate and versatile under enscript.

Do you have a particular test case?

Anyway, enscript and a2ps (and the lesser-known trueprint) all do
basically the same job: convert text to PostScript.  It would be ideal
if there ware one program with the best parts from each.  Not a simple
job, I know, but usually GNU has only one package for a given job, so
effort is not fragmented.  As it has been here, for all the historical
reasons ...

Tim graciously volunteered to keep enscript going, and that is certainly
much better than staleness, but a different project to combine the
programs would be very welcome.

Thanks,
Karl


From MAILER-DAEMON Tue Sep 18 23:22:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TEAsM-0004Or-MV
	for mharc-bug-enscript@gnu.org; Tue, 18 Sep 2012 23:22:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58811)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <uhmgawa@member.fsf.org>) id 1TEAsL-0004Oc-0G
	for bug-enscript@gnu.org; Tue, 18 Sep 2012 23:22:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <uhmgawa@member.fsf.org>) id 1TEAsJ-0008PB-Us
	for bug-enscript@gnu.org; Tue, 18 Sep 2012 23:22:56 -0400
Received: from mail11c26.carrierzone.com ([66.175.40.165]:54488)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <uhmgawa@member.fsf.org>) id 1TEAsJ-0008P2-Na
	for bug-enscript@gnu.org; Tue, 18 Sep 2012 23:22:55 -0400
X-Authenticated-User: third_harmonic.myfairpoint.net
Received: from anvil.third-harmonic.com
	(stat-bng-72-73-80-12.ngn.east.myfairpoint.net [72.73.80.12])
	(authenticated bits=0)
	by mail11c26.carrierzone.com (8.13.6/8.13.1) with ESMTP id
	q8J3MjEl003480; Wed, 19 Sep 2012 03:22:46 GMT
Message-ID: <505939B3.2000208@member.fsf.org>
Date: Tue, 18 Sep 2012 23:19:15 -0400
From: uhmgawa <uhmgawa@member.fsf.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: bug-enscript@gnu.org, karl@freefriends.org
References: <201209182257.q8IMvsWV004825@freefriends.org>
In-Reply-To: <201209182257.q8IMvsWV004825@freefriends.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-CSC: 0
X-CHA: v=1.1 cv=ThiTb2R4C3hXbzvdGa9umCKUoSpBsmZF9wVprkK1otM= c=1 sm=1
	a=8iEie87WbnsA:10 a=38EMxlH4-_wA:10 a=plP-Bdj6GPsA:10 a=8nJEP1OIZ-IA:10
	a=z0zpaTH0yP2UMNBzZfFMNw==:17 a=bkvkgX7Y_Yhk0zuPfiEA:9 a=wPNLvfGTeEIA:10
	a=z0zpaTH0yP2UMNBzZfFMNw==:117
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A02020A.50593A8A.001C, ss=1, re=0.000, recu=0.000,
	reip=0.000, cl=1, cld=1, fgs=0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.175.40.165
Cc: uhmgawa <uhmgawa@member.fsf.org>
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Sep 2012 03:22:58 -0000

On 09/18/2012 06:57 PM, Karl Berry wrote:
>     The syntax highlighting however
>     I believe is more accurate and versatile under enscript.
> 
> Do you have a particular test case?

Nothing specific -- it was just a subjective observation.  However
enscript does appear to have considerably better (documented) highlight
coverage and accommodation of various input file formats.

> Anyway, enscript and a2ps (and the lesser-known trueprint) all do
> basically the same job: convert text to PostScript.  It would be ideal
> if there ware one program with the best parts from each.

My thoughts exactly.  But regrettably I wouldn't expect them to become
reconciled anytime soon, if ever.

> Not a simple
> job, I know, but usually GNU has only one package for a given job, so
> effort is not fragmented.  As it has been here, for all the historical
> reasons ...

I hadn't poked at trueprint.  But I see it has a specific option to
generate the output I was after from enscript:

    --two-tall-up     print 2-on-1 at 4-on-1 pointsize

Although it appears to have the same align-next-file-on-next-physical-page
hard wired behavior as does enscript with the "-2" column option.
So a2ps is the only utility which supports this as-is.  However
a2ps seems to overkill the amount of decoration shrouding a page
to my taste.  Perhaps there is some way to tone this down.

> Tim graciously volunteered to keep enscript going, and that is certainly
> much better than staleness, but a different project to combine the
> programs would be very welcome.

Agreed.  Is there a feature list which captures whatever significant,
unique features from a2ps, etc.. exist?  I can't say I've exactly
evaluated the internal structure of enscript vs. a2ps but baring some
internal fiasco it would be most advantageous to pool effort within
a single codebase.





From MAILER-DAEMON Wed Sep 19 17:57:44 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TESHA-0007nZ-Oi
	for mharc-bug-enscript@gnu.org; Wed, 19 Sep 2012 17:57:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41250)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TESH7-0007n0-Na
	for bug-enscript@gnu.org; Wed, 19 Sep 2012 17:57:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TESH6-0003RZ-05
	for bug-enscript@gnu.org; Wed, 19 Sep 2012 17:57:41 -0400
Received: from mail-iy0-f169.google.com ([209.85.210.169]:38057)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TESH5-0003RO-PM
	for bug-enscript@gnu.org; Wed, 19 Sep 2012 17:57:39 -0400
Received: by iaby26 with SMTP id y26so1127968iab.0
	for <bug-enscript@gnu.org>; Wed, 19 Sep 2012 14:57:38 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=mime-version:x-originating-ip:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type:x-gm-message-state;
	bh=mLPbWTeh5PqKFLL4BYNUT8LczJWtSRACAQuUpa8n/9Y=;
	b=aHVXHJ2m7DTCA65BOlPlZpgw1UXxL1MDKrPe2W24dudWM2xTRkFblwE2Ctpd9VfOiZ
	msRHukBR4d2o2UcdwgsT/eBGHEW8zU4ItPusjt47iQPe1rlivD21f/eY3wz/oY4Ykb3a
	z4+orAU2f+/X+OUn1upB2WRm6dkzxWUBZLG6BMc0jpqBeNVrFyEPW4fHRSbtRu/0Axb+
	wJ6iEQrbff3go+gjfWZlHjjXhH4dOm5b03zqQkSy3TIoo0XSuFqW0mPQWpfmcYBcW9tN
	6obhlMaX81q7BQL23g+Hv5pAE/2kaz5eZOuxDhcfxQY+lejEkfAF1g3k+vrblgNYep0T
	U+LA==
MIME-Version: 1.0
Received: by 10.50.168.105 with SMTP id zv9mr4004107igb.73.1348091858436; Wed,
	19 Sep 2012 14:57:38 -0700 (PDT)
Received: by 10.64.62.233 with HTTP; Wed, 19 Sep 2012 14:57:38 -0700 (PDT)
X-Originating-IP: [87.194.129.19]
In-Reply-To: <505939B3.2000208@member.fsf.org>
References: <201209182257.q8IMvsWV004825@freefriends.org>
	<505939B3.2000208@member.fsf.org>
Date: Wed, 19 Sep 2012 22:57:38 +0100
Message-ID: <CADc0ge9SRO+j3jagDaJmiNda7qJ9nVWgg+xXeBtfM8dTgvTeUg@mail.gmail.com>
From: Tim Retout <tim@retout.co.uk>
To: uhmgawa <uhmgawa@member.fsf.org>
Content-Type: multipart/alternative; boundary=e89a8f923c1458c37a04ca151801
X-Gm-Message-State: ALoCoQnmjQdjBn2lGSIjnaVoHTxBtT/Cd0iHntqyHBcR+cErGwaq7r++3sYfQfm/TjjbqqKoAzgn
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.210.169
Cc: bug-enscript@gnu.org
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Sep 2012 21:57:43 -0000

--e89a8f923c1458c37a04ca151801
Content-Type: text/plain; charset=UTF-8

On 19 September 2012 04:19, uhmgawa <uhmgawa@member.fsf.org> wrote:

> I can't say I've exactly
> evaluated the internal structure of enscript vs. a2ps but baring some
> internal fiasco it would be most advantageous to pool effort within
> a single codebase.
>

Well, I'll give my point of view.

There are two binaries in GNU Enscript:  'enscript' and 'states'.  The
latter is an awk-like tool that can process highlighting files.  The former
is mostly a wrapper around 'states', except it also handles generation of
postscript output.  Note that 'states' handles all other output formats
itself, currently.

I don't like how 'states' needs to be invoked as a binary by the 'enscript'
wrapper.  It's caused security issues in the past - and half of the
codebase is probably complex option passing/parsing.  I just don't like
working with Enscript's code.

Enscript's strengths are:
- highlighting uses a real parser (not just keyword matching)
- language support can be added without rebuilding Enscript, and a bunch of
syntax files have already been written.
- it has support for output formats beyond PostScript (unlike a2ps).

However, GNU source-highlight is a strong competitor on all these points.
 That program now uses external language definitions since version 2.0 -
and from the docs, there's support for stateful matches (which ought to be
enough to build good highlighting):

http://www.gnu.org/software/src-highlite/source-highlight.html#State_002fEnvironment-Definitions

Source-highlight does not support PostScript output, but it does support 10
others, so it seems quite flexible.  Also, it's written in C++, which might
be an issue.

Rather than getting a2ps to invoke a highlighting binary, I would prefer
that one of these tools ('states' or 'source-highlight') gets turned into a
library, so that the highlighting can be used by multiple wrapper programs.
 Then we focus syntax highlighting efforts in one place, and make use of it
in a2ps, enscript, and wherever else.

Oh wait, version 3.0 of source-highlight apparently provides a C++ library.
 Great!  It should be feasible to wrap it for calling from C.  Then figure
out how to plumb it into a2ps, and you've combined the more flexible
PostScript generation with better highlighting.

There might be loose ends like supporting RTF output somewhere, but that's
a much smaller problem.

-- 
Tim Retout <tim@retout.co.uk>

--e89a8f923c1458c37a04ca151801
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On 19 September 2012 04:19, uhmgawa <span dir=3D=
"ltr">&lt;<a href=3D"mailto:uhmgawa@member.fsf.org" target=3D"_blank">uhmga=
wa@member.fsf.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>I can&#39;t say I&#39;ve exactly</div>
evaluated the internal structure of enscript vs. a2ps but baring some<br>
internal fiasco it would be most advantageous to pool effort within<br>
a single codebase.<br></blockquote><div><br></div><div>Well, I&#39;ll give =
my point of view.</div><div><br></div><div>There are two binaries in GNU En=
script: =C2=A0&#39;enscript&#39; and &#39;states&#39;. =C2=A0The latter is =
an awk-like tool that can process highlighting files. =C2=A0The former is m=
ostly a wrapper around &#39;states&#39;, except it also handles generation =
of postscript output. =C2=A0Note that &#39;states&#39; handles all other ou=
tput formats itself, currently.</div>

<div><br></div><div><div>I don&#39;t like how &#39;states&#39; needs to be =
invoked as a binary by the &#39;enscript&#39; wrapper. =C2=A0It&#39;s cause=
d security issues in the past - and half of the codebase is probably comple=
x option passing/parsing. =C2=A0I just don&#39;t like working with Enscript=
&#39;s code.</div>
</div><div><br></div><div>Enscript&#39;s strengths are:</div><div>- highlig=
hting uses a real parser (not just keyword matching)</div><div>- language s=
upport can be added without rebuilding Enscript, and a bunch of syntax file=
s have already been written.</div>

<div>- it has support for output formats beyond PostScript (unlike a2ps).</=
div></div><div><br></div><div>However, GNU source-highlight is a strong com=
petitor on all these points. =C2=A0That program now uses external language =
definitions since version 2.0 - and from the docs, there&#39;s support for =
stateful matches (which ought to be enough to build good highlighting):</di=
v>

<div><br></div><div><a href=3D"http://www.gnu.org/software/src-highlite/sou=
rce-highlight.html#State_002fEnvironment-Definitions" target=3D"_blank">htt=
p://www.gnu.org/software/src-highlite/source-highlight.html#State_002fEnvir=
onment-Definitions</a></div>

<div><br></div><div>Source-highlight does not support PostScript output, bu=
t it does support 10 others, so it seems quite flexible. =C2=A0Also, it&#39=
;s written in C++, which might be an issue.</div><div><br></div><div>Rather=
 than getting a2ps to invoke a highlighting binary, I would prefer that one=
 of these tools (&#39;states&#39; or &#39;source-highlight&#39;) gets turne=
d into a library, so that the highlighting can be used by multiple wrapper =
programs. =C2=A0Then we focus syntax highlighting efforts in one place, and=
 make use of it in a2ps, enscript, and wherever else.</div>
<div><br></div><div>Oh wait, version 3.0 of source-highlight apparently pro=
vides a C++ library. =C2=A0Great! =C2=A0It should be feasible to wrap it fo=
r calling from C. =C2=A0Then figure out how to plumb it into a2ps, and you&=
#39;ve combined the more flexible PostScript generation with better highlig=
hting.</div>
<div><br></div><div>There might be loose ends like supporting RTF output so=
mewhere, but that&#39;s a much smaller problem.</div><div><br></div>-- <br>=
Tim Retout &lt;<a href=3D"mailto:tim@retout.co.uk" target=3D"_blank">tim@re=
tout.co.uk</a>&gt;<br>



--e89a8f923c1458c37a04ca151801--


From MAILER-DAEMON Thu Sep 20 13:44:33 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TEknh-0006kh-HD
	for mharc-bug-enscript@gnu.org; Thu, 20 Sep 2012 13:44:33 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41979)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <uhmgawa@member.fsf.org>) id 1TEkne-0006jy-UB
	for bug-enscript@gnu.org; Thu, 20 Sep 2012 13:44:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <uhmgawa@member.fsf.org>) id 1TEkne-000132-07
	for bug-enscript@gnu.org; Thu, 20 Sep 2012 13:44:30 -0400
Received: from mail14c26.carrierzone.com ([66.175.40.166]:57149)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <uhmgawa@member.fsf.org>) id 1TEknd-00012r-QE
	for bug-enscript@gnu.org; Thu, 20 Sep 2012 13:44:29 -0400
X-Authenticated-User: third_harmonic.myfairpoint.net
Received: from anvil.third-harmonic.com
	(stat-bng-72-73-80-12.ngn.east.myfairpoint.net [72.73.80.12])
	(authenticated bits=0)
	by mail14c26.carrierzone.com (8.13.6/8.13.1) with ESMTP id
	q8KHiNRq013326
	for <bug-enscript@gnu.org>; Thu, 20 Sep 2012 17:44:25 GMT
Message-ID: <505B5523.7040504@member.fsf.org>
Date: Thu, 20 Sep 2012 13:40:51 -0400
From: uhmgawa <uhmgawa@member.fsf.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: bug-enscript@gnu.org
References: <201209182257.q8IMvsWV004825@freefriends.org>
	<505939B3.2000208@member.fsf.org>
	<CADc0ge9SRO+j3jagDaJmiNda7qJ9nVWgg+xXeBtfM8dTgvTeUg@mail.gmail.com>
In-Reply-To: <CADc0ge9SRO+j3jagDaJmiNda7qJ9nVWgg+xXeBtfM8dTgvTeUg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-CSC: 0
X-CHA: v=1.1 cv=W4FlPJmFF1rdyNA2pYdtX5qPo3jBUwbeivg1Aybx0u0= c=1 sm=1
	a=8iEie87WbnsA:10 a=38EMxlH4-_wA:10 a=plP-Bdj6GPsA:10 a=IkcTkHD0fZMA:10
	a=z0zpaTH0yP2UMNBzZfFMNw==:17 a=khBlLe_r55CJGR0Un5UA:9 a=QEXdDO2ut3YA:10
	a=z0zpaTH0yP2UMNBzZfFMNw==:117
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A020206.505B55FC.00DF, ss=1, re=0.000, recu=0.000,
	reip=0.000, cl=1, cld=1, fgs=0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.175.40.166
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Sep 2012 17:44:31 -0000

On 09/19/2012 05:57 PM, Tim Retout wrote:

> However, GNU source-highlight is a strong competitor on all these points.

Personally I'm happy with source-highlight.  It is quite versatile and standardizing
on one parse tool vs. N is far more sane.  Having consistency between "less" (with
source-highlight) and hardcopy would be great.  If vim used the same library my
workflow would be complete w/r/t tool format consistency.

source-highlight brings in the ability to add a ctags-leveraged cross reference to
its output which AFAICT is a missing feature for all of the postscript tools.

> ..Then figure out how to plumb it into a2ps, and you've combined the more flexible PostScript generation with better highlighting.

So your preference would be to abandon enscript in favor of a a2ps + source-highlight
approach?  Actually my personal observations were similar, namely that a2ps does
a better job of rendering postscript and enscript does a better job of parsing
input content.  I only rattled down this path wanting to squeeze the long column
portrait format out of enscript.
 




From MAILER-DAEMON Sun Sep 23 04:09:38 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TFhFy-0001VS-4W
	for mharc-bug-enscript@gnu.org; Sun, 23 Sep 2012 04:09:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48822)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <www-data@savannah.gnu.org>) id 1TFhFv-0001UT-7Q
	for bug-enscript@gnu.org; Sun, 23 Sep 2012 04:09:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <www-data@savannah.gnu.org>) id 1TFhFu-00077m-1R
	for bug-enscript@gnu.org; Sun, 23 Sep 2012 04:09:35 -0400
Received: from savannah.gnu.org ([140.186.70.70]:50651
	helo=frontend.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <www-data@savannah.gnu.org>)
	id 1TFhFs-00076h-73; Sun, 23 Sep 2012 04:09:32 -0400
Received: from www-data by frontend.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <www-data@savannah.gnu.org>)
	id 1TFhFr-0007V1-OV; Sun, 23 Sep 2012 08:09:31 +0000
Date: Sun, 23 Sep 2012 08:09:31 +0000
To: Tim Retout <diocles@gnu.org>, bug-enscript@gnu.org
X-PHP-Originating-Script: 0:sendmail.php
From: Tim Retout <INVALID.NOREPLY@gnu.org>
X-Savane-Server: savannah.gnu.org:443 [140.186.70.70]
MIME-Version: 1.0
Content-Type: text/plain;charset=UTF-8
X-Savane-Project: enscript
X-Savane-Tracker: bugs
X-Savane-Item-ID: 35924
User-Agent: Mozilla/5.0 (X11;
	Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko)
	Chrome/21.0.1180.75 Safari/537.1
X-Apparently-From: 87.194.129.19 (Savane authenticated user diocles)
Message-Id: <20120923-080931.sv55966.46425@savannah.gnu.org>
References: <20120321-041734.sv0.11246@savannah.gnu.org>
In-Reply-To: <20120321-041734.sv0.11246@savannah.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.70
Subject: [bug-enscript] [bug #35924] std.hdr has been missing from enscript
	distribution for decades
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 23 Sep 2012 08:09:36 -0000

Update of bug #35924 (project enscript):

             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Hi Thad,

I think I've solved this mystery - the std.hdr on your website is shipped as
mp.hdr in Enscript these days.  The only difference (other than licensing) is
a slight change in date format:

-%Format: datestr	%D{%a %b %d %H:%M:%S %Y}
+%Format: datestr	%D{%d/%m/%y  %Hh%M}

You should be able to use it with "--fancy-header=mp".  It's trying to copy
the appearance of the OpenWindows "mp" tool, I understand - if you believe the
date format should be changed to more closely match that tool, let me know.

(I'll send you an email in case Savannah doesn't.)

Kind regards,

Tim

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35924>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



From MAILER-DAEMON Tue Sep 25 15:43:29 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TGb2X-0005fy-Ql
	for mharc-bug-enscript@gnu.org; Tue, 25 Sep 2012 15:43:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43402)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TGb2V-0005eP-E4
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 15:43:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TGb2U-0005mS-4G
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 15:43:27 -0400
Received: from mail-qc0-f169.google.com ([209.85.216.169]:55979)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TGb2T-0005mH-W5
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 15:43:26 -0400
Received: by qcqt2 with SMTP id t2so936993qcq.0
	for <bug-enscript@gnu.org>; Tue, 25 Sep 2012 12:43:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=mime-version:x-originating-ip:date:message-id:subject:from:to:cc
	:content-type:x-gm-message-state;
	bh=kgD/OanWfno6cybeT2qSklEddduLQkqmDTi2n1BNXXE=;
	b=WHOS7s9hnChf8PGZ1bMBFVwMS2pDEcV9X+kcjasUmrLJDfGkQemIVP+tA6LOK+YZWw
	bDmn3EvOs9Qvc1gKlpJ0zweIJSGS3dxUfdAn5nrvTtKfdNfsISzQF+A3oNXDBFyKz10v
	K57takl6GxkPMC6jqO9UQg2VfEsms+olXs8GGK4qW8OwANApAWd8vBSuO3kqVkyAtFEu
	deXgTFV7m3ve0c9YRZFvXncAfiHA2Gj08fiqYD4LlD6wGE0wIUfVZgOvb92ykWsvQ75w
	dqr6SH+S0mpt8fWQnEKWJ3QszWjzznYu3abSSrJ3kpuCMDKAZw+gD6rt+y4em66B9xuG
	VsoQ==
MIME-Version: 1.0
Received: by 10.58.114.20 with SMTP id jc20mr10275823veb.15.1348602204817;
	Tue, 25 Sep 2012 12:43:24 -0700 (PDT)
Received: by 10.220.88.198 with HTTP; Tue, 25 Sep 2012 12:43:24 -0700 (PDT)
X-Originating-IP: [87.194.129.19]
Date: Tue, 25 Sep 2012 20:43:24 +0100
Message-ID: <CADc0ge85cJ46uephOEh9hKQVVZHdDtZ+2OL3a9jRo7zahgrTRg@mail.gmail.com>
From: Tim Retout <tim@retout.co.uk>
To: info-gnu@gnu.org
Content-Type: multipart/alternative; boundary=047d7b5d33205c87da04ca8bebb6
X-Gm-Message-State: ALoCoQnxaCKoy6p8vbAz2Uq2rrgBr5+rZA6EqyWtWP+TrfvxdXbhP+tlp5V28N0ktQjWgez6lTyL
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.216.169
Cc: bug-enscript@gnu.org
Subject: [bug-enscript] GNU Enscript 1.6.6 released
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 19:43:28 -0000

--047d7b5d33205c87da04ca8bebb6
Content-Type: text/plain; charset=UTF-8

I am pleased to announce the release of GNU Enscript 1.6.6.

GNU Enscript converts ASCII files to PostScript, HTML, or RTF and stores
generated output to a file or sends it directly to the printer. It includes
features for `pretty-printing' (language-sensitive code highlighting) in
several programming languages.

For more information, see the Enscript web page at:

http://www.gnu.org/software/enscript/

Download the latest tarballs from:

  http://ftp.gnu.org/gnu/enscript/

Or see the GNU mirror list at http://www.gnu.org/prep/ftp.html - note that
http://ftpmirror.gnu.org/enscript/ will automatically redirect to a nearby
mirror.

Summary of changes in enscript version 1.6.6:

* Add afm/MustRead.html, containing licensing information for Adobe
  AFM files.  (Savannah bug #35883)

* Sync all translations from the Translation Project.  Please visit
  http://translationproject.org/ to help translate Enscript!

* Add documented but missing '-w' option as an alias for '--language'.
  (Savannah bug #30651)

* Apply sliceprint patch from Debian. (Savannah bug #31259)

-- 
Tim Retout <tim@retout.co.uk>

--047d7b5d33205c87da04ca8bebb6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I am pleased to announce the release of GNU Enscript 1.6.6.<div><br></div><=
div><div>GNU Enscript converts ASCII files to PostScript, HTML, or RTF and =
stores generated output to a file or sends it directly to the printer. It i=
ncludes features for `pretty-printing&#39; (language-sensitive code highlig=
hting) in several programming languages.</div>
<div><br></div><div>For more information, see the Enscript web page at:</di=
v><div><br></div><div><a href=3D"http://www.gnu.org/software/enscript/">htt=
p://www.gnu.org/software/enscript/</a></div><div><br></div><div>Download th=
e latest tarballs from:</div>
<div><br></div><div>=C2=A0 <a href=3D"http://ftp.gnu.org/gnu/enscript/">htt=
p://ftp.gnu.org/gnu/enscript/</a></div><div><br></div><div>Or see the GNU m=
irror list at=C2=A0<a href=3D"http://www.gnu.org/prep/ftp.html">http://www.=
gnu.org/prep/ftp.html</a> - note that <a href=3D"http://ftpmirror.gnu.org/e=
nscript/">http://ftpmirror.gnu.org/enscript/</a> will automatically redirec=
t to a nearby mirror.</div>
<div><br></div><div><div>Summary of changes in enscript version 1.6.6:</div=
><div><br></div><div>* Add afm/MustRead.html, containing licensing informat=
ion for Adobe</div><div>=C2=A0 AFM files. =C2=A0(Savannah bug #35883)</div>=
<div><br>
</div><div>* Sync all translations from the Translation Project. =C2=A0Plea=
se visit</div><div>=C2=A0 <a href=3D"http://translationproject.org/">http:/=
/translationproject.org/</a> to help translate Enscript!</div><div><br></di=
v><div>* Add documented but missing &#39;-w&#39; option as an alias for &#3=
9;--language&#39;.</div>
<div>=C2=A0 (Savannah bug #30651)</div><div><br></div><div>* Apply slicepri=
nt patch from Debian. (Savannah bug #31259)</div></div><div><br></div>-- <b=
r>Tim Retout &lt;<a href=3D"mailto:tim@retout.co.uk" target=3D"_blank">tim@=
retout.co.uk</a>&gt;<br>

</div>

--047d7b5d33205c87da04ca8bebb6--


From MAILER-DAEMON Tue Sep 25 16:33:03 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TGboV-00033H-L8
	for mharc-bug-enscript@gnu.org; Tue, 25 Sep 2012 16:33:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41036)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TGboT-000327-BM
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 16:33:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TGboS-0000mZ-8m
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 16:33:01 -0400
Received: from mail-gh0-f169.google.com ([209.85.160.169]:54635)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TGboS-0000mS-4L
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 16:33:00 -0400
Received: by ghrr1 with SMTP id r1so2241725ghr.0
	for <bug-enscript@gnu.org>; Tue, 25 Sep 2012 13:32:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=mime-version:x-originating-ip:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type:x-gm-message-state;
	bh=YfuNct+M1/NBVYrfIo/aLXRMcIQinQlqdUEB81ocXO8=;
	b=bFD3Rv0DZCRwVYL+rCr2smczBF3sKcI+ZVrd6ugulujLJeXInDWFdpmkzCGgEvB+FQ
	O5RMXvTqaPMqo9xKsC5dlr2UW6R9ZyIo+SXZlEKlLc3cLJaNeKSYI1KsH/+bJLYm8pCm
	asCB++tpECR/p9YYv63Gxfz2DIGNpT4cuQ1ln0poL8ltv3tf+PW65ZpHPFlSlrhNaUZy
	YQtZx1h5T3164F2JKJSQlemOxE23XKh+Szp47DoKGAMyt4+R0IgMNwFb9Cv/hOAqTEDU
	Iq0+E+sIOyKdLKJONh9nduS+ZNhBjGOImLhb9U4Ba5/rbDl0fr71sKUvN2mnO3HZp4sz
	MjkA==
MIME-Version: 1.0
Received: by 10.52.26.81 with SMTP id j17mr8174795vdg.63.1348605178980; Tue,
	25 Sep 2012 13:32:58 -0700 (PDT)
Received: by 10.220.88.198 with HTTP; Tue, 25 Sep 2012 13:32:58 -0700 (PDT)
X-Originating-IP: [87.194.129.19]
In-Reply-To: <505B5523.7040504@member.fsf.org>
References: <201209182257.q8IMvsWV004825@freefriends.org>
	<505939B3.2000208@member.fsf.org>
	<CADc0ge9SRO+j3jagDaJmiNda7qJ9nVWgg+xXeBtfM8dTgvTeUg@mail.gmail.com>
	<505B5523.7040504@member.fsf.org>
Date: Tue, 25 Sep 2012 21:32:58 +0100
Message-ID: <CADc0ge-5dJ_dSLGyyOE9uvGaRhDB_DR3jA22BYmJJDPqd464Cg@mail.gmail.com>
From: Tim Retout <tim@retout.co.uk>
To: uhmgawa <uhmgawa@member.fsf.org>
Content-Type: multipart/alternative; boundary=20cf307d0386a2a7e704ca8c9c57
X-Gm-Message-State: ALoCoQkEs1uYZx9I8yfigs92NVCONfHyDTmQWcOQ4ZIQJ7h7l5TAVbWmwxyxQxWMqZP48Sl0/+N7
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.160.169
Cc: bug-enscript@gnu.org
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 20:33:02 -0000

--20cf307d0386a2a7e704ca8c9c57
Content-Type: text/plain; charset=UTF-8

On 20 September 2012 18:40, uhmgawa <uhmgawa@member.fsf.org> wrote:

> If vim used the same library my
> workflow would be complete w/r/t tool format consistency.
>

I think there would be licensing issues with extending this to vim, but yes.


> So your preference would be to abandon enscript in favor of a a2ps +
> source-highlight
> approach?


In general, yes.  But I think enscript would still have a niche - it
replaces an Adobe tool of the same name, and lots of installations of
things like viewvc rely upon it (for now).

-- 
Tim Retout <tim@retout.co.uk>

--20cf307d0386a2a7e704ca8c9c57
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On 20 September 2012 18:40, uhmgawa <span dir=3D=
"ltr">&lt;<a href=3D"mailto:uhmgawa@member.fsf.org" target=3D"_blank">uhmga=
wa@member.fsf.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">If vim used the same library my</div>
workflow would be complete w/r/t tool format consistency.<br></blockquote><=
div><br></div><div>I think there would be licensing issues with extending t=
his to vim, but yes.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

So your preference would be to abandon enscript in favor of a a2ps + source=
-highlight<br>
approach?</blockquote><div><br></div><div>In general, yes. =C2=A0But I thin=
k enscript would still have a niche - it replaces an Adobe tool of the same=
 name, and lots of installations of things like viewvc rely upon it (for no=
w).</div>
<div><br></div></div>-- <br>Tim Retout &lt;<a href=3D"mailto:tim@retout.co.=
uk" target=3D"_blank">tim@retout.co.uk</a>&gt;<br>

--20cf307d0386a2a7e704ca8c9c57--


From MAILER-DAEMON Tue Sep 25 17:15:44 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TGcTo-0006u9-4l
	for mharc-bug-enscript@gnu.org; Tue, 25 Sep 2012 17:15:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35630)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <karl@freefriends.org>) id 1TGcTl-0006td-Ff
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 17:15:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <karl@freefriends.org>) id 1TGcTk-0001l6-Jv
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 17:15:41 -0400
Received: from frenzy.freefriends.org ([66.54.153.139]:37419
	helo=freefriends.org) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <karl@freefriends.org>) id 1TGcTk-0001kA-Dw
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 17:15:40 -0400
X-Envelope-From: karl@freefriends.org
Received: from freefriends.org (localhost [127.0.0.1])
	by freefriends.org (8.14.5/8.14.5) with ESMTP id q8PLFZ6w001335;
	Tue, 25 Sep 2012 15:15:35 -0600
Received: (from nobody@localhost)
	by freefriends.org (8.14.5/8.14.5/submit) id q8PLFZHh001334;
	Tue, 25 Sep 2012 21:15:35 GMT
Date: Tue, 25 Sep 2012 21:15:35 GMT
Message-Id: <201209252115.q8PLFZHh001334@freefriends.org>
X-Authentication-Warning: frenzy.freefriends.org: nobody set sender to
	karl@freefriends.org using -f
From: karl@freefriends.org (Karl Berry)
To: uhmgawa@member.fsf.org, bug-enscript@gnu.org
In-Reply-To: <CADc0ge-5dJ_dSLGyyOE9uvGaRhDB_DR3jA22BYmJJDPqd464Cg@mail.gmail.com>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 66.54.153.139
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 21:15:42 -0000

    But I think enscript would still have a niche

Indeed, both enscript and a2ps need to continue to exist for
compatibility.  But (repeating myself for the third time :) that doesn't
mean they need to be more than front ends that parse their options and
then call another program to do the "real work" ... that's the ideal
outcome, anyway.

k


From MAILER-DAEMON Tue Sep 25 17:44:31 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TGcvf-0005Tu-2I
	for mharc-bug-enscript@gnu.org; Tue, 25 Sep 2012 17:44:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56380)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <uhmgawa@third-harmonic.com>) id 1TGcvd-0005OO-7Q
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 17:44:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <uhmgawa@third-harmonic.com>) id 1TGcvc-0003op-5v
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 17:44:29 -0400
Received: from mail14c26.carrierzone.com ([66.175.40.166]:50263)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <uhmgawa@third-harmonic.com>) id 1TGcvc-0003od-0d
	for bug-enscript@gnu.org; Tue, 25 Sep 2012 17:44:28 -0400
X-Authenticated-User: third_harmonic.myfairpoint.net
Received: from anvil.third-harmonic.com
	(stat-bng-72-73-80-12.ngn.east.myfairpoint.net [72.73.80.12])
	(authenticated bits=0)
	by mail14c26.carrierzone.com (8.13.6/8.13.1) with ESMTP id
	q8PLiLf7017508
	for <bug-enscript@gnu.org>; Tue, 25 Sep 2012 21:44:23 GMT
Message-ID: <506224DA.5060004@third-harmonic.com>
Date: Tue, 25 Sep 2012 17:40:42 -0400
From: uhmgawa <uhmgawa@third-harmonic.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: bug-enscript@gnu.org
References: <201209182257.q8IMvsWV004825@freefriends.org>
	<505939B3.2000208@member.fsf.org>
	<CADc0ge9SRO+j3jagDaJmiNda7qJ9nVWgg+xXeBtfM8dTgvTeUg@mail.gmail.com>
	<505B5523.7040504@member.fsf.org>
	<CADc0ge-5dJ_dSLGyyOE9uvGaRhDB_DR3jA22BYmJJDPqd464Cg@mail.gmail.com>
In-Reply-To: <CADc0ge-5dJ_dSLGyyOE9uvGaRhDB_DR3jA22BYmJJDPqd464Cg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-CSC: 0
X-CHA: v=1.1 cv=W4FlPJmFF1rdyNA2pYdtX5qPo3jBUwbeivg1Aybx0u0= c=1 sm=1
	a=8iEie87WbnsA:10 a=38EMxlH4-_wA:10 a=8m5bK8wCYxcA:10 a=IkcTkHD0fZMA:10
	a=z0zpaTH0yP2UMNBzZfFMNw==:17 a=inoG4m36AAAA:8 a=ds49Oc4qTeX6I2we0agA:9
	a=QEXdDO2ut3YA:10 a=z0zpaTH0yP2UMNBzZfFMNw==:117
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A02020B.506225BA.008A, ss=1, re=0.000, recu=0.000,
	reip=0.000, cl=1, cld=1, fgs=0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.175.40.166
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 21:44:30 -0000

On 09/25/2012 04:32 PM, Tim Retout wrote:
> On 20 September 2012 18:40, uhmgawa <uhmgawa@member.fsf.org <mailto:uhmgawa@member.fsf.org>> wrote:
> 
>     If vim used the same library my
>     workflow would be complete w/r/t tool format consistency.
> 
> 
> I think there would be licensing issues with extending this to vim, but yes.

What in particular?  I haven't poked at the source for either thus far.

But if an irreconcilable licensing snag should exist, a wealth of potential
vim alternatives are available including "vi" itself.  I have no particular
bias toward vim, other than it being low hanging fruit in most linux distros.

It just seems far more intuitive for the user if mental adjustment to the
syntax highlight dialect of different tools can be avoided.





From MAILER-DAEMON Wed Sep 26 17:20:50 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TGz2I-0000OP-Cb
	for mharc-bug-enscript@gnu.org; Wed, 26 Sep 2012 17:20:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56530)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TGz2B-0000Hl-0F
	for bug-enscript@gnu.org; Wed, 26 Sep 2012 17:20:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TGz26-0007qO-MC
	for bug-enscript@gnu.org; Wed, 26 Sep 2012 17:20:42 -0400
Received: from mail-ie0-f169.google.com ([209.85.223.169]:65086)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1TGz26-0007qC-Hz
	for bug-enscript@gnu.org; Wed, 26 Sep 2012 17:20:38 -0400
Received: by ied10 with SMTP id 10so3080883ied.0
	for <bug-enscript@gnu.org>; Wed, 26 Sep 2012 14:20:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=mime-version:x-originating-ip:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type:x-gm-message-state;
	bh=GmmxrvcEpqXf+gKYBuQtGwxvnhO3An5gVFf2VPXJ7aU=;
	b=kTPL+8LTpiVGi7Trdtlp77PGsTi1Kqd/QVSMHBIIeNgev3yx59NHifOCSnf/1kFIc0
	2pPPeFtFzhAi3wSnKVogNg9x0fSH4KyU7l508XaCnVeezOn1guiVgmkV+MHyEMzJTU2B
	JrBiTjKpUsO6utAFMXXBi1rS+dpdQ9JlBJC5L/mdU0riWNxqdPRkJ6D2w36nbkDMcnYJ
	3K0ILosAFYJEZJoeVZ9B0LVSeEnUpZdKq449dDI5MtP634yjAr0UVYnBaDQXrJJP2deH
	vrD/9QOHoLv/aOk32S+jFGEY7FGsvC1H10wkQ3lU9kM1MeV6npqxo4Rco/O1U5sSa3wV
	6NSA==
MIME-Version: 1.0
Received: by 10.50.33.147 with SMTP id r19mr12377658igi.73.1348694436867; Wed,
	26 Sep 2012 14:20:36 -0700 (PDT)
Received: by 10.64.62.233 with HTTP; Wed, 26 Sep 2012 14:20:36 -0700 (PDT)
X-Originating-IP: [87.194.129.19]
In-Reply-To: <506224DA.5060004@third-harmonic.com>
References: <201209182257.q8IMvsWV004825@freefriends.org>
	<505939B3.2000208@member.fsf.org>
	<CADc0ge9SRO+j3jagDaJmiNda7qJ9nVWgg+xXeBtfM8dTgvTeUg@mail.gmail.com>
	<505B5523.7040504@member.fsf.org>
	<CADc0ge-5dJ_dSLGyyOE9uvGaRhDB_DR3jA22BYmJJDPqd464Cg@mail.gmail.com>
	<506224DA.5060004@third-harmonic.com>
Date: Wed, 26 Sep 2012 22:20:36 +0100
Message-ID: <CADc0ge_FZVYT9ngmxvChYdLQ6LoOybvy90Zn7H1u-o7bY=O3vA@mail.gmail.com>
From: Tim Retout <tim@retout.co.uk>
To: uhmgawa <uhmgawa@third-harmonic.com>
Content-Type: multipart/alternative; boundary=f46d04462ec8d1efbb04caa16421
X-Gm-Message-State: ALoCoQkoQcTlACZb11yPeKqlo7rKtnH7Cm8X67fTStOryqvkmGKJm9Gqdu9Mr3BYN7Vpm0v6al1f
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.223.169
Cc: bug-enscript@gnu.org
Subject: Re: [bug-enscript] Question on "-2" column fill behaviour..
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Sep 2012 21:20:48 -0000

--f46d04462ec8d1efbb04caa16421
Content-Type: text/plain; charset=UTF-8

On 25 September 2012 22:40, uhmgawa <uhmgawa@third-harmonic.com> wrote:

> On 09/25/2012 04:32 PM, Tim Retout wrote:
> > On 20 September 2012 18:40, uhmgawa <uhmgawa@member.fsf.org <mailto:
> uhmgawa@member.fsf.org>> wrote:
> >
> >     If vim used the same library my
> >     workflow would be complete w/r/t tool format consistency.
> >
> >
> > I think there would be licensing issues with extending this to vim, but
> yes.
>
> What in particular?  I haven't poked at the source for either thus far.


Just that source-highlight is under GPLv3 iirc, and vim is under a
different (but GPL-compatible) license.  I don't know if they would accept
such a large change under a different license.

-- 
Tim Retout <tim@retout.co.uk>

--f46d04462ec8d1efbb04caa16421
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On 25 September 2012 22:40, uhmgawa <span dir=3D=
"ltr">&lt;<a href=3D"mailto:uhmgawa@third-harmonic.com" target=3D"_blank">u=
hmgawa@third-harmonic.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
On 09/25/2012 04:32 PM, Tim Retout wrote:<br>
<div class=3D"im">&gt; On 20 September 2012 18:40, uhmgawa &lt;<a href=3D"m=
ailto:uhmgawa@member.fsf.org">uhmgawa@member.fsf.org</a> &lt;mailto:<a href=
=3D"mailto:uhmgawa@member.fsf.org">uhmgawa@member.fsf.org</a>&gt;&gt; wrote=
:<br>

&gt;<br>
&gt; =C2=A0 =C2=A0 If vim used the same library my<br>
&gt; =C2=A0 =C2=A0 workflow would be complete w/r/t tool format consistency=
.<br>
&gt;<br>
&gt;<br>
&gt; I think there would be licensing issues with extending this to vim, bu=
t yes.<br>
<br>
</div>What in particular? =C2=A0I haven&#39;t poked at the source for eithe=
r thus far.</blockquote><div><br></div><div>Just that source-highlight is u=
nder GPLv3 iirc, and vim is under a different (but GPL-compatible) license.=
 =C2=A0I don&#39;t know if they would accept such a large change under a di=
fferent license.</div>
</div><div><br></div>-- <br>Tim Retout &lt;<a href=3D"mailto:tim@retout.co.=
uk" target=3D"_blank">tim@retout.co.uk</a>&gt;<br>

--f46d04462ec8d1efbb04caa16421--


From MAILER-DAEMON Thu Sep 27 03:35:04 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TH8ch-0002U0-Uk
	for mharc-bug-enscript@gnu.org; Thu, 27 Sep 2012 03:35:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59934)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jer@gentoo.org>) id 1TGsmB-0003i6-Cf
	for bug-enscript@gnu.org; Wed, 26 Sep 2012 10:39:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jer@gentoo.org>) id 1TGsm5-0004CM-5W
	for bug-enscript@gnu.org; Wed, 26 Sep 2012 10:39:47 -0400
Received: from smtp.gentoo.org ([140.211.166.183]:45719)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jer@gentoo.org>) id 1TGsm4-0004C0-Va
	for bug-enscript@gnu.org; Wed, 26 Sep 2012 10:39:41 -0400
Received: from marga.jer-c2.orkz.net (D4B2706A.static.ziggozakelijk.nl
	[212.178.112.106])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested) (Authenticated sender: jer)
	by smtp.gentoo.org (Postfix) with ESMTPSA id A49E733D911
	for <bug-enscript@gnu.org>; Wed, 26 Sep 2012 14:39:38 +0000 (UTC)
Date: Wed, 26 Sep 2012 16:39:34 +0200
From: Jeroen Roovers <jer@gentoo.org>
To: bug-enscript@gnu.org
Message-ID: <20120926163934.69b766c9@marga.jer-c2.orkz.net>
X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="MP_/RJaKCRbtBG7VdxrTXIQdm1e"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 140.211.166.183
X-Mailman-Approved-At: Thu, 27 Sep 2012 03:35:01 -0400
Subject: [bug-enscript] enscript src/tests/passthrough.test uses obsolete
	tail option
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Sep 2012 14:39:53 -0000

--MP_/RJaKCRbtBG7VdxrTXIQdm1e
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

tail +2 is obsolete in coreutils. The attached patch fixes that. A
proper fix would actually test for tail in configure, of course.


     jer
--MP_/RJaKCRbtBG7VdxrTXIQdm1e
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=enscript-1.6.6-tail.patch

--- a/src/tests/passthrough.test
+++ b/src/tests/passthrough.test
@@ -14,9 +14,9 @@
 
 ### test_pass_through() {
 $enscript -G2r --quiet --pass-through -p- test_input.ps \
-  | tail +2 >$output
+  | tail -n +2 >$output
 
-result=`tail +2 test_input.ps | cmp - $output`
+result=`tail -n +2 test_input.ps | cmp - $output`
 
 if test "X$result" != "X"; then
   exit 1
@@ -34,9 +34,9 @@
 
 ### test_pass_through() {
 $enscript -G2r --quiet --pass-through -p- test_input.ps \
-  | tail +2 >$output
+  | tail -n +2 >$output
 
-result=`tail +2 test_input.ps | cmp - $output`
+result=`tail -n +2 test_input.ps | cmp - $output`
 
 if test "X$result" != "X"; then
   exit 1
@@ -52,9 +52,9 @@
 
 ### test_pass_through() {
 $enscript -G2r --quiet --pass-through -p- test_input.pcl \
-  | tail +2 >$output
+  | tail -n +2 >$output
 
-result=`tail +2 test_input.pcl | cmp - $output`
+result=`tail -n +2 test_input.pcl | cmp - $output`
 
 if test "X$result" != "X"; then
   exit 1
@@ -70,9 +70,9 @@
 
 ### test_pass_through() {
 $enscript -G2r --quiet --pass-through -p- test_input.pcl \
-  | tail +2 >$output
+  | tail -n +2 >$output
 
-result=`tail +2 test_input.pcl | cmp - $output`
+result=`tail -n +2 test_input.pcl | cmp - $output`
 
 if test "X$result" != "X"; then
   exit 1

--MP_/RJaKCRbtBG7VdxrTXIQdm1e--


From MAILER-DAEMON Thu Sep 27 15:29:08 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1THJlk-0002rX-Qw
	for mharc-bug-enscript@gnu.org; Thu, 27 Sep 2012 15:29:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52880)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1THJlc-0002r0-SQ
	for bug-enscript@gnu.org; Thu, 27 Sep 2012 15:29:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1THJlX-0005Ax-3Y
	for bug-enscript@gnu.org; Thu, 27 Sep 2012 15:29:00 -0400
Received: from mail-ie0-f169.google.com ([209.85.223.169]:65434)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tim@retout.co.uk>) id 1THJlW-0005As-Uz
	for bug-enscript@gnu.org; Thu, 27 Sep 2012 15:28:55 -0400
Received: by ied10 with SMTP id 10so6086459ied.0
	for <bug-enscript@gnu.org>; Thu, 27 Sep 2012 12:28:54 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=mime-version:sender:x-originating-ip:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type
	:x-gm-message-state;
	bh=J011dNKNxSKVIV0bv75lkDz595x8FUdMVB764o7cdLk=;
	b=kJ4vls7AFPutuAtBTzyyP+LauU2WACWL+1Ot+sEvLjJrJ0P6AfrawMkL7ZP0QCS/wH
	AmJno3Gek7OkP3doGsl6oCBvpBghvHVlx3UcpB1nJ/oQX0K/GVPAEINYepgLLSYWWztV
	mQBs2zPP4h1mkLBSGYLdlPQMOyE2/GFf8hRo+qzo8xOonoDV3J+kQZZ/nqlOOdGcQOJF
	D/baPd7SLXYV00pDgxCAjbBmsMdmox8atHRFpgXjYDfc0UCDLXYwM2rqGqgoMEK3+OLJ
	t/WxsARFvug2yDie4hoGyjkw0LbXYgI/txH3UZWP6yCeMDrv4p+4zYZICEQKG9O6owRZ
	xUBA==
MIME-Version: 1.0
Received: by 10.50.158.194 with SMTP id ww2mr15357222igb.40.1348774133819;
	Thu, 27 Sep 2012 12:28:53 -0700 (PDT)
Sender: tim@retout.co.uk
Received: by 10.64.62.233 with HTTP; Thu, 27 Sep 2012 12:28:53 -0700 (PDT)
X-Originating-IP: [87.194.129.19]
In-Reply-To: <20120926163934.69b766c9@marga.jer-c2.orkz.net>
References: <20120926163934.69b766c9@marga.jer-c2.orkz.net>
Date: Thu, 27 Sep 2012 20:28:53 +0100
X-Google-Sender-Auth: x1poJQ6ktQUOrCEjLAFzg22PhbU
Message-ID: <CADc0ge88eJJTK-k9PGv-kCyShAL59tOVoAfx7oH-QrO=Hs_fcQ@mail.gmail.com>
From: Tim Retout <diocles@gnu.org>
To: Jeroen Roovers <jer@gentoo.org>
Content-Type: multipart/alternative; boundary=14dae934047320eae204cab3f334
X-Gm-Message-State: ALoCoQn8uRf3jZRqh2Fn+J/8ztvSjIhx2Qf3JXs4h3+FzaDqHypssckRGcxuZGdONiTXhGTgrDyT
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.223.169
Cc: bug-enscript@gnu.org
Subject: Re: [bug-enscript] enscript src/tests/passthrough.test uses
 obsolete tail option
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Sep 2012 19:29:07 -0000

--14dae934047320eae204cab3f334
Content-Type: text/plain; charset=UTF-8

On 26 September 2012 15:39, Jeroen Roovers <jer@gentoo.org> wrote:

> tail +2 is obsolete in coreutils. The attached patch fixes that. A
> proper fix would actually test for tail in configure, of course.
>

Thanks - I've applied the patch in git.

I found this GCC bug report from 2004 about a similar issue, but I don't
think Enscript has the same portability requirements as GCC:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14251

For the moment, I'm undecided whether configure should test for 'tail' -
technically it probably should, but it seems rather overkill.

-- 
Tim Retout <diocles@gnu.org>

--14dae934047320eae204cab3f334
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On 26 September 2012 15:39, Jeroen Roovers <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:jer@gentoo.org" target=3D"_blank">jer@ge=
ntoo.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

tail +2 is obsolete in coreutils. The attached patch fixes that. A<br>
proper fix would actually test for tail in configure, of course.<br></block=
quote><div><br></div><div>Thanks - I&#39;ve applied the patch in git.</div>=
<div><br></div><div>I found this GCC bug report from 2004 about a similar i=
ssue, but I don&#39;t think Enscript has the same portability requirements =
as GCC:</div>
<div><a href=3D"http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D14251">http:/=
/gcc.gnu.org/bugzilla/show_bug.cgi?id=3D14251</a></div><div><br></div><div>=
For the moment, I&#39;m undecided whether configure should test for &#39;ta=
il&#39; - technically it probably should, but it seems rather overkill.</di=
v>
<div><br></div></div>-- <br>Tim Retout &lt;<a href=3D"mailto:diocles@gnu.or=
g" target=3D"_blank">diocles@gnu.org</a>&gt;<br>


--14dae934047320eae204cab3f334--


From MAILER-DAEMON Thu Sep 27 18:24:32 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1THMVU-00078g-TF
	for mharc-bug-enscript@gnu.org; Thu, 27 Sep 2012 18:24:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59047)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <karl@freefriends.org>) id 1THMVT-000789-D9
	for bug-enscript@gnu.org; Thu, 27 Sep 2012 18:24:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <karl@freefriends.org>) id 1THMVS-0006RF-98
	for bug-enscript@gnu.org; Thu, 27 Sep 2012 18:24:31 -0400
Received: from frenzy.freefriends.org ([66.54.153.139]:55124
	helo=freefriends.org) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <karl@freefriends.org>) id 1THMVR-0006RB-Vi
	for bug-enscript@gnu.org; Thu, 27 Sep 2012 18:24:30 -0400
X-Envelope-From: karl@freefriends.org
Received: from freefriends.org (localhost [127.0.0.1])
	by freefriends.org (8.14.5/8.14.5) with ESMTP id q8RMOLOK020503;
	Thu, 27 Sep 2012 16:24:22 -0600
Received: (from nobody@localhost)
	by freefriends.org (8.14.5/8.14.5/submit) id q8RMOLgv020502;
	Thu, 27 Sep 2012 22:24:21 GMT
Date: Thu, 27 Sep 2012 22:24:21 GMT
Message-Id: <201209272224.q8RMOLgv020502@freefriends.org>
X-Authentication-Warning: frenzy.freefriends.org: nobody set sender to
	karl@freefriends.org using -f
From: karl@freefriends.org (Karl Berry)
To: jer@gentoo.org
In-Reply-To: <20120926163934.69b766c9@marga.jer-c2.orkz.net>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 66.54.153.139
Cc: bug-enscript@gnu.org
Subject: Re: [bug-enscript] enscript src/tests/passthrough.test uses
	obsolete	tail option
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Sep 2012 22:24:32 -0000

    +  | tail -n +2 >$output

Having been invented by POSIX, tail -n is not supported on all systems.
Solaris 5.10's tail, at least, doesn't have -n.  I wouldn't be surprised
if there are others.

I think the simplest solution is to use sed.  As in something like:
sed 1,2d test_input.ps ...

k


From MAILER-DAEMON Sun Sep 30 14:04:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TINsw-0006gp-Ru
	for mharc-bug-enscript@gnu.org; Sun, 30 Sep 2012 14:04:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:33659)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <www-data@savannah.gnu.org>) id 1TINsu-0006gM-SV
	for bug-enscript@gnu.org; Sun, 30 Sep 2012 14:04:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <www-data@savannah.gnu.org>) id 1TINst-0002PG-Pc
	for bug-enscript@gnu.org; Sun, 30 Sep 2012 14:04:56 -0400
Received: from savannah.gnu.org ([140.186.70.70]:41622
	helo=frontend.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <www-data@savannah.gnu.org>) id 1TINst-0002PC-MQ
	for bug-enscript@gnu.org; Sun, 30 Sep 2012 14:04:55 -0400
Received: from www-data by frontend.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <www-data@savannah.gnu.org>) id 1TINst-0003eQ-Ew
	for bug-enscript@gnu.org; Sun, 30 Sep 2012 18:04:55 +0000
Date: Sun, 30 Sep 2012 18:04:55 +0000
To: bug-enscript@gnu.org
X-PHP-Originating-Script: 0:sendmail.php
From: anonymous <INVALID.NOREPLY@gnu.org>
X-Savane-Server: savannah.gnu.org:443 [140.186.70.70]
MIME-Version: 1.0
Content-Type: text/plain;charset=UTF-8
X-Savane-Project: enscript
X-Savane-Tracker: bugs
X-Savane-Item-ID: 37473
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20100101 Firefox/16.0
X-Apparently-From: 46.146.75.184
Message-Id: <20120930-180454.sv0.34000@savannah.gnu.org>
References: 
In-Reply-To: 
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.70
Subject: [bug-enscript] [bug #37473] Android types highlighting issue
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 30 Sep 2012 18:04:57 -0000

URL:
  <http://savannah.gnu.org/bugs/?37473>

                 Summary: Android types highlighting issue
                 Project: GNU Enscript
            Submitted by: None
            Submitted on: Вск 30 Сен 2012 18:04:54
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I used enscript with websvn and I have problem with Android types highlighting
and links to it.

I see some like this:

public class Station implements
1.5.0/docs/api/java/io/Serializable.html">Serializable
{
        private static final long serialVersionUID = -7451949713268456834L;

        private int id;
        private 1.5.0/docs/api/java/lang/String.html">String name, stream;

etc.

Show attached image for more information.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Вск 30 Сен 2012 18:04:54  Name: Снимок.PNG  Size: 40kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=26671>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37473>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



