Re: [BRLTTY] Adding a dot display to tt driver

2016-09-20 Thread Dave Mielke
[quoted lines by Christoph-Simon Senjak on 2016/09/20 at 20:41 +0200] >The special keys for help (F1), etc., do not work. That's actually expected for now when curses isn't being used. We could assign control characters to braille display commands. We might even be able to implement the

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-20 Thread Samuel Thibault
Christoph-Simon Senjak, on Tue 20 Sep 2016 20:41:55 +0200, wrote: > On 20.09.2016 14:11, Dave Mielke wrote: > >[quoted lines by Christoph-Simon Senjak on 2016/09/20 at 13:47 +0200] > > > >>I am using a terminal emulator. > > > >Do you mean that input (withotu curses) doesn't work at all, or that

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-20 Thread Christoph-Simon Senjak
On 20.09.2016 14:11, Dave Mielke wrote: [quoted lines by Christoph-Simon Senjak on 2016/09/20 at 13:47 +0200] I am using a terminal emulator. Do you mean that input (withotu curses) doesn't work at all, or that special keys (e.g. the arrow keys) don't work but that typing characters (e.g.

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-20 Thread Dave Mielke
[quoted lines by Christoph-Simon Senjak on 2016/09/20 at 13:47 +0200] >I am using a terminal emulator. Do you mean that input (withotu curses) doesn't work at all, or that special keys (e.g. the arrow keys) don't work but that typing characters (e.g. letters) still does work? -- Dave Mielke

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-20 Thread Christoph-Simon Senjak
I am using a terminal emulator. $ stty -a -F /dev/pts/7 speed 38400 baud; rows 50; columns 194; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ; discard = ^O; min = 1; time = 0;

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-18 Thread Dave Mielke
[quoted lines by Christoph-Simon Senjak on 2016/09/18 at 18:37 +0200] >It appears to work now in both configurations. That patch is now committed to the repository. >Without ncurses, it does not react on keyboard inputs, but neither does the >original code which had no dots. Are you using a

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-18 Thread Christoph-Simon Senjak
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

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-18 Thread Dave Mielke
[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

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-18 Thread Christoph-Simon Senjak
Hello. 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

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-17 Thread Dave Mielke
[quoted lines by Christoph-Simon Senjak on 2016/09/18 at 00:57 +0200] >It appears to work. Thanks for testing it. >Will you add this patch to the git repo? Done. -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario |

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-17 Thread Christoph-Simon Senjak
Hi. Thank you. It appears to work. Will you add this patch to the git repo? Best Regards Christoph-Simon Senjak On 17.09.2016 23:21, Dave Mielke wrote: [quoted lines by Christoph-Simon Senjak on 2016/09/17 at 21:54 +0200] I wrote the following proof-of-concept patch for the driver. It just

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-17 Thread Dave Mielke
[quoted lines by Christoph-Simon Senjak on 2016/09/17 at 21:54 +0200] >I wrote the following proof-of-concept patch for the driver. It just >adds an additional line with braille characters. Thank you. I've reworked it some (attached as tty-braille-1.patch). Please verify that I haven't broken

Re: [BRLTTY] Adding a dot display to tt driver

2016-09-17 Thread Samuel Thibault
Hello, Thanks! Christoph-Simon Senjak, on Sat 17 Sep 2016 21:54:21 +0200, wrote: > int row; > for (row=0; rowtextRows; row++) { >writeText([row*brl->textColumns], brl->textColumns); > + addstr("\r\n"); > + > + wchar_t converted[brl->textColumns]; > + int col; > +