[BRLTTY] Brlapi not connecting in headless mode

Dave Mielke Dave at mielke.cc
Fri Mar 28 22:19:11 UTC 2025


[quoted lines by Julian Dreykorn on 2025/03/28 at 22:49 +0100]

>There is no return value for that function in the Java bindings though.

enterTtyModeWithPath() effectively returns a boolean, i.e. 0 on success and -1 on failure. There's no return value in Java because a failure throws an exception whereas success returns.

-- 
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: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |

http://mielke.cc/xmother.html (Letter from a Feminist ex-Mother)


More information about the BRLTTY mailing list