[BRLTTY] Adding a dot display to tt driver

Christoph-Simon Senjak christoph.senjak at googlemail.com
Sun Sep 18 12:37:18 EDT 2016


Hi.

Thank you. It appears to work now in both configurations. Without 
ncurses, it does not react on keyboard inputs, but neither does the 
original code which had no dots.

Best Regards,
Christoph-Simon Senjak

On 18.09.2016 14:47, Dave Mielke wrote:
> [quoted lines by Christoph-Simon Senjak on 2016/09/18 at 14:06 +0200]
>
>> Ok, I found a problem: I compiled it without ncurses support
>> originally (because you have to give ncurses as explicit dependency
>> in your nix-shell) and it worked.
>>
>> With ncurses support, only the dot display is shown, and I think I
>> have located the problem: [1] says that Newline does a clrtoeol,
>> which deletes the current line. So addstr("\r\n") will set the cursor
>> to the beginning of the current line and then delete it. Replacing it
>> with just "\n" will make it work for me, but I am not sure how that
>> will be when no ncurses is available.
>
> Please test the attached patch (tty-newline-1.patch) with and without ncurses.
>
>
>
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty
>


More information about the BRLTTY mailing list