Hello,

Mario Lang, le Thu 19 Feb 2009 10:54:15 +0100, a écrit :
> Aldo <[email protected]> writes:
> > I edited /etc/brltty.conf because I noticed the /dev/ on the
> > braille-device line before USB:
> 
> I can confirm this bug.

Uh, indeed.

>                      2)
>                         brailleDevice=${parameter}
>                         test "`expr "${brailleDevice}" : "/"`" -eq 0 && \
>                             brailleDevice="/dev/${brailleDevice}"
>                         test "`expr "${brailleDevice}" : "/dev/tts/"`" -eq 9 
> && \
>                             brailleDevice="/dev/ttyS`expr substr 
> ${brailleDevice} 10 2`"
>                         ;;
> 
> The check for a leading slash should have checked if the string contains
> any colons first.

Mmm, since brltty adds /dev/ itself anyway, could we perhaps just
replace this with

sed -e 's_/dev/tts/_/dev/ttyS_'

Or even drop it completely, since I believe devfs is not in the debian
installer anymore?

Samuel



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to