9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] riostart: make text window focused by default
@ 2021-03-02  8:55 José Miguel Sánchez García
  2021-03-02  9:05 ` Sigrid Solveig Haflínudóttir
  0 siblings, 1 reply; 2+ messages in thread
From: José Miguel Sánchez García @ 2021-03-02  8:55 UTC (permalink / raw)
  To: 9front

This change makes the text window be focused on startup when using
default riostart (e.g: when using the release ISO). This little change
makes you able to immediately reach the rc shell without clicking the
window, which at the very least is more convenient, and if you have
problems to use your mouse but want to install the system, you also
can (I had to stop profile from running at boot to patch it in my VPS
KVM console because the mouse wasn't working properly. Could install
and setup it to connect through drawterm).

diff -r cf7f7f873e07 sys/lib/dist/usr/glenda/bin/rc/riostart
--- a/sys/lib/dist/usr/glenda/bin/rc/riostart    Tue Mar 02 08:41:02 2021 +0100
+++ b/sys/lib/dist/usr/glenda/bin/rc/riostart    Tue Mar 02 08:47:03 2021 +0000
@@ -1,6 +1,6 @@
 #!/bin/rc
+window -miny 130
 window 0,0,161,117 stats -lmisce
-window -miny 130

 # run a system shell on the serial console
 ~ $#console 0 || window -scroll console

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

end of thread, other threads:[~2021-03-02  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02  8:55 [9front] riostart: make text window focused by default José Miguel Sánchez García
2021-03-02  9:05 ` Sigrid Solveig Haflínudóttir

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