[quoted lines by Samuel Thibault on 2026/04/08 at 19:40 +0200]

>It could be using the same non-root approach as libbrlapi: open
>/proc/self/stat and check the tty major/minor of the controlling tty,
>see getControllingTty()

Perhaps by following the chain to the top. stat[6] is the controlling tty for 
the current process which, inside tmux, is a pty. WINDOWPATH needs to be the 
controlling tty of tmux itself, which I don't think it exposes.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: [email protected]  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://mielke.cc/xmother.html (Letter from a Feminist ex-Mother)
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to