[BRLTTY] brlapi_readKey() if no tty mode

Mario Lang mlang at delysid.org
Mon Mar 26 04:22:16 EDT 2007


Samuel Thibault <samuel.thibault at ens-lyon.org> writes:

> Hi,
>
> Mario Lang, le Sun 25 Mar 2007 04:53:49 +0200, a écrit :
>> If I call brlapi_readKey with the wait argument before I called enterTtyMode,
>> the call seems to enter a infinite loop.  I guess there
>> is no way to break out of this, right?  If not, could we
>> catch it in the client library, and return an error code instead
>> of not returning from the call at all?
>
> Mmm, are you using the svn version?  I tested it and it already properly
> returns BRLAPI_ERROR_ILLEGAL_INSTRUCTION.

Yes, I was using the latest SVN version.  I'll have to give
this another try and see if I can reproduce the behaviour.

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang at db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>



More information about the BRLTTY mailing list