9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] [PATCH] rio: add -label wctl param; improve window(1)
Date: Sat, 16 May 2020 20:04:22 +0200	[thread overview]
Message-ID: <669B4536C8B6DF10967D667DA737E371@felloff.net> (raw)
In-Reply-To: <E8D2F5789EE7685B769A02E4534938AB@a-b.xyz>

>	window echo good night, linuks
>	window 'echo good morning, plan 9 | tr a-z A-Z; rc'

what about:

window rc -c 'echo $#* $*; sleep 10' 4 '5 6' 7

that neeeds to print: 3 4 5 6 7

just passing rc code to window is a shitty interface. you
need proper argument passing as well. basically, it has to
work like cpu/rcpu and ssh where you can just prefix any
valid command with window and it will run that command
inside the window and thats it and pass the arguments
without any mangeling. $"cmd is just wrong.

the manpage also says [cmd args] and not [rccode]

--
cinap


  reply	other threads:[~2020-05-16 18:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13 10:20 kvik
2020-05-13 13:34 ` [9front] " Ethan Gardener
2020-05-13 13:14   ` kvik
2020-05-14 13:28     ` Ethan Gardener
2020-05-14 12:20       ` kvik
2020-05-16 12:22   ` cinap_lenrek
2020-05-16 11:53     ` kvik
2020-05-16 18:04       ` cinap_lenrek [this message]
2020-05-16 14:04 ` cinap_lenrek
2020-05-16 16:08   ` kvik
2020-05-16 20:30     ` cinap_lenrek
2020-05-16 19:05       ` kvik

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=669B4536C8B6DF10967D667DA737E371@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9front@9front.org \
    /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).