[BRLTTY] Skip identical blank lines setting seems to impact Orca

Dave Mielke Dave at mielke.cc
Mon Apr 6 15:17:38 UTC 2026


[quoted lines by Chevelle on 2026/04/06 at 08:53 -0400]

>Ok, what process do you use to run the development code?

that shouldn't matter for your issue but, since you asked:

I invoke run-brltty as root. I've defned the brltty user so, even though brltty starts as root, it drops privileges by swithing to the brltty user. I wrap brltty with a small script to make it easy for me to test different braille devices (attached).

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://mielke.cc/xmother.html (Letter from a Feminist ex-Mother)
-------------- next part --------------
#!/bin/ksh -p
set -e

driverCode="${0##*/}"
export BRLTTY_CONFIGURATION_FILE="/etc/brltty-${driverCode}.conf"
export BRLTTY_PID_FILE="/tmp/brltty-${driverCode}.pid"
export BRLTTY_LOG_FILE="/tmp/brltty-${driverCode}.log"

unprivilegedUser="brltty"
export BRLTTY_PRIVILEGE_PARAMETERS="user=${unprivilegedUser},scfmode=log"
#export BRLTTY_WRITABLE_DIRECTORY=~${unprivilegedUser}"/rw/${driverCode}"

if [ -n "${BRLTTY_PROJECT}" ]
then
   espeak-ng "project ${BRLTTY_PROJECT}"
else
   BRLTTY_PROJECT="main"
fi

buildDirectory="/home/dave/brltty/git/${BRLTTY_PROJECT}"
cd "${buildDirectory}"

export PULSE_SERVER=speaker

[ -f "${BRLTTY_LOG_FILE}" ] && mv -- "${BRLTTY_LOG_FILE}" "${BRLTTY_LOG_FILE}.old"

#renice -20 $$
ulimit -c unlimited

set -- "./run-brltty" -n -e "${@}"
exitStatus=0
"${@}" || exitStatus="${?}"

[ "${exitStatus}" -eq 0 ] || {
   espeak -a 200 "BRLTTY exited with status ${exitStatus}"
}

exit "${exitStatus}"


More information about the BRLTTY mailing list