9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] [PATCH] programmable menus for rio
Date: Wed, 24 Aug 2022 13:37:03 -0400	[thread overview]
Message-ID: <D32244BE8BCD42913EFB7C13CB7878C0@eigenstate.org> (raw)
In-Reply-To: <21D5362C-4E8B-4EBE-A9F6-A698796FD637@gmail.com>

Quoth Michael Misch <michaelmisch1985@gmail.com>:
> I really like the concept for this type of menu. Being able to extend behaviours, without it being clunky is a hallmark feature of Acme, for example. This same mindset being extended outwards into Rio where it has been considerably more rigid in adhering to the designed usage from the outset, enables things that may not have been conceived or considered in the 90s and early 2000s when these designs were laid.

I like the concept; I wonder how it'd be used.

It may make more sense to just run a command on the menu entry -- and,
at that point, if you want to have the menu entry name sent, you could
echo into a pipe:

	echo 'menu 3 Foo echo foo >/srv/event'

where menu 3 would say to add it to the button3 menu,
'Foo' would be the name of the entry, and 'echo ...'
would be run in an rc shell when the button is clicked.

At the same time, I've got some hesitation because this
is part of the rio interface -- and the more we add to
the rio interface, the less it becomes a general interface
it becomes.

In the past, there's been talk of a notebook style rio
replacement, and every knob and feature we add to rio
would become something that we'd need to fit into (or
shoehorn into) this hypothetical rio alternative.

This isn't a statement that it's a bad idea to add this,
just an observation that general, reimplementable, widely
usable interfaces are hard, and need some careful
consideration.

I like that rio is mostly forwarding the console and
devdraw interfaces, without too much addition, and the
way that it's *mostly* just a multiplexer.

Bug, given how much talk there's been of rio alternatives,
and how little code has been written, maybe this isn't
something that needs consideration.

I don't know the right balance here.


  parent reply	other threads:[~2022-08-24 17:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24  1:40 Jacob Moody
2022-08-24  2:46 ` ori
2022-08-24  5:02   ` Jacob Moody
2022-08-24  7:05     ` qwx
2022-08-24 13:38       ` Jacob Moody
2022-08-24 17:26         ` Michael Misch
2022-08-24 17:30           ` Stanley Lieber
2022-08-24 17:37           ` ori [this message]
2022-08-24 18:56             ` Lyndon Nerenberg (VE7TFX/VE6BBM)
2022-08-24 19:31               ` Stuart Morrow
2022-08-24 20:10                 ` Jacob Moody
2022-08-25  6:40                   ` Jacob Moody
2022-08-27  3:40                 ` ori
2022-08-27 13:30                   ` hiro
2022-08-27 14:23                     ` Mark van Atten
2022-08-27 17:22                       ` hiro
2022-08-24 20:04               ` ori
2022-08-24 20:17                 ` Stanley Lieber

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=D32244BE8BCD42913EFB7C13CB7878C0@eigenstate.org \
    --to=ori@eigenstate.org \
    --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).