[BRLTTY] Using BrlAPI clients in tmux (wass: Linux console hacking (was: Re: Footsteps towards better accessibility in Linux))

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Apr 8 17:40:45 UTC 2026


Dave Mielke, le mer. 08 avril 2026 13:29:27 -0400, a ecrit:
> [quoted lines by Aura Kelloniemi on 2026/04/08 at 15:42 +0300]
> 
> >Now that I tested the tmux screen driver, the local brltty actually took over
> >the whole console system so that it always displays contents of tmux
> >regardless of which VT I switch to. I don't understand why this happens.
> 
> That's why the brltt-tmux command exists.

> It goes through the necessary mechaics to firgure out which VT you're on. It needs to be run as root for that, though,

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

Samuel


More information about the BRLTTY mailing list