Re: [Groff] Re: pagesize for terminal output

2011-03-02 Thread walter harms
Am 01.03.2011 12:28, schrieb Ralph Corderoy: > Hi Walter, > > Anton Shepelev wrote: >> Walter Harms: >>> thx for the hint, but how does setting the page lenght affect the >>> printed output ? the main point is to print the document, showing >>> it is only sec- ond. >> >> It depends on what

Re: [Groff] Re: pagesize for terminal output

2011-03-02 Thread Werner LEMBERG
> (NTL: it would be a nice extension for grotty to have a switch like > "papersize" ) Uh, oh, a TTY has no length by its very definition. A physical paper size is completely meaningless for terminals, and the logical paper size is given by gtroff anyways (with the `pl' request). Werner

Re: [Groff] Re: pagesize for terminal output

2011-03-02 Thread walter harms
Am 02.03.2011 10:53, schrieb Werner LEMBERG: >> (NTL: it would be a nice extension for grotty to have a switch like >> "papersize" ) > > Uh, oh, a TTY has no length by its very definition. A physical paper > size is completely meaningless for terminals, and the logical paper > size is given by

Re: [Groff] Re: pagesize for terminal output

2011-03-02 Thread Werner LEMBERG
> A switch that let grotty ignore a given page size inside a document. .rn pl pl-orig .de pl . pl-orig i .. > And the rationale is exactly what you said: paper sizes and screen > sizes do not mix properly; so it may be useful to ignore a length > and leave the "page break" to a pager. Exac

Re: [Groff] Re: pagesize for terminal output

2011-03-02 Thread Anton Shepelev
Werner Lemberg: > > And the rationale is exactly what you said: > > paper sizes and screen sizes do not mix prop- > > erly; so it may be useful to ignore a length and > > leave the "page break" to a pager. > > Exactly. For man pages this is done like this by > default. And exactly in

Re: [Groff] Re: pagesize for terminal output

2011-03-02 Thread walter harms
Am 02.03.2011 11:38, schrieb Werner LEMBERG: > >> A switch that let grotty ignore a given page size inside a document. > > .rn pl pl-orig > .de pl > . pl-orig i > .. > >> And the rationale is exactly what you said: paper sizes and screen >> sizes do not mix properly; so it may be useful t

Re: [Groff] Re: pagesize for terminal output

2011-03-02 Thread Anton Shepelev
Walter Harms > i have added .pl i and it works so far but now > i see ^h^h^h^h in front of my table. I can fix > that with "cut -b5-" or tr -d "\b" but i am con- > fused. > (i did not notice it before since i used | more to > show the output but xmessage is something differ- > ent). Lo

Re: [Groff] Re: pagesize for terminal output

2011-03-02 Thread walter harms
Am 02.03.2011 17:32, schrieb Anton Shepelev: > Walter Harms > >> i have added .pl i and it works so far but now >> i see ^h^h^h^h in front of my table. I can fix >> that with "cut -b5-" or tr -d "\b" but i am con- >> fused. >> (i did not notice it before since i used | more to >> show

Re: [Groff] Re: pagesize for terminal output

2011-03-02 Thread Anton Shepelev
Walter Harms > does not work for me, the ^h are still produced Hmmm. I'll have too look at your nroff code to understand why. Anton