Re: [BRLTTY] Error "Can't determine tty number"

2016-08-11 Thread Samuel Thibault
Hello, Sorry I've been away for so long... t w, on Tue 05 Jul 2016 07:58:23 +, wrote: > Now I only have one more question: how do I pass the window ID of my main > window to my application (as Samuel suggested)? How do I find this id, and > where do I pass it? since you are running from ecli

Re: [BRLTTY] Error "Can't determine tty number"

2016-07-05 Thread t w
Hi everyone, After restarting my computer (and making sure that i have one - and only one - brltty process running), I switched to console mode (Ctrl+ALT+F2) and ran my program from there. And it worked! So thank you very much for your help! Your input, as well as older posts, really helped me n

Re: [BRLTTY] Error "Can't determine tty number"

2016-07-04 Thread t w
Hi Samuel,> Do you have xbrlapi running? (I'm not asking for you to run it, I'm > wondering whether it is already running) No, xbrlapi is not running. I also tried running it in a different tab (and checked that it is running), then ran my program, but it doesn't seem to make any difference. > I

Re: [BRLTTY] Error "Can't determine tty number"

2016-07-04 Thread Samuel Thibault
t w, on Mon 04 Jul 2016 05:13:21 +, wrote: > HOWEVER, nothing is actually written on the Braille display, and it also does > not recognize any input. Do you have xbrlapi running? (I'm not asking for you to run it, I'm wondering whether it is already running) Is the konsole window active when

Re: [BRLTTY] Error "Can't determine tty number"

2016-07-03 Thread t w
Hi, Thank you for your answer/s! I now compiled and ran my program in konsole, and it compiled fine. When running, it displays: Driver name: Papenmeier Braille display has 1 line of 40 columns Trying to enter in raw mode... brlapi_enterRawMode: Operation not supported Taking control of the tty...

Re: [BRLTTY] Error "Can't determine tty number"

2016-07-01 Thread Samuel Thibault
t w, on Fri 01 Jul 2016 11:49:17 +, wrote: > I ran my c++ code from eclipse, so if I understood your question correctly, > yes, I ran it from a graphical terminal. You need to run it from an actual graphical terminal (gnome-terminal, or konsole, etc.). If this is not a terminal application but

Re: [BRLTTY] Error "Can't determine tty number"

2016-07-01 Thread t w
un like a service, in my case? I thought just accessing the functions from a C++ program would be enough... By the way, I couldn't find the brlapitest that you mentioned in by brltty sources! Could this be another hint that something is wrong with my installation of brltty? Thanks a lot on

Re: [BRLTTY] Error "Can't determine tty number"

2016-06-30 Thread Shérab
Hi, a c (2016/06/29 11:12 +): > Hi, > > I'm writing some C++ code on ubuntu, trying to connect to a Papenmeier > Braillex EL 40s and just write some characters on it, for a start. > However, when taking control of the tty using the default tty number > (brlapi_enterTtyMode(BRLAPI_TTY_DEFAULT,

[BRLTTY] Error "Can't determine tty number"

2016-06-29 Thread a c
Hi, I'm writing some C++ code on ubuntu, trying to connect to a Papenmeier Braillex EL 40s and just write some characters on it, for a start. However, when taking control of the tty using the default tty number (brlapi_enterTtyMode(BRLAPI_TTY_DEFAULT, NULL)), I get an error: "Can't determine t