9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ethan Gardener <eekee57@fastmail.fm>
To: 9fans@9fans.net
Subject: [9fans] non-captive user-interfaces: some ramblings; Plan 9 possibilities
Date: Fri, 30 Nov 2018 13:21:42 +0000	[thread overview]
Message-ID: <1543584102.3002365.1594279680.1BF85FCE@webmail.messagingengine.com> (raw)
In-Reply-To: <b695424f28532ca7d5565b80553a67ec@kathe.in>

On Fri, Nov 30, 2018, at 3:53 AM, Mayuresh Kathe wrote:
> non-captive user-interface

There's a term for what I've been looking for!  Lately I've been wanting to implement basically everything with non-captive interfaces.  I've been having trouble designing the programs because of my poor memory and other issues.

On the other hand, now I realise that a program I've heard of repeatedly over the last 20 years has the type of interface I'm looking for, I'm wondering why I didn't use it, if there's something wrong with the concept, something I felt but couldn't quantify.  I think maybe a general malaise when using the unix command line, probably initially due to trying to learn by reading init scripts of Red Hat 5.2; a source of brain damage almost on a par with BASIC!  Poor documentation in the 90s and tremendous option bloat obviously contributed to my malaise.  I did try hard at times.

I think netpbm was what finally put me off.  Inconsistent cryptic options, view-updating only by manual means, state-keeping also manual; I think those were the problems.  Ah, not netpbm; Plan 9's image tools are far more consistent, but the other two problems remain.  I guess both are worse in editing (text or images) than in mail.

I'm thinking of a two-pane view, one being a REPL of some sort, the other a display of what you're editing, obviously keeping state, and having an undo facility.  Obviously different display programs for text or images.  This could actually be scripted in Plan 9, especially in 9front where rio's text files are writable.  A minor catch is that you want the filters to operate on the displayed data rather than stdio.  This could be worked around by piping, or by a clever shell inserting redirects if none are specified.  (A wrapper around rc could do it.)  The display programs could (probably should) handle the case of `prog <dispfile >dispfile`.  Now I'm wondering if, when editing text, all output on stdout should go into the displayed text.  I guess that's reasonable, there is always undo, but I'm running out of functioning brain cells, lol.



  reply	other threads:[~2018-11-30 13:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-30  3:32 [9fans] upas : without acme : possible? sl
2018-11-30  3:53 ` Mayuresh Kathe
2018-11-30 13:21   ` Ethan Gardener [this message]
2018-12-26 22:03   ` [9fans] MH port Lyndon Nerenberg
     [not found]     ` <f94ead0a574c9d37bbf037033c322814@kathe.in>
2018-12-29  2:28       ` Lyndon Nerenberg

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=1543584102.3002365.1594279680.1BF85FCE@webmail.messagingengine.com \
    --to=eekee57@fastmail.fm \
    --cc=9fans@9fans.net \
    /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).