9front - general discussion about 9front
 help / color / mirror / Atom feed
* troff(1): read in program
@ 2015-09-29  9:40 Julius Schmidt
  2015-10-01 11:59 ` [9front] " Rudolf Sykora
  0 siblings, 1 reply; 3+ messages in thread
From: Julius Schmidt @ 2015-09-29  9:40 UTC (permalink / raw)
  To: 9front

Is there any way to display a program in troff -ms that's read in from a 
file?

The best I could come up with is the one below, but that seems to drop \ 
for some reason.

.P1
.eo
.so aijupins11
.ec
.P2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] troff(1): read in program
  2015-09-29  9:40 troff(1): read in program Julius Schmidt
@ 2015-10-01 11:59 ` Rudolf Sykora
  2015-10-01 12:31   ` Rudolf Sykora
  0 siblings, 1 reply; 3+ messages in thread
From: Rudolf Sykora @ 2015-10-01 11:59 UTC (permalink / raw)
  To: 9front

On 29 September 2015 at 11:40, Julius Schmidt <aiju@phicode.de> wrote:
> Is there any way to display a program in troff -ms that's read in from a
> file?
>
> The best I could come up with is the one below, but that seems to drop \ for
> some reason.
>
> .P1
> .eo
> .so aijupins11
> .ec
> .P2

in groff
.nf
.eo
.so b
.ex
does what I would expect, leaving \ intact. Is it so that ms package complicates
the thing?

Ruda


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] troff(1): read in program
  2015-10-01 11:59 ` [9front] " Rudolf Sykora
@ 2015-10-01 12:31   ` Rudolf Sykora
  0 siblings, 0 replies; 3+ messages in thread
From: Rudolf Sykora @ 2015-10-01 12:31 UTC (permalink / raw)
  To: 9front

> .nf
> .eo
> .so b
> .ex


... works also using p9p troff


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-01 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-29  9:40 troff(1): read in program Julius Schmidt
2015-10-01 11:59 ` [9front] " Rudolf Sykora
2015-10-01 12:31   ` Rudolf Sykora

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).