[BRLTTY] screen startup before login

raoul megelas rmgls at free.fr
Sun Nov 25 08:04:23 EST 2012


Hi all,

Thanks to all for your precious help.

Now, brltty is starting automatically after login on FreeBSD.

for the record here is what i made:

in /usr/local/etc/zzzbrltty: (zzz because it the last one treated)

#!/bin/sh 

/usr/local/bin/screen -dm # start in daemon mode, detached from terminal
/bin/brltty -q -b fs -d usb: -L /dev/null # my parameters
/usr/local/play SOMEFILE.wav # play -> sox, must be installed

sudo chmod +x /usr/local/etc/rc.d/zzzbrltty

in the user .tcshrc:

USERPATH/run_brltty

in run_brltty:

sudo killall brltty # sudo must be configured to allow this command 
without password login

screen -q
/bin/brltty -q -L/dev/null

Comments:
1. this is in progress.

2. at boot time, when # appers, this mean login:
Oh! it is a dirty hack, but for now its meant
waaiting to make the rest of interfacing between the kernel and brltty,
which can take a certain time!

thanks.

Raoul
rmgls at free.fr


More information about the BRLTTY mailing list