Hi Alex, At 2025-05-02T17:34:41+0200, Alejandro Colomar wrote: > On Fri, May 02, 2025 at 09:51:04AM -0500, G. Branden Robinson wrote: > > ---snip--- > > PDP-11 simulator V3.8-1 > > Disabling XQ > > @boot > > New Boot, known devices are hp ht rk rl rp tm vt > > : rl(0,0)rl2unix > > mem = 177856 > > # Restricted rights: Use, duplication, or disclosure > > is subject to restrictions stated in your contract with > > Western Electric Company, Inc. > > Thu Sep 22 23:33:03 EDT 1988 > > > > login: dmr > > $ cat lemaire > > Off-topic to Alejandro's initial question but related to the subject of > > justifying text set in monospace, do we owe this typographic gesture to > > the early *roff formaters or was it already a thing in previous > > publication tool, either software or hardware? > > $ roff lemaire | sed '/^$/d' > > Off-topic to Alejandro's initial question but related to the sub- > > ject of justifying text set in monospace, do we owe this typogra- > > phic gesture to the early *roff formaters or was it already a > > thing in previous publication tool, either software or hardware? > > ---end snip--- > > This example doesn't show the alternating preference of blanks left and > right. Do you have any example that would do that?
Sure. I was going to be glib and say "just repeat any word whose length in ens + 1 (for the trailing space) is relatively prime to the line length", but that doesn't quite work because when the trailing space ends the line, it is discarded. Still, this serves. $ for n in $(seq 60); do echo alex; done | nroff | cat -s alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex alex Regards, Branden
signature.asc
Description: PGP signature