9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Chris Gorman <chrisjohgorman@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] use of plumber for new rule
Date: Thu, 20 Oct 2022 12:52:33 -0400	[thread overview]
Message-ID: <CAHVeOW-PgF8tCD0ms7OJMg9Ap4PW8dDMgGj=Ub=UqAP2wwZpoQ@mail.gmail.com> (raw)
In-Reply-To: <CAHVeOW8qoKxJ+1QKZ=o0fytJOz3XYkph=KofEkiz_PBUnkcCaQ@mail.gmail.com>

A small improvement on the last solution to my problem.

> data matches '([a-zA-Z¡-�0-9_\-.,/]+)\.(dvi|DVI)'
> arg isfile $0
> plumb start window kertex/dvips $wdir/$0 '|' page
>
This solution opens a default sized window and I need to resize it to
see the .dvi.  Instead of a pipe to page, I now use a pipe to plumb
-id image.  This makes a full sized window.  The last line becomes

plumb start window kertex/dvips $wdir/$0 '|' plumb -id image

Chris

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tce7385fe52c532d6-Mc29d1e5d7b39cd973f7d33eb
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2022-10-20 16:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19 13:24 Chris Gorman
2022-10-20  8:56 ` umbraticus
2022-10-20 13:18   ` Chris Gorman
2022-10-20 16:52     ` Chris Gorman [this message]
2022-10-20 17:00       ` umbraticus
2022-10-20 17:52         ` Chris Gorman
2022-10-21  1:10           ` Chris Gorman

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='CAHVeOW-PgF8tCD0ms7OJMg9Ap4PW8dDMgGj=Ub=UqAP2wwZpoQ@mail.gmail.com' \
    --to=chrisjohgorman@gmail.com \
    --cc=9fans@9fans.net \
    /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).