From: rudolf.sykora@gmail.com (Rudolf Sykora)
Subject: [9fans] tr2post ignores \X'anything' troff lines
Date: Sun, 3 Apr 2011 13:50:21 +0200 [thread overview]
Message-ID: <AANLkTim35ZbWaoZaE4j4MfKPw6vhd+VSHMEJAnK3=+D=@mail.gmail.com> (raw)
In-Reply-To: <AANLkTik+HECTkoA71POK2exN5LkFBy1GJ6QynDagTE5-@mail.gmail.com>
On 3 April 2011 13:21, Rudolf Sykora <rudolf.sykora at gmail.com> wrote:
> Hello 9fans,
>
> I found that tr2post (at least on p9p) seems to discard [not process]
> lines produced with \X'anything' in troff, so an input like
>
> hello
> \X'ps: exec 1 0 0 setrgbcolor'
> blabla
>
> results in output *without* the setrgbcolor line.
> (using lines like this one can achieve coloured .ps, in this case the
> 'blabla' should be red)
>
> Best regards
> Ruda
>
Ok, it seems that what I need is a modification of
/src/cmd/postscript/tr2post/devcntl.c
in the case 'X' part.
Is there any reason for this
/* else
error(WARNING, "Unknown string <%s %s> after x X\n", str, buf);
*/
being commented out?
Thanks
Ruda
prev parent reply other threads:[~2011-04-03 11:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-03 11:21 Rudolf Sykora
2011-04-03 11:50 ` Rudolf Sykora [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTim35ZbWaoZaE4j4MfKPw6vhd+VSHMEJAnK3=+D=@mail.gmail.com' \
--to=rudolf.sykora@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).