From: Araki K. <ara...@us...> - 2017-05-13 17:59:14
|
Hi, From: Didier Spaier <di...@sl...> Subject: Re: [Mlterm-dev-en] Input buffered in mlterm-fb? Date: Mon, 8 May 2017 19:24:06 +0200 Message-ID: <5fb...@sl...> > Le 08/05/2017 à 18:30, Araki Ken a écrit : > > If you execute "KBD_INPUT_NUM=0 mlterm-fb" and can't input anything, > > /dev/input/event0 might not be a keyboard device you use. > > Will you inform me of the result of following commands just in case? > > > > $ for f in /sys/class/input/input*/name; do echo $f; cat $f; done > > I already checked, but here goes: > > didier[~]$ for f in /sys/class/input/input*/name; do echo $f; cat $f; done > /sys/class/input/input0/name > AT Translated Set 2 keyboard > /sys/class/input/input1/name > Speakup > /sys/class/input/input10/name > HDA Intel PCH Headphone > /sys/class/input/input11/name > Video Bus > /sys/class/input/input12/name > Logitech USB Optical Mouse > /sys/class/input/input13/name > BRLTTY 5.4 Linux Screen Driver Keyboard > /sys/class/input/input3/name > Lid Switch > /sys/class/input/input4/name > Sleep Button > /sys/class/input/input5/name > Power Button > /sys/class/input/input6/name > ThinkPad Extra Buttons > /sys/class/input/input7/name > HDA Intel PCH Mic > /sys/class/input/input8/name > HDA Intel PCH Dock Mic > /sys/class/input/input9/name > HDA Intel PCH Dock Headphone How about starting mlterm-fb with KBD_INPUT_NUM=13 ? If it solves the problem, I'll fix mlterm-fb to prefer BRLTTY keyboard to normal AT keyboard. > Which leads to an off topic question. nosh is supposed to be able > to provide two outputs if I understand well: one to draw a framebuffer > and another to provide discrete characters that can be read by brltty. > Can mlterm do something similar[1]? Cf: > https://jdebp.eu/Softwares/nosh/brltty.html > https://jdebp.eu/Softwares/nosh/user-vt-screenshots.html I'm not familiar to brltty and nosh at all. As far as I looked over them, it seems possibe to enable mlterm to output characters to brltty, though I haven't understand yet the natural way of processing characters to be output to brltty. http://mlterm.sf.net/mlterm-3.8.1-brltty.patch is a simple patch, and I tested brltty as follows. $ tar xzvf mlterm-3.8.1.tar.gz $ cd mlterm-3.8.1 $ patch -p1 < mlterm-3.8.1-brltty.patch $ ./configure ... $ make; sudo make install $ export BRLTTY_SPEECH_INPUT=~/tmp_fifo $ brltty -s es -E $ mlterm I haven't try nosh yet. I'll investigate this topic a bit more. Regards, --- Araki Ken ara...@us... |