You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plan9p...@googlegroups.com
Is it possible to pass arguments (like -a, -F) to acme when it is started via the plumber?
In $HOME/lib/plumbing if I add any args in the "editor=acme" line, they don't seem to be passed to acme. Quoting the strings causes acme to not even launch.
Russ Cox
unread,
Apr 14, 2015, 2:34:58 PM4/14/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Is it possible to pass arguments (like -a, -F) to acme when it is started via the plumber?
In $HOME/lib/plumbing if I add any args in the "editor=acme" line, they don't seem to be passed to acme. Quoting the strings causes acme to not even launch.
No, not by changing editor=. You could change the uses of $editor in $PLAN9/plumb/basic, but probably the simplest thing is to create a script in your $PATH that runs acme with your options and set editor=name-of-that-script. You could even call the script acme as long as it refers to $PLAN9/bin/acme explicitly to get to the real acme.
Russ
Jordi Bunster
unread,
Apr 14, 2015, 2:45:40 PM4/14/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plan9p...@googlegroups.com, jo...@bunster.org
Thanks Russ. That's what I ended up doing, just didn't know if there was a proper way.
acme itself is on my $PATH, so I ended up calling my script acne. :P