[BRLTTY] More then one connection to brlapi
Jan Buchal
buchal at brailcom.org
Wed Nov 23 05:34:45 EST 2005
>>>>> "ST" == Samuel Thibault <samuel.thibault at ens-lyon.org> writes:
ST> Hi, Ah, from reading the source code in speechd-el, the
ST> implementation is incorrect there.
OK, That's a question for Milan Zamazal.
ST> Jan Buchal, le Wed 23 Nov 2005 10:56:21 +0100, a écrit : I guess
ST> this shows up when you run emacs. How do you run emacs? In its
ST> own window (like xemacs),
>> Yes in own window.
ST> Ok. I guess brltty.el can get from emacs the ID of the X window
ST> in which it is running?
ST> The correct implementation would be:
ST> - If the WINDOWSPATH environment variable exists, decode its
ST> content as a list of integers (the content of the variable is
ST> expected to be something like 8:12345:23456) - Else (WINDOWSPATH
ST> was not defined by xsession/xinitrc), if running in an X
ST> environment, grab the VT number from the XFree86_VT X property
ST> and use that as a list of one integer. - Else, emacs is running
ST> on the linux console, use an empty integer list.
ST> - Then, if emacs is running in its own window, append the window
ST> ID to this integer list. - Else, if it exists, append the
ST> content of the WINDOWID environment variable (running in an
ST> xterm), - Else (i.e. running on the linux text console),
ST> determine the controlling tty by looking in /proc/self/stat the
ST> major and minor number of the controlling tty (7th part)
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.
very good, thanks for your time.
ST> Regards, Samuel _______________________________________________
ST> This message was sent via the BRLTTY mailing list. To post a
ST> message, send an e-mail to: BRLTTY at mielke.cc For general
ST> information, go to: http://mielke.cc/mailman/listinfo/brltty
--
Jan Buchal
Tel: (00420) 24 24 86 008
Mob: (00420) 608023021
More information about the BRLTTY
mailing list