* mdocml: Suppress duplicate "Page: 1 1" -Tps printing and instead relay
@ 2010-07-05 8:46 kristaps
2010-07-05 8:48 ` Kristaps Dzonsons
0 siblings, 1 reply; 2+ messages in thread
From: kristaps @ 2010-07-05 8:46 UTC (permalink / raw)
To: source
Log Message:
-----------
Suppress duplicate "Page: 1 1" -Tps printing and instead relay on
PS_NEWPAGE to do the job for us. Noted by Dillo.
Modified Files:
--------------
mdocml:
term_ps.c
Revision Data
-------------
Index: term_ps.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/term_ps.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -Lterm_ps.c -Lterm_ps.c -u -p -r1.32 -r1.33
--- term_ps.c
+++ term_ps.c
@@ -642,14 +642,10 @@ ps_begin(struct termp *p)
printf(" %s", fonts[i].name);
printf("\n%%%%EndComments\n");
- printf("%%%%Page: %zu %zu\n",
- p->engine.ps.pages + 1,
- p->engine.ps.pages + 1);
-
- ps_setfont(p, TERMFONT_NONE);
p->engine.ps.pscol = p->engine.ps.left;
p->engine.ps.psrow = p->engine.ps.top;
p->engine.ps.flags |= PS_NEWPAGE;
+ ps_setfont(p, TERMFONT_NONE);
}
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mdocml: Suppress duplicate "Page: 1 1" -Tps printing and instead relay
2010-07-05 8:46 mdocml: Suppress duplicate "Page: 1 1" -Tps printing and instead relay kristaps
@ 2010-07-05 8:48 ` Kristaps Dzonsons
0 siblings, 0 replies; 2+ messages in thread
From: Kristaps Dzonsons @ 2010-07-05 8:48 UTC (permalink / raw)
To: source
> Log Message:
> -----------
> Suppress duplicate "Page: 1 1" -Tps printing and instead relay on
> PS_NEWPAGE to do the job for us. Noted by Dillo.
Confusing typo: relay -> "rely".
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-05 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-05 8:46 mdocml: Suppress duplicate "Page: 1 1" -Tps printing and instead relay kristaps
2010-07-05 8:48 ` Kristaps Dzonsons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).