9front - general discussion about 9front
 help / color / mirror / Atom feed
* rio consctl behaviour
@ 2020-06-02 20:25 umbraticus
  2020-06-02 20:49 ` [9front] " Ethan Gardener
  0 siblings, 1 reply; 8+ messages in thread
From: umbraticus @ 2020-06-02 20:25 UTC (permalink / raw)
  To: 9front

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-06-03 20:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02 20:25 rio consctl behaviour umbraticus
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

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).