Re: [BRLTTY] Adding a dot display to tt driver
[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 special key escape sequences. Neitehr of these has been done, yet, though. >What is typing other characters supposed to do? Typing characters should enqueue them as input. Maybe, given that you're using a serial port emulator, it's hard to tell the difference between typed input and echoed input. One way to be sure, though, would be to see if what you're typing also shows up in braille. -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/ EMail: d...@mielke.cc | Canada K2A 1H7 | http://FamilyRadio.org/ ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty
Re: [BRLTTY] Adding a dot display to tt driver
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 special > >keys (e.g. the arrow keys) don't work but that typing characters (e.g. > >letters) > >still does work? > > The special keys for help (F1), etc., do not work. We need ncurses to get the codes for these keys right. Only plain text keys can work without ncurses. > What is typing other characters supposed to do? Simulate pressing the corresponding key on the PC keyboard. But that can only work when using the Linux screen driver or running xbrlapi. And of course you risk getting a loop :) since the simulated keypress event will probably go into the xterm where you are running the TTY braille driver, and thus simulating it again, etc. Samuel ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty
Re: [BRLTTY] Adding a dot display to tt driver
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. letters) still does work? The special keys for help (F1), etc., do not work. What is typing other characters supposed to do? Best Regards Christoph-Simon Senjak ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty
Re: [BRLTTY] Adding a dot display to tt driver
[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 | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/ EMail: d...@mielke.cc | Canada K2A 1H7 | http://FamilyRadio.org/ ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty
Re: [BRLTTY] Adding a dot display to tt driver
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; -parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig -icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc On 18.09.2016 20:31, Dave Mielke wrote: [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 serial port with an external device, a virtual tty, or what? Could you please post the output of "stty -a -F /dev/whatever" while brltty is ruhnning without ncurses? ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty