From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by ewsd; Thu May 14 09:30:02 EDT 2020 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 91F49C5F for <9front@9front.org>; Thu, 14 May 2020 09:30:00 -0400 (EDT) Received: from imap36 ([10.202.2.86]) by compute1.internal (MEProxy); Thu, 14 May 2020 09:30:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm3; bh=oYAhe40Y2krODPyUtPMnqBYvRVPHAc5 IfecTtsrWBy0=; b=Yy7lBz41s6f82cz/nBe6S6jjlz5P5IwoSCCXBgieYt+bh63 bl+seGXlhgw/Dw3BDyBRGFFntm+OhvEmAvM+4NF6+KeRaInMbbe9gkVwUCB767YR jVHlKlzw+5kueNOI64fJbRgIxKcWnZKKJxwGHngIL/1w67vTn1GpUbIitDC4euqW 6mM0ie1A2jyEJQOdeFFMUfooySk7MaDhL3Sfexj2lbaJo6FD0phH3Wg8vGgclU17 GEmN242pebjFZ6duRnv2tyxAt6p0nZ4UWToo8VANuiGYzh9RscckAcIxKN2JsV+S 0Nx00zNl7LfeHxUq12GP1euNrosOZ6FGcrINolw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=oYAhe4 0Y2krODPyUtPMnqBYvRVPHAc5IfecTtsrWBy0=; b=C0hSsnf7rqAFHPatIWqy/U I6DZZ+fUIBIRq9aRNjx8Or/CwzqHrqeUVdUkMGza1PsdiCwjBeQOqGIe4Ipt5G1n 7QoU9XH5ulY+vEJYOuSwQMxloVdHIJc4yBVaZwSpTglR95rWXvR5MetYd3izNibT /mvyq8q133QKumTDZ0GMl2C8r9opPz+Y0BxzEZgXn6+dsENF7VtLh/Dcw7XHOxCZ 6gRN0dn1U4UZ6vN25nJvhviCzupgrhjqM/szuk9lWNyN2ApZXwg7ncY+at1RBiDy 67HEDdJU/0MLZwO93YQ16S/BYXbk5vXWfoV9weq4Df3LFAC/nVYxoGnq5vQc68Cw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrleeigdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddvfedmnecujfgurhepofgfgg fkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfgthhhrghnucfirghruggv nhgvrhdfuceovggvkhgvvgehjeesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvg hrnhepffdvtdehgeekfeefgfeufeejudetvdfggfffkefgjefhteekgeevjedvfeeuueei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvggvkh gvvgehjeesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id F13ED1880694; Thu, 14 May 2020 09:29:59 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-dev0-413-g750b809-fmstable-20200507v1 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Thu, 14 May 2020 14:28:58 +0100 From: "Ethan Gardener" To: 9front@9front.org Subject: Re: [9front] [PATCH] rio: add -label wctl param; improve window(1) Content-Type: text/plain List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: callback HTTP over XMPP CMS lifecycle cloud locator On Wed, May 13, 2020, at 2:14 PM, kvik@a-b.xyz wrote: > > You see that the initial argument list stays the same as it is being > passed along, that is until another round of evaluation inside the > rc -c subshell where the next layer of quotes is stripped. > > In the argument parsing sense removing the recursive call to window -x > is the same as skipping the call to 'once' in the above example. > > > window -r 268 0 868 400 -scroll rc -c \ > > '''label -f kprint; echo kprint; tail -f /tmp/kprint''' > > window -r 0 0 128 128 colorclock_l > > window -r 0 124 128 252 rc -c \ > > '''font=/lib/font/bit/dejavusans/unicode.12.font; stats -Ime''' > > These commands run as expected with the patch. Ah, you're quite right. Thanks for the examples and testing. > > > Now I think of it, I don't really agree with window(1) setting the label > > at all, but it's a minor point. > > I'm not a fan of automatic labeling either. Ideally the programs would > set the label themselves if the user didn't request a name, but I don't > think this is easily accomplished. It looks like it's one of those things which ends up a little untidy whichever option is chosen.