From: qwx <qwx@sciops.net>
To: 9front@9front.org
Subject: rio exit menu
Date: Sun, 9 Dec 2018 21:26:45 +0100 [thread overview]
Message-ID: <CEC99320ABD6383A4A107B33427B362D@wopr.sciops.net> (raw)
Hello,
Currently, rio hides an 'Exit' entry in mouse menu 3 unless argv[0] contains
the string ".out".
The inlined patch below removes the check and exposes the entry.
While potentially dangerous, it is more convenient than manually killing a
given rio, and several people including me have been using this or similar
patches for a while.
What do you think? Would anyone else like to see this merged?
Thanks,
qwx
diff -r 49bd5e4c9bde sys/src/cmd/rio/rio.c
--- a/sys/src/cmd/rio/rio.c Wed Feb 07 18:53:08 2018 +0000
+++ b/sys/src/cmd/rio/rio.c Thu Feb 15 23:00:00 2018 +0100
@@ -125,10 +125,6 @@
Image *i;
Rectangle r;
- if(strstr(argv[0], ".out") == nil){
- menu3str[Exit] = nil;
- Hidden--;
- }
initstr = nil;
kbdin = nil;
maxtab = 0;
next reply other threads:[~2018-12-09 20:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-09 20:26 qwx [this message]
2018-12-09 20:38 ` [9front] " Julius Schmidt
2018-12-09 20:53 ` Steve Simon
2018-12-09 21:01 ` Stanley Lieber
2018-12-09 21:03 ` hiro
2018-12-09 21:29 ` qwx
2018-12-13 8:56 ` Ethan Gardener
2018-12-13 10:44 ` Ethan Gardener
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=CEC99320ABD6383A4A107B33427B362D@wopr.sciops.net \
--to=qwx@sciops.net \
--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).