[BRLTTY] Re: More then one connection to brlapi
Samuel Thibault
samuel.thibault at ens-lyon.org
Mon Nov 28 03:25:17 EST 2005
Hi,
Milan Zamazal, le Thu 24 Nov 2005 13:45:00 +0100, a écrit :
> ST> And when sending the 'gettty packet, send the size of this list
> ST> and its content. The BrlAPI server will then know for instance
> ST> that emacs is running in its own X window of VT 8.
>
> What's the recommended way to deal with multiple Emacs windows (and only
> single Emacs process and BrlAPI connection)? Should I leave and get
> terminal each time the active window is changed or can I list all the
> active windows in the gettty packet?
For now, the server doesn't let a client grab several ttys (just an
easy-to-fix implementation issue). But the natural way for the client to
do it will be for instance:
- brlapi_getTty(1,NULL); // grab tty 1
- brlapi_getTty(2,NULL); // grab tty 2 too
- brlapi_leaveTty(1,NULL); // leave tty 1
- etc.
For now, you can indeed leave and get tty each time the active window is
changed.
Regards,
Samuel
More information about the BRLTTY
mailing list