From: umbraticus@prosimetrum.com
To: 9fans@9fans.net
Subject: Re: [9fans] sam label and rio snarf buffer
Date: Sat, 24 Jul 2021 10:25:36 +1200 [thread overview]
Message-ID: <41D5DF09190BEFAA9D819AF0ABEFAF1E@prosimetrum.com> (raw)
In-Reply-To: <2eabf32-bcd4-2cd8-cd18-dd2c7f708a4e@SDF.ORG>
> I've to think about the plumber and the the named pipe to be able
> to plumb a file and bring to the front a sam instance if it has
> the file open, moving the file's window to the front with dot set at
> the address, if one is given.
I have this:
diff -u /sys/src/cmd/samterm/plan9.c ./plan9.c
--- /sys/src/cmd/samterm/plan9.c Mon Jun 21 18:44:27 2021
+++ ./plan9.c Mon Jun 21 19:51:51 2021
@@ -215,6 +215,11 @@
which = i;
send(c, &which);
}
+ if((n = open("/dev/wctl", OWRITE)) >= 0){
+ write(n, "current\n", 8);
+ write(n, "unhide\n", 7);
+ close(n);
+ }
}
}
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc809ad6007ccd2bd-M619b1c2110ae7f980ce9f1c9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next prev parent reply other threads:[~2021-07-23 22:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 12:35 adr via 9fans
2021-07-20 18:01 ` Skip Tavakkolian
2021-07-20 19:21 ` adr via 9fans
2021-07-20 20:23 ` Skip Tavakkolian
2021-07-20 20:49 ` adr via 9fans
2021-07-20 21:27 ` Stuart Morrow
2021-07-20 21:36 ` Peter Mikkelsen
2021-07-20 22:35 ` Stuart Morrow
2021-07-20 22:12 ` Ethan Gardener
2021-07-20 23:01 ` ori
2021-07-20 23:39 ` adr via 9fans
2021-07-21 3:32 ` Lucio De Re
2021-07-21 8:00 ` hiro
2021-07-23 21:44 ` adr via 9fans
2021-07-23 22:25 ` umbraticus [this message]
2021-07-20 21:27 ` adr via 9fans
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=41D5DF09190BEFAA9D819AF0ABEFAF1E@prosimetrum.com \
--to=umbraticus@prosimetrum.com \
--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).