9front - general discussion about 9front
 help / color / mirror / Atom feed
From: umbraticus@prosimetrum.com
To: 9front@9front.org
Subject: rio consctl behaviour
Date: Wed, 3 Jun 2020 08:25:53 +1200	[thread overview]
Message-ID: <12C7AF31406704D51DAFFADC11433F25@prosimetrum.com> (raw)

from rio(4):
> consctl controls interpretation of console input.  Writing
> strings to it sets these modes: rawon turns on raw
> mode; rawoff turns off raw mode; holdon turns on
> hold mode; holdoff turns off hold mode.  Closing the
> file makes the window revert to default state (raw
> off, hold off).

I am wondering if there is a reason for the behaviour described in the
last sentence.  It seems like it would be convenient to be able to
just echo holdon > /dev/consctl rather than do the dance in eg.
/rc/bin/hold to keep the fd open.  I have commented out
/sys/src/cmd/rio/xfid.c:328,335 in my local copy and nothing seems to
have broken...

umbraticus


             reply	other threads:[~2020-06-02 20:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-02 20:25 umbraticus [this message]
2020-06-02 20:49 ` [9front] " Ethan Gardener
2020-06-02 21:53   ` umbraticus
2020-06-02 21:57     ` hiro
2020-06-02 22:50       ` Silas McCroskey
2020-06-03  2:01         ` umbraticus
2020-06-03  7:37         ` hiro
2020-06-03 20:00           ` Silas McCroskey

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=12C7AF31406704D51DAFFADC11433F25@prosimetrum.com \
    --to=umbraticus@prosimetrum.com \
    --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).