Re: [9fans] use of plumber for new rule

2022-10-20 Thread Chris Gorman
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

Re: [9fans] use of plumber for new rule

2022-10-20 Thread Chris Gorman
Hello again Umbraticus, Thanks for your email. On Thu, Oct 20, 2022 at 1:01 PM wrote: > > I think you probably want: > > plumb start rc -c 'kertex/divps '$wdir'/'$0' | page -w' This solution has acme load up the dvi file to edit. I want to display the image rendered by page, but after it has

Re: [9fans] use of plumber for new rule

2022-10-20 Thread umbraticus
I think you probably want: plumb start rc -c 'kertex/divps '$wdir'/'$0' | page -w' umbraticus -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tce7385fe52c532d6-M95c2618ac3b3dd2f17c75c24 Delivery options:

Re: [9fans] use of plumber for new rule

2022-10-20 Thread Chris Gorman
Hi again Umbraticus, Sorry for spamming you today. But I wanted to let you know your command works and I had made a typo implementing it. > > This solution has acme load up the dvi file to edit. I want to > display the image rendered by page, but after it has been passed > through dvips. So

Re: [9fans] use of plumber for new rule

2022-10-20 Thread umbraticus
Here's my rule for manpages: data matches (.+)\(([0-9])\) arg isfile /sys/man/$2/$1 plumb start rc -c 'man -t '$2' '$1' | plumb -id image' which replumbs the cmd output to the image port; then: dst is image plumb to image plumb client rc -c 'window -r 380 0 1600 900 ''echo -n page >/dev/label;

Re: [9fans] use of plumber for new rule

2022-10-20 Thread Chris Gorman
Thank you Umbraticus! On Thu, Oct 20, 2022 at 4:56 AM wrote: > > Here's my rule for manpages: > > data matches (.+)\(([0-9])\) > arg isfile /sys/man/$2/$1 > plumb start rc -c 'man -t '$2' '$1' | plumb -id image' > > which replumbs the cmd output to the image port; then: > > dst is image > plumb