| 1 |
<!doctype linuxdoc system [ |
| 2 |
|
| 3 |
<!ENTITY DriverCodes SYSTEM "driver-codes.sgml"> |
| 4 |
<!ENTITY BrailleDrivers SYSTEM "braille-drivers.sgml"> |
| 5 |
<!ENTITY SpeechDrivers SYSTEM "speech-drivers.sgml"> |
| 6 |
<!ENTITY TextTables SYSTEM "text-tables.sgml"> |
| 7 |
<!ENTITY ContractionTables SYSTEM "contraction-tables.sgml"> |
| 8 |
|
| 9 |
]> |
| 10 |
<article> |
| 11 |
|
| 12 |
<titlepag> |
| 13 |
<title>BRLTTY Reference Manual |
| 14 |
<subtitle>Access to the Console Screen for Blind Persons using Refreshable Braille Displays |
| 15 |
<author> |
| 16 |
<name>Nikhil Nair <tt><htmlurl url="mailto:[email protected]" name="<[email protected]>"></tt> |
| 17 |
<and> |
| 18 |
<name>Nicolas Pitre <tt><htmlurl url="mailto:[email protected]" name="<[email protected]>"></tt> |
| 19 |
<and> |
| 20 |
<name>Stéphane Doyon <tt><htmlurl url="mailto:[email protected]" name="<[email protected]>"></tt> |
| 21 |
<and> |
| 22 |
<name>Dave Mielke <tt><htmlurl url="mailto:[email protected]" name="<[email protected]>"></tt> |
| 23 |
<date>Version 6.9.1, April 2026 |
| 24 |
<abstract> |
| 25 |
Copyright © 1995-2026 by The BRLTTY Developers. |
| 26 |
BRLTTY is free software, |
| 27 |
and comes with ABSOLUTELY NO WARRANTY. |
| 28 |
It is placed under the terms of version 2 or later of |
| 29 |
<bf/The GNU General Public License/ |
| 30 |
as published by |
| 31 |
<bf/The Free Software Foundation/. |
| 32 |
</abstract> |
| 33 |
</titlepag> |
| 34 |
|
| 35 |
<toc> |
| 36 |
<lof> |
| 37 |
<lot> |
| 38 |
|
| 39 |
<sect>Formalities<p> |
| 40 |
|
| 41 |
<sect1>License<p> |
| 42 |
This program is free software. |
| 43 |
You may redistribute it and/or modify it under the terms of |
| 44 |
<htmlurl url="http://www.gnu.org/licenses/licenses.html#LGPL" name="The GNU Lesser General Public License"> |
| 45 |
as published by <htmlurl url="http://www.gnu.org/fsf/fsf.html" name="The Free Software Foundation">. |
| 46 |
Version 2.1 (or any later version) of the license may be used. |
| 47 |
|
| 48 |
You should have received a copy of the license along with this program. |
| 49 |
It should be in the file <tt/LICENSE-LGPL/ in the top-level directory. |
| 50 |
If not, write to the Free Software Foundation Inc., |
| 51 |
675 Mass Ave, Cambridge, MA 02139, USA. |
| 52 |
|
| 53 |
<sect1>Disclaimer<p> |
| 54 |
This program is distributed in the hope that it will be useful, |
| 55 |
but WITHOUT ANY WARRANTY - not even |
| 56 |
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 57 |
See the <bf/GNU General Public License/ for more details. |
| 58 |
|
| 59 |
<sect1>Contact Information<label id="contact"><p> |
| 60 |
BRLTTY represents the work of a team. |
| 61 |
For up-to-date information, see BRLTTY's web page at |
| 62 |
[<htmlurl url="http://brltty.app/" name="http://brltty.app/">]. |
| 63 |
As of this writing, the team includes: |
| 64 |
<itemize> |
| 65 |
<item> |
| 66 |
Dave Mielke (maintainer, active) |
| 67 |
<descrip> |
| 68 |
<tag/Web/<htmlurl url="http://mielke.cc/" name="http://mielke.cc/"> |
| 69 |
<tag/E-Mail/<htmlurl url="mailto:[email protected]" name="<[email protected]>"> |
| 70 |
</descrip> |
| 71 |
<item> |
| 72 |
Samuel Thibault (active) |
| 73 |
<descrip> |
| 74 |
<tag/Web/<htmlurl url="http://dept-info.labri.fr/~thibault/" name="http://dept-info.labri.fr/~thibault/"> |
| 75 |
<tag/E-Mail/<htmlurl url="mailto:[email protected]" name="<[email protected]>"> |
| 76 |
</descrip> |
| 77 |
<item> |
| 78 |
Mario Lang (active) |
| 79 |
<descrip> |
| 80 |
<tag/Web/<htmlurl url="http://delysid.org/" name="http://delysid.org/"> |
| 81 |
<tag/E-Mail/<htmlurl url="mailto:[email protected]" name="<[email protected]>"> |
| 82 |
</descrip> |
| 83 |
<item> |
| 84 |
Nicolas Pitre |
| 85 |
<descrip> |
| 86 |
<tag/Web/<htmlurl url="http://www.fluxnic.net/" name="http://www.fluxnic.net/"> |
| 87 |
<tag/E-Mail/<htmlurl url="mailto:[email protected]" name="<[email protected]>"> |
| 88 |
</descrip> |
| 89 |
<item> |
| 90 |
Stéphane Doyon |
| 91 |
<descrip> |
| 92 |
<tag/Web/<htmlurl url="http://pages.infinit.net/sdoyon/" name="http://pages.infinit.net/sdoyon/"> |
| 93 |
<tag/E-Mail/<htmlurl url="mailto:[email protected]" name="<[email protected]>"> |
| 94 |
</descrip> |
| 95 |
<item> |
| 96 |
Nikhil Nair (author) |
| 97 |
<descrip> |
| 98 |
<tag/E-Mail/<htmlurl url="mailto:[email protected]" name="<[email protected]>"> |
| 99 |
</descrip> |
| 100 |
</itemize> |
| 101 |
|
| 102 |
Questions, comments, suggestions, criticisms, and contributions are all welcome. |
| 103 |
Even though our e-mail addresses are listed above, |
| 104 |
the best way to contact us is via BRLTTY's mailing list. |
| 105 |
You can post to the list by sending e-mail to |
| 106 |
<htmlurl url="mailto:[email protected]" name="<[email protected]>">. |
| 107 |
If you aren't subscribed to the list |
| 108 |
then your posts will be held for moderator approval. |
| 109 |
To subscribe, unsubscribe, change settings, view archives, etc, |
| 110 |
go to the list's information page at |
| 111 |
<htmlurl url="http://brltty.app/mailman/listinfo/brltty" name="http://brltty.app/mailman/listinfo/brltty">. |
| 112 |
|
| 113 |
<sect>Introduction<p> |
| 114 |
BRLTTY gives a braille user access to the text consoles of a Linux/Unix system. |
| 115 |
It runs as a background process (daemon) |
| 116 |
which operates a refreshable braille display, |
| 117 |
and can be started very early in the system boot sequence. |
| 118 |
It enables a braille user, therefore, to easily independently handle |
| 119 |
aspects of system administration such as |
| 120 |
single user mode entry, |
| 121 |
file system recovery, |
| 122 |
and boot problem analysis. |
| 123 |
It even greatly eases such routine tasks as logging in. |
| 124 |
|
| 125 |
BRLTTY reproduces a rectangular portion of the screen |
| 126 |
(referred to within this document as `the window') |
| 127 |
as braille text on the display. |
| 128 |
Controls on the display can be used to |
| 129 |
move the window around on the screen, |
| 130 |
to enable and disable various viewing options, |
| 131 |
and to perform special functions. |
| 132 |
|
| 133 |
<sect1>Feature Summary<p> |
| 134 |
BRLTTY provides the following capabilities: |
| 135 |
<itemize> |
| 136 |
<item> |
| 137 |
Full implementation of the usual screen review facilities. |
| 138 |
<item> |
| 139 |
Choice between <tt/block/, <tt/underline/, or <tt/no/ cursor. |
| 140 |
<item> |
| 141 |
Optional <tt/underline/ to indicate specially highlighted text. |
| 142 |
<item> |
| 143 |
Optional use of <tt/blinking/ (rates individually settable) for |
| 144 |
cursor, special highlighting underline, and/or capital letters. |
| 145 |
<item> |
| 146 |
Screen freezing for leisurely review. |
| 147 |
<item> |
| 148 |
Intelligent cursor routing, allowing easy fetching of cursor within |
| 149 |
text editors, web browsers, etc., |
| 150 |
without moving ones hands from the braille display. |
| 151 |
<item> |
| 152 |
A cut-and-paste function (linear or rectangular) which is particularly useful for |
| 153 |
copying long file names, |
| 154 |
copying text between virtual terminals, |
| 155 |
entering complicated commands, |
| 156 |
etc. |
| 157 |
<item> |
| 158 |
Table driven in-line contracted braille (English and French provided). |
| 159 |
<item> |
| 160 |
Support for multiple braille codes. |
| 161 |
<item> |
| 162 |
Ability to identify an unknown character. |
| 163 |
<item> |
| 164 |
Ability to inspect character highlighting. |
| 165 |
<item> |
| 166 |
An on-line help facility for braille display commands. |
| 167 |
<item> |
| 168 |
A preferences menu. |
| 169 |
<item> |
| 170 |
Basic speech support. |
| 171 |
<item> |
| 172 |
Modular design allowing relatively easy addition of |
| 173 |
drivers for other braille displays and speech synthesizers. |
| 174 |
<item> |
| 175 |
An Application Programming Interface. |
| 176 |
</itemize> |
| 177 |
|
| 178 |
<sect1>System Requirements<p> |
| 179 |
To date, BRLTTY runs under Linux, Solaris, OpenBSD, FreeBSD, NetBSD, and Windows. |
| 180 |
While ports to other Unix-like operating systems aren't currently planned, |
| 181 |
we do welcome any interest in such projects. |
| 182 |
|
| 183 |
<descrip> |
| 184 |
<tag/Linux/ |
| 185 |
This software has been tested on a variety of Linux systems: |
| 186 |
<itemize> |
| 187 |
<item> |
| 188 |
Desktops, laptops, and some PDAs. |
| 189 |
<item> |
| 190 |
Processors from a 386SX20 to a Pentium. |
| 191 |
<item> |
| 192 |
A huge range of memory sizes. |
| 193 |
<item> |
| 194 |
Several distributions including Debian, Red Hat, Slackware, and SuSE. |
| 195 |
<item> |
| 196 |
Many kernels, including 1.2.13, 2.0, 2.2, and 2.4. |
| 197 |
</itemize> |
| 198 |
<tag/Solaris/ |
| 199 |
This software has been tested on the following Solaris systems: |
| 200 |
<itemize> |
| 201 |
<item> |
| 202 |
The Sparc architecture (releases 7, 8, and 9). |
| 203 |
<item> |
| 204 |
The Intel architecture (release 9). |
| 205 |
</itemize> |
| 206 |
<tag/OpenBSD/ |
| 207 |
This software has been tested on the following OpenBSD systems: |
| 208 |
<itemize> |
| 209 |
<item> |
| 210 |
The Intel architecture (release 3.4). |
| 211 |
</itemize> |
| 212 |
<tag/FreeBSD/ |
| 213 |
This software has been tested on the following FreeBSD systems: |
| 214 |
<itemize> |
| 215 |
<item> |
| 216 |
The Intel architecture (release 5.1). |
| 217 |
</itemize> |
| 218 |
<tag/NetBSD/ |
| 219 |
This software has been tested on the following NetBSD systems: |
| 220 |
<itemize> |
| 221 |
<item> |
| 222 |
The Intel architecture (release 1.6). |
| 223 |
</itemize> |
| 224 |
<tag/Windows/ |
| 225 |
This software has been tested on Windows 95, 98, and XP. |
| 226 |
</descrip> |
| 227 |
|
| 228 |
On Linux, BRLTTY can inspect the content of the screen |
| 229 |
completely independently of any logged in user. |
| 230 |
It does this by using a special device |
| 231 |
which provides easy access to the contents of the current virtual console. |
| 232 |
This device was introduced in version 1.1.92 of the Linux kernel, |
| 233 |
and is normally called either <tt>/dev/vcsa</> or <tt>/dev/vcsa0</> |
| 234 |
(on systems with <tt/devfs/ it's called <tt>/dev/vcc/a</>). |
| 235 |
For this reason, Linux kernel 1.1.92 or later is required |
| 236 |
if BRLTTY is to be used in this way. |
| 237 |
This capability: |
| 238 |
<itemize> |
| 239 |
<item> |
| 240 |
Allows BRLTTY to be started very early in the system boot sequence. |
| 241 |
<item> |
| 242 |
Enables the braille display to be fully operational during the login prompt. |
| 243 |
<item> |
| 244 |
Makes it much easier for a braille user to perform boot-time system administration tasks. |
| 245 |
</itemize> |
| 246 |
|
| 247 |
A patch for the <tt/screen/ program is provided |
| 248 |
(see the <tt/Patches/ subdirectory). |
| 249 |
It allows BRLTTY to access <tt/screen/'s screen image via shared memory, |
| 250 |
and, therefore, allows BRLTTY to be used quite effectively on platforms |
| 251 |
which don't have their own screen content inspection facility. |
| 252 |
The main weakness of the <tt/screen/ approach is that |
| 253 |
BRLTTY can't be started until the user has logged in. |
| 254 |
|
| 255 |
BRLTTY only works with text-based consoles and applications. |
| 256 |
It can be used with <tt/curses/-based applications, |
| 257 |
but not with any application which |
| 258 |
either uses special VGA features |
| 259 |
or requires a graphics console (like the X Window system). |
| 260 |
|
| 261 |
You must also, of course, possess a supported refreshable braille display |
| 262 |
(see section <ref id="displays" name="Supported Braille Displays"> for the complete list). |
| 263 |
We hope that additional displays will be supported in the future, so, |
| 264 |
if you have any vaguely technical programming information |
| 265 |
for a device which you'd like to see supported, |
| 266 |
then please let us know (see section <ref id="contact" name="Contact Information">). |
| 267 |
|
| 268 |
Finally, you need tools to build the executable from its source: |
| 269 |
<tt/make/, <tt/C/ and <tt/C++/ compilers, <tt/yacc/, <tt/awk/, etc. |
| 270 |
The development tools provided with standard Unix distributions should suffice. |
| 271 |
If you have problems, |
| 272 |
then contact us and we'll compile a binary for you. |
| 273 |
|
| 274 |
<sect>The Build Procedure<p> |
| 275 |
BRLTTY can be downloaded from its web site |
| 276 |
(see section <ref id="contact" name="Contact Information"> for its location). |
| 277 |
All releases are provided as compressed <ref id="tar" name="tar balls">. |
| 278 |
Newer releases are also provided as <ref id="rpm" name="RPM"> (RedHat Package Manager) files. |
| 279 |
|
| 280 |
That tidbit of information has probably peaked your curiosity, |
| 281 |
and now you just can't wait to get started. |
| 282 |
It's a good idea, though, |
| 283 |
to first become familiar with the files which will ultimately be installed. |
| 284 |
|
| 285 |
<sect1>Installed File Hierarchy<label id="hierarchy"><p> |
| 286 |
The build procedure should result in the installation of the following files: |
| 287 |
<descrip> |
| 288 |
<tag>/bin/</> |
| 289 |
<descrip> |
| 290 |
<tag>brltty</tag> |
| 291 |
The BRLTTY program. |
| 292 |
<tag><ref id="utility-brltty-install" name="brltty-install"></tag> |
| 293 |
A utility for copying BRLTTY's |
| 294 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 295 |
from one location to another. |
| 296 |
<tag><ref id="utility-brltty-config" name="brltty-config"></tag> |
| 297 |
A utility which sets a number of environment variables to values |
| 298 |
which reflect the current installation of BRLTTY. |
| 299 |
</descrip> |
| 300 |
<tag>/lib/</> |
| 301 |
<descrip> |
| 302 |
<tag/libbrlapi.a/ |
| 303 |
Static archive of the Application Programming Interface. |
| 304 |
<tag/libbrlapi.so/ |
| 305 |
Dynamically loadable object for the Application Programming Interface. |
| 306 |
</descrip> |
| 307 |
<tag>/lib/brltty/</> |
| 308 |
Your installation of BRLTTY may not have all of the following types of files. |
| 309 |
They're only created as needed based on the build options you select |
| 310 |
(see <ref id="build" name="Build Options">). |
| 311 |
<descrip> |
| 312 |
<tag/brltty-brl.lst/ |
| 313 |
A list of the braille display drivers which have been built |
| 314 |
as dynamically loadable shared objects, |
| 315 |
and, therefore, which can be selected at run-time. |
| 316 |
Each line consists of |
| 317 |
the two-letter identification code for a driver, |
| 318 |
a tab character, |
| 319 |
and a description of the braille display which that driver is for. |
| 320 |
<tag>libbrlttyb<em/driver/.so.1</tag> |
| 321 |
The dynamically loadable driver for a braille display, |
| 322 |
where <em/driver/ is the two-letter <ref id="drivers" name="driver identification code">. |
| 323 |
<tag/brltty-spk.lst/ |
| 324 |
A list of the speech synthesizer drivers which have been built |
| 325 |
as dynamically loadable shared objects, |
| 326 |
and, therefore, which can be selected at run-time. |
| 327 |
Each line consists of |
| 328 |
the two-letter identification code for a driver, |
| 329 |
a tab character, |
| 330 |
and a description of the speech synthesizer which that driver is for. |
| 331 |
<tag>libbrlttys<em/driver/.so.1</tag> |
| 332 |
The dynamically loadable driver for a speech synthesizer, |
| 333 |
where <em/driver/ is the two-letter <ref id="drivers" name="driver identification code">. |
| 334 |
</descrip> |
| 335 |
<tag>/lib/brltty/rw/</> |
| 336 |
Files created at run-time, e.g. needed but missing system resources. |
| 337 |
<tag>/etc/</> |
| 338 |
<descrip> |
| 339 |
<tag/brltty.conf/ |
| 340 |
System defaults for BRLTTY. |
| 341 |
<tag/brlapi.key/ |
| 342 |
The access key for BrlAPI. |
| 343 |
</descrip> |
| 344 |
<tag>/etc/brltty/</> |
| 345 |
Your installation of BRLTTY may not have all of the following types of files. |
| 346 |
They're only created as needed based on the build options you select |
| 347 |
(see <ref id="build" name="Build Options">). |
| 348 |
<descrip> |
| 349 |
<tag/*.conf/ |
| 350 |
Driver-specific configuration data. |
| 351 |
Their names look more or less like <tt/brltty-/<em/driver/<tt/.conf/, |
| 352 |
where <em/driver/ is the two-letter <ref id="drivers" name="driver identification code">. |
| 353 |
<tag/*.atb/ |
| 354 |
Attributes tables |
| 355 |
(see section <ref id="table-attributes" name="Attributes Tables"> for details). |
| 356 |
Their names look like <em/name/<tt/.atb/. |
| 357 |
<tag/*.ati/ |
| 358 |
Include files for attributes tables. |
| 359 |
<tag/*.ctb/ |
| 360 |
Contraction tables |
| 361 |
(see section <ref id="table-contraction" name="Contraction Tables"> for details). |
| 362 |
Their names look like <em/language/<tt/-/<em/country/<tt/-/<em/level/<tt/.ctb/. |
| 363 |
<tag/*.cti/ |
| 364 |
Include files for contraction tables. |
| 365 |
<tag/*.ktb/ |
| 366 |
Key tables |
| 367 |
(see section <ref id="table-key" name="Key Tables"> for details). |
| 368 |
Their names look like <em/name/<tt/.ktb/. |
| 369 |
<tag/*.kti/ |
| 370 |
Include files for key tables. |
| 371 |
<tag/*.ttb/ |
| 372 |
Text tables |
| 373 |
(see section <ref id="table-text" name="Text Tables"> for details). |
| 374 |
Their names look like <em/language/<tt/.ttb/. |
| 375 |
<tag/*.tti/ |
| 376 |
Include files for text tables. |
| 377 |
<tag/*.hlp/ |
| 378 |
Driver-specific help pages. |
| 379 |
Their names look more or less like <tt/brltty-/<em/driver/<tt/.hlp/, |
| 380 |
where <em/driver/ is the two-letter <ref id="drivers" name="driver identification code">. |
| 381 |
</descrip> |
| 382 |
<tag>/var/lib/BrlAPI/</> |
| 383 |
Local sockets for connecting to the Application Programming Interface. |
| 384 |
<tag>/include/</> |
| 385 |
C header files for the Application Programming Interface. |
| 386 |
Their names look like <tt/brlapi-/<em/function/<tt/.h/. |
| 387 |
The main header is <tt/brlapi.h/. |
| 388 |
<tag>/include/brltty/</> |
| 389 |
C header files for accessing braille hardware. |
| 390 |
Their names look like <tt/brldefs-/<em/driver/<tt/.h/ |
| 391 |
(where <em/driver/ is the two-letter <ref id="drivers" name="driver identification code">). |
| 392 |
The headers <tt/brldefs.h/ and <tt/api.h/ are provided |
| 393 |
for backward compatibility and shouldn't be used. |
| 394 |
<tag>/man/</> |
| 395 |
Man pages. |
| 396 |
<descrip> |
| 397 |
<tag>man1/<em/name/.1</tag> |
| 398 |
Man pages for BRLTTY-related user commands. |
| 399 |
<tag>man3/<em/name/.3</tag> |
| 400 |
Man pages for Application Programming Interface library routines. |
| 401 |
</descrip> |
| 402 |
</descrip> |
| 403 |
|
| 404 |
Some optional files which you should be aware of, |
| 405 |
although they aren't part of the installed file hierarchy, are: |
| 406 |
<descrip> |
| 407 |
<tag>/etc/brltty.conf</tag> |
| 408 |
The system defaults configuration file. |
| 409 |
It's created by the system administrator. |
| 410 |
See <ref id="configure" name="The Configuration File"> for details. |
| 411 |
<tag>/etc/brltty-<em/driver/.prefs</tag> |
| 412 |
The saved preferences settings file |
| 413 |
(<em/driver/ is a two-letter <ref id="drivers" name="driver identification code">). |
| 414 |
It's created by the <ref id="command-PREFSAVE" name="PREFSAVE"> command. |
| 415 |
See <ref id="preferences" name="Preferences Settings"> for details. |
| 416 |
</descrip> |
| 417 |
|
| 418 |
<sect1>Installing from a TAR Ball<label id="tar"><p> |
| 419 |
Here's what to do if you just want to install BRLTTY as quickly as possible, |
| 420 |
trusting that all of our defaults are correct. |
| 421 |
<enum> |
| 422 |
<item> |
| 423 |
Download the source. |
| 424 |
It'll be a file named |
| 425 |
<tt/brltty-/<em/release/<tt/.tar.gz/, |
| 426 |
e.g. <tt/brltty-3.0.tar.gz/. |
| 427 |
<item> |
| 428 |
Unpack the source into its native hierarchical structure. |
| 429 |
<tscreen>tar xzf brltty-<em/release/.tar.gz</tscreen> |
| 430 |
This should create the directory <tt/brltty-/<em/release/. |
| 431 |
<item> |
| 432 |
Change to the source directory, configure, compile, and install BRLTTY. |
| 433 |
<tscreen> |
| 434 |
cd brltty-<em/release/ |
| 435 |
<newline> |
| 436 |
./configure |
| 437 |
<newline> |
| 438 |
make install |
| 439 |
</tscreen> |
| 440 |
This should be done as <bf/root/. |
| 441 |
</enum> |
| 442 |
|
| 443 |
To uninstall BRLTTY, do: |
| 444 |
<tscreen> |
| 445 |
cd brltty-<em/release/ |
| 446 |
<newline> |
| 447 |
make uninstall |
| 448 |
</tscreen> |
| 449 |
|
| 450 |
That's all there's to it. |
| 451 |
Now, for those who really want to know what's going on, here are the details. |
| 452 |
|
| 453 |
<sect2>Build Options<label id="build"><p> |
| 454 |
The first step in building BRLTTY is to configure it |
| 455 |
for your system and/or for your personal needs. |
| 456 |
This is done by running the <tt/configure/ script in BRLTTY's top-level directory. |
| 457 |
We've tried to make the defaults fit the most common case, so, |
| 458 |
assuming that you're not attempting to do anything out of the ordinary, |
| 459 |
you may not need to do anything more complicated than |
| 460 |
invoke this script without specifying any options at all. |
| 461 |
<tscreen>./configure</tscreen> |
| 462 |
If, however, you have some special requirements, |
| 463 |
or even if you're just adventurous, |
| 464 |
you should find out what your choices are. |
| 465 |
<tscreen>./configure --help</tscreen> |
| 466 |
You should also check out the <tt/README/ file in the subdirectory |
| 467 |
containing the driver for your braille display |
| 468 |
for any additional display-specific instructions. |
| 469 |
|
| 470 |
<sect3>System Defaults<label id="build-defaults"><p> |
| 471 |
<descrip> |
| 472 |
<tag><tt/--with-braille-driver=/<em/driver/<label id="build-braille-driver"></tag> |
| 473 |
Specify the braille display drivers |
| 474 |
which are to be linked into the BRLTTY binary. |
| 475 |
Those drivers which aren't listed via this option |
| 476 |
are built as dynamically loadable shared objects |
| 477 |
and can still be selected at run-time. |
| 478 |
Each driver must be identified |
| 479 |
either by its two-letter <ref id="drivers" name="driver identification code"> |
| 480 |
or by its proper name (full or abbreviated). |
| 481 |
The driver identifiers must be |
| 482 |
separated from one another by a single comma. |
| 483 |
If a driver identifier is prefixed by a minus sign (<tt/-/), |
| 484 |
then that driver is excluded from the build. |
| 485 |
Any of the following words can also be used as the operand of this option: |
| 486 |
<descrip> |
| 487 |
<tag/all/ |
| 488 |
Link all of the drivers into the binary. |
| 489 |
Don't build any of them as dynamically loadable shared objects. |
| 490 |
This word may also be specified as the final element of a driver list. |
| 491 |
This is how to specify the default driver when all the drivers are to be linked in. |
| 492 |
<tag/-all/ |
| 493 |
Only build those drivers which have been explicitly included via this option. |
| 494 |
<tag/no/ |
| 495 |
Don't build any drivers at all. |
| 496 |
This is equivalent to specifying <tt/--without-braille-driver/. |
| 497 |
<tag/yes/ |
| 498 |
Build all of the drivers as dynamically loadable shared objects. |
| 499 |
Don't link any of them into the binary. |
| 500 |
This is equivalent to specifying <tt/--with-braille-driver/. |
| 501 |
</descrip> |
| 502 |
See the <ref id="configure-braille-driver" name="braille-driver"> configuration file directive |
| 503 |
and the <ref id="options-braille-driver" name="-b"> command line option |
| 504 |
for run-time selection. |
| 505 |
<tag><tt/--with-braille-parameters=/[<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/...<label id="build-braille-parameters"></tag> |
| 506 |
Specify the default parameter settings for the braille display drivers. |
| 507 |
If the same parameter is specified more than once, |
| 508 |
then its rightmost assignment is used. |
| 509 |
If a parameter name is qualified by a driver |
| 510 |
(see section <ref id="drivers" name="Driver Identification Codes">) |
| 511 |
then that setting only applies to that driver; |
| 512 |
if it isn't then it applies to all drivers. |
| 513 |
For a description of the parameters accepted by a specific driver, |
| 514 |
please see the documentation for that driver. |
| 515 |
See the <ref id="configure-braille-parameters" name="braille-parameters"> configuration file directive |
| 516 |
and the <ref id="options-braille-parameters" name="-B"> command line option |
| 517 |
for run-time selection. |
| 518 |
<tag><tt/--with-braille-device=/<em/device/<tt/,/...<label id="build-braille-device"></tag> |
| 519 |
Specify the default device to which the braille display is connected |
| 520 |
(see section <ref id="operand-braille-device" name="Braille Device Specification">). |
| 521 |
If this option isn't specified then |
| 522 |
<tt/usb:/ is assumed if USB support is available, |
| 523 |
<tt/bluetooth:/ is assumed if Bluetooth support is available, |
| 524 |
and <tt/usb:,bluetooth:/ is assumed if both are available. |
| 525 |
If neither USB nor Bluetooth support is available then |
| 526 |
an operating system appropriate path |
| 527 |
for the primary (first) serial port (device) is assumed. |
| 528 |
See the <ref id="configure-braille-device" name="braille-device"> configuration file directive |
| 529 |
and the <ref id="options-braille-device" name="-d"> command line option |
| 530 |
for run-time selection. |
| 531 |
<tag><tt/--with-libbraille=/<em/directory/<label id="build-libbraille"></tag> |
| 532 |
Specify the installed location of the Libbraille package, |
| 533 |
and build the Libbraille braille display driver |
| 534 |
(see <ref id="restrictions-libbraille" name="Build Restrictions">). |
| 535 |
Any of the following words can also be used as the operand of this option: |
| 536 |
<descrip> |
| 537 |
<tag/no/ |
| 538 |
Don't build the driver. |
| 539 |
This is equivalent to specifying <tt/--without-libbraille/. |
| 540 |
<tag/yes/ |
| 541 |
Build the driver if the package can be found in |
| 542 |
<tt>/usr</>, |
| 543 |
<tt>/usr/local</>, |
| 544 |
<tt>/usr/local/Libbraille</>, |
| 545 |
<tt>/usr/local/libbraille</>, |
| 546 |
<tt>/opt/Libbraille</>, |
| 547 |
or <tt>/opt/libbraille</>. |
| 548 |
This is equivalent to specifying <tt/--with-libbraille/. |
| 549 |
</descrip> |
| 550 |
<tag><tt/--with-text-table=/<em/file/<label id="build-text-table"></tag> |
| 551 |
Specify the built-in (fallback) text table |
| 552 |
(see section <ref id="table-text" name="Text Tables"> for details). |
| 553 |
The specified table is linked into the BRLTTY binary, and is used |
| 554 |
either if locale-based autoselection fails |
| 555 |
or if the requested table can't be loaded. |
| 556 |
The absolute path to a table outside the source tree may be specified. |
| 557 |
The <tt/.ttb/ extension is optional. |
| 558 |
If this option isn't specified, |
| 559 |
then <tt/en-nabcc/, |
| 560 |
a commonly (in North America) used 8-dot variant of the |
| 561 |
<ref id="nabcc" name="North American Braille Computer Code">, |
| 562 |
is assumed. |
| 563 |
See the <ref id="configure-text-table" name="text-table"> configuration file directive |
| 564 |
and the <ref id="options-text-table" name="-t"> command line option |
| 565 |
for run-time selection. |
| 566 |
This setting can be changed with the |
| 567 |
<ref id="preference-text-table" name="Text Table"> preference. |
| 568 |
<tag><tt/--with-attributes-table=/<em/file/<label id="build-attributes-table"></tag> |
| 569 |
Specify the built-in (fallback) attributes table |
| 570 |
(see section <ref id="table-attributes" name="Attributes Translation"> for details). |
| 571 |
The specified table is linked into the BRLTTY binary, and is used |
| 572 |
if the requested table can't be loaded. |
| 573 |
The absolute path to a table outside the source tree may be specified. |
| 574 |
The <tt/.atb/ extension is optional. |
| 575 |
If this option isn't specified, |
| 576 |
then <tt/left_right/ is assumed. |
| 577 |
Change it to <tt/invleft_right/ if you'd like it done the old way. |
| 578 |
See the <ref id="configure-attributes-table" name="attributes-table"> configuration file directive |
| 579 |
and the <ref id="options-attributes-table" name="-a"> command line option |
| 580 |
for run-time selection. |
| 581 |
This setting can be changed with the |
| 582 |
<ref id="preference-attributes-table" name="Attributes Table"> preference. |
| 583 |
<tag><tt/--with-speech-driver=/<em/driver/<label id="build-speech-driver"></tag> |
| 584 |
Specify the speech synthesizer drivers |
| 585 |
which are to be linked into the BRLTTY binary. |
| 586 |
Those drivers which aren't listed via this option |
| 587 |
are built as dynamically loadable shared objects |
| 588 |
and can still be selected at run-time. |
| 589 |
Each driver must be identified |
| 590 |
either by its two-letter <ref id="drivers" name="driver identification code"> |
| 591 |
or by its proper name (full or abbreviated). |
| 592 |
The driver identifiers must be |
| 593 |
separated from one another by a single comma. |
| 594 |
If a driver identifier is prefixed by a minus sign (<tt/-/), |
| 595 |
then that driver is excluded from the build. |
| 596 |
Any of the following words can also be used as the operand of this option: |
| 597 |
<descrip> |
| 598 |
<tag/all/ |
| 599 |
Link all of the drivers into the binary. |
| 600 |
Don't build any of them as dynamically loadable shared objects. |
| 601 |
This word may also be specified as the final element of a driver list. |
| 602 |
This is how to specify the default driver when all the drivers are to be linked in. |
| 603 |
<tag/-all/ |
| 604 |
Only build those drivers which have been explicitly included via this option. |
| 605 |
<tag/no/ |
| 606 |
Don't build any drivers at all. |
| 607 |
This is equivalent to specifying <tt/--without-speech-driver/. |
| 608 |
<tag/yes/ |
| 609 |
Build all of the drivers as dynamically loadable shared objects. |
| 610 |
Don't link any of them into the binary. |
| 611 |
This is equivalent to specifying <tt/--with-speech-driver/. |
| 612 |
</descrip> |
| 613 |
See the <ref id="configure-speech-driver" name="speech-driver"> configuration file directive |
| 614 |
and the <ref id="options-speech-driver" name="-s"> command line option |
| 615 |
for run-time selection. |
| 616 |
<tag><tt/--with-speech-parameters=/[<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/...<label id="build-speech-parameters"></tag> |
| 617 |
Specify the default parameter settings for the speech synthesizer drivers. |
| 618 |
If the same parameter is specified more than once, |
| 619 |
then its rightmost assignment is used. |
| 620 |
If a parameter name is qualified by a driver |
| 621 |
(see section <ref id="drivers" name="Driver Identification Codes">) |
| 622 |
then that setting only applies to that driver; |
| 623 |
if it isn't then it applies to all drivers. |
| 624 |
For a description of the parameters accepted by a specific driver, |
| 625 |
please see the documentation for that driver. |
| 626 |
See the <ref id="configure-speech-parameters" name="speech-parameters"> configuration file directive |
| 627 |
and the <ref id="options-speech-parameters" name="-S"> command line option |
| 628 |
for run-time selection. |
| 629 |
<tag><tt/--with-flite=/<em/directory/<label id="build-flite"></tag> |
| 630 |
Specify the installed location of the FestivalLite text-to-speech package, |
| 631 |
and build the FestivalLite speech synthesizer driver |
| 632 |
(see <ref id="restrictions-flite" name="Build Restrictions">). |
| 633 |
Any of the following words can also be used as the operand of this option: |
| 634 |
<descrip> |
| 635 |
<tag/no/ |
| 636 |
Don't build the driver. |
| 637 |
This is equivalent to specifying <tt/--without-flite/. |
| 638 |
<tag/yes/ |
| 639 |
Build the driver if the package can be found in |
| 640 |
<tt>/usr</>, |
| 641 |
<tt>/usr/local</>, |
| 642 |
<tt>/usr/local/FestivalLite</>, |
| 643 |
<tt>/usr/local/flite</>, |
| 644 |
<tt>/opt/FestivalLite</>, |
| 645 |
or <tt>/opt/flite</>. |
| 646 |
This is equivalent to specifying <tt/--with-flite/. |
| 647 |
</descrip> |
| 648 |
<tag><tt/--with-flite-language=/<em/language/<label id="build-flite-language"></tag> |
| 649 |
Specify the language which the FestivalLite text to speech engine is to use. |
| 650 |
The default language is <tt/usenglish/. |
| 651 |
<tag><tt/--with-flite-lexicon=/<em/lexicon/<label id="build-flite-lexicon"></tag> |
| 652 |
Specify the lexicon which the FestivalLite text to speech engine is to use. |
| 653 |
The default lexicon is <tt/cmulex/. |
| 654 |
<tag><tt/--with-flite-voice=/<em/voice/<label id="build-flite-voice"></tag> |
| 655 |
Specify the voice which the FestivalLite text to speech engine is to use. |
| 656 |
The default voice is <tt/cmu_us_kal16/. |
| 657 |
<tag><tt/--with-mikropuhe=/<em/directory/<label id="build-mikropuhe"></tag> |
| 658 |
Specify the installed location of the Mikropuhe text-to-speech package, |
| 659 |
and build the Mikropuhe speech synthesizer driver |
| 660 |
(see <ref id="restrictions-mikropuhe" name="Build Restrictions">). |
| 661 |
Any of the following words can also be used as the operand of this option: |
| 662 |
<descrip> |
| 663 |
<tag/no/ |
| 664 |
Don't build the driver. |
| 665 |
This is equivalent to specifying <tt/--without-mikropuhe/. |
| 666 |
<tag/yes/ |
| 667 |
Build the driver if the package can be found in |
| 668 |
<tt>/usr</>, |
| 669 |
<tt>/usr/local</>, |
| 670 |
<tt>/usr/local/Mikropuhe</>, |
| 671 |
<tt>/usr/local/mikropuhe</>, |
| 672 |
<tt>/opt/Mikropuhe</>, |
| 673 |
or <tt>/opt/mikropuhe</>. |
| 674 |
This is equivalent to specifying <tt/--with-mikropuhe/. |
| 675 |
</descrip> |
| 676 |
<tag><tt/--with-speechd=/<em/directory/<label id="build-speechd"></tag> |
| 677 |
Specify the installed location of the speech-dispatcher text-to-speech package, |
| 678 |
and build the speech-dispatcher speech synthesizer driver. |
| 679 |
Any of the following words can also be used as the operand of this option: |
| 680 |
<descrip> |
| 681 |
<tag/no/ |
| 682 |
Don't build the driver. |
| 683 |
This is equivalent to specifying <tt/--without-speechd/. |
| 684 |
<tag/yes/ |
| 685 |
Build the driver if the package can be found in |
| 686 |
<tt>/usr</>, |
| 687 |
<tt>/usr/local</>, |
| 688 |
<tt>/usr/local/speech-dispatcher</>, |
| 689 |
<tt>/usr/local/speechd</>, |
| 690 |
<tt>/opt/speech-dispatcher</>, |
| 691 |
or <tt>/opt/speechd</>. |
| 692 |
This is equivalent to specifying <tt/--with-speechd/. |
| 693 |
</descrip> |
| 694 |
<tag><tt/--with-swift=/<em/directory/<label id="build-swift"></tag> |
| 695 |
Specify the installed location of the Swift text-to-speech package, |
| 696 |
and build the Swift speech synthesizer driver. |
| 697 |
Any of the following words can also be used as the operand of this option: |
| 698 |
<descrip> |
| 699 |
<tag/no/ |
| 700 |
Don't build the driver. |
| 701 |
This is equivalent to specifying <tt/--without-swift/. |
| 702 |
<tag/yes/ |
| 703 |
Build the driver if the package can be found in |
| 704 |
<tt>/usr</>, |
| 705 |
<tt>/usr/local</>, |
| 706 |
<tt>/usr/local/Swift</>, |
| 707 |
<tt>/usr/local/swift</>, |
| 708 |
<tt>/opt/Swift</>, |
| 709 |
or <tt>/opt/swift</>. |
| 710 |
This is equivalent to specifying <tt/--with-swift/. |
| 711 |
</descrip> |
| 712 |
<tag><tt/--with-theta=/<em/directory/<label id="build-theta"></tag> |
| 713 |
Specify the installed location of the Theta text-to-speech package, |
| 714 |
and build the Theta speech synthesizer driver |
| 715 |
(see <ref id="restrictions-theta" name="Build Restrictions">). |
| 716 |
Any of the following words can also be used as the operand of this option: |
| 717 |
<descrip> |
| 718 |
<tag/no/ |
| 719 |
Don't build the driver. |
| 720 |
This is equivalent to specifying <tt/--without-theta/. |
| 721 |
<tag/yes/ |
| 722 |
Build the driver if the package can be found in |
| 723 |
<tt>/usr</>, |
| 724 |
<tt>/usr/local</>, |
| 725 |
<tt>/usr/local/Theta</>, |
| 726 |
<tt>/usr/local/theta</>, |
| 727 |
<tt>/opt/Theta</>, |
| 728 |
or <tt>/opt/theta</>. |
| 729 |
This is equivalent to specifying <tt/--with-theta/. |
| 730 |
</descrip> |
| 731 |
<tag><tt/--with-screen-driver=/<em/driver/<label id="build-screen-driver"></tag> |
| 732 |
Specify the screen drivers |
| 733 |
which are to be linked into the BRLTTY binary. |
| 734 |
Those drivers which aren't listed via this option |
| 735 |
are built as dynamically loadable shared objects |
| 736 |
and can still be selected at run-time. |
| 737 |
Each driver must be identified |
| 738 |
either by its two-letter driver identification code |
| 739 |
(see section <ref id="screen" name="Supported Screen Drivers">) |
| 740 |
or by its proper name (full or abbreviated). |
| 741 |
The driver identifiers must be |
| 742 |
separated from one another by a single comma. |
| 743 |
If a driver identifier is prefixed by a minus sign (<tt/-/), |
| 744 |
then that driver is excluded from the build. |
| 745 |
Any of the following words can also be used as the operand of this option: |
| 746 |
<descrip> |
| 747 |
<tag/all/ |
| 748 |
Link all of the drivers into the binary. |
| 749 |
Don't build any of them as dynamically loadable shared objects. |
| 750 |
This word may also be specified as the final element of a driver list. |
| 751 |
This is how to specify the default driver when all the drivers are to be linked in. |
| 752 |
<tag/-all/ |
| 753 |
Only build those drivers which have been explicitly included via this option. |
| 754 |
<tag/no/ |
| 755 |
Don't build any drivers at all. |
| 756 |
This is equivalent to specifying <tt/--without-screen-driver/. |
| 757 |
<tag/yes/ |
| 758 |
Build all of the drivers as dynamically loadable shared objects. |
| 759 |
Don't link any of them into the binary. |
| 760 |
This is equivalent to specifying <tt/--with-screen-driver/. |
| 761 |
</descrip> |
| 762 |
The first non-excluded driver becomes the default driver. |
| 763 |
If this option isn't specified, |
| 764 |
or if no driver is specifically included, |
| 765 |
then an operating system appropriate default is selected. |
| 766 |
If a native driver for the current operating system is available, |
| 767 |
then that driver is selected; |
| 768 |
if not, then <tt/sc/ is selected. |
| 769 |
See the <ref id="configure-screen-driver" name="screen-driver"> configuration file directive |
| 770 |
and the <ref id="options-screen-driver" name="-x"> command line option |
| 771 |
for run-time selection. |
| 772 |
<tag><tt/--with-screen-parameters=/[<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/...<label id="build-screen-parameters"></tag> |
| 773 |
Specify the default parameter settings for the screen drivers. |
| 774 |
If the same parameter is specified more than once, |
| 775 |
then its rightmost assignment is used. |
| 776 |
If a parameter name is qualified by a driver |
| 777 |
(see section <ref id="screen" name="Supported Screen Drivers">) |
| 778 |
then that setting only applies to that driver; |
| 779 |
if it isn't then it applies to all drivers. |
| 780 |
For a description of the parameters accepted by a specific driver, |
| 781 |
please see the documentation for that driver. |
| 782 |
See the <ref id="configure-screen-parameters" name="screen-parameters"> configuration file directive |
| 783 |
and the <ref id="options-screen-parameters" name="-X"> command line option |
| 784 |
for run-time selection. |
| 785 |
<tag><tt/--with-usb-package=/<em/package/<tt/,/...<label id="build-usb-package"></tag> |
| 786 |
Specify the package which is to be used for USB I/O. |
| 787 |
The package names must be separated from one another by a single comma, |
| 788 |
and are processed from left to right. |
| 789 |
The first one which is installed on the system is selected. |
| 790 |
The following packages are supported: |
| 791 |
<enum> |
| 792 |
<item>libusb |
| 793 |
<item>libusb-1.0 |
| 794 |
</enum> |
| 795 |
Any of the following words can also be used as the operand of this option: |
| 796 |
<descrip> |
| 797 |
<tag/no/ |
| 798 |
Don't support USB I/O. |
| 799 |
This is equivalent to specifying <tt/--without-usb-package/. |
| 800 |
<tag/yes/ |
| 801 |
Use native support for USB I/O. |
| 802 |
If native support isn't available for the current platform |
| 803 |
then use the first available supported package |
| 804 |
(as per the order specified above). |
| 805 |
This is equivalent to specifying <tt/--with-usb-package/. |
| 806 |
</descrip> |
| 807 |
<tag><tt/--with-bluetooth-package=/<em/package/<tt/,/...<label id="build-bluetooth-package"></tag> |
| 808 |
Specify the package which is to be used for Bluetooth I/O. |
| 809 |
The package names must be separated from one another by a single comma, |
| 810 |
and are processed from left to right. |
| 811 |
The first one which is installed on the system is selected. |
| 812 |
The following packages are supported: |
| 813 |
<enum> |
| 814 |
<item>(no packages are currently supported) |
| 815 |
</enum> |
| 816 |
Any of the following words can also be used as the operand of this option: |
| 817 |
<descrip> |
| 818 |
<tag/no/ |
| 819 |
Don't support Bluetooth I/O. |
| 820 |
This is equivalent to specifying <tt/--without-bluetooth-package/. |
| 821 |
<tag/yes/ |
| 822 |
Use native support for Bluetooth I/O. |
| 823 |
If native support isn't available for the current platform |
| 824 |
then use the first available supported package |
| 825 |
(as per the order specified above). |
| 826 |
This is equivalent to specifying <tt/--with-bluetooth-package/. |
| 827 |
</descrip> |
| 828 |
</descrip> |
| 829 |
|
| 830 |
<sect3>Directory Specification<label id="build-directoreis"><p> |
| 831 |
<descrip> |
| 832 |
<tag><tt/--with-execute-root=/<em/directory/<label id="build-execute-root"></tag> |
| 833 |
Specify the directory at which the |
| 834 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 835 |
is to be rooted at run-time. |
| 836 |
The absolute path should be supplied. |
| 837 |
If this option isn't specified, |
| 838 |
then the system's root directory is assumed. |
| 839 |
Use this option if you need to install |
| 840 |
BRLTTY's run-time files in a non-standard location. |
| 841 |
You need to use this feature, for example, if you'd like to have |
| 842 |
more than one version of BRLTTY installed at the same time |
| 843 |
(see section <ref id="multiple" name="Installing Multiple Versions"> |
| 844 |
for an example of how to do this). |
| 845 |
<tag><tt/--with-install-root=/<em/directory/<label id="build-install-root"></tag> |
| 846 |
Specify the directory beneath which the |
| 847 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 848 |
is to be installed. |
| 849 |
The absolute path should be supplied. |
| 850 |
If this option isn't specified, |
| 851 |
then the run-time package root |
| 852 |
(see the <ref id="build-execute-root" name="--with-execute-root"> build option) |
| 853 |
is assumed. |
| 854 |
This directory is only used by |
| 855 |
<ref id="make-install" name="make install"> |
| 856 |
and <ref id="make-uninstall" name="make uninstall">. |
| 857 |
Use this option if you need to install BRLTTY in a different location |
| 858 |
than the one from which it'll ultimately be executed. |
| 859 |
You need to use this feature, for example, |
| 860 |
if you're building BRLTTY on one system for use on another. |
| 861 |
<tag><tt/--prefix=/<em/directory/<label id="build-portable-root"></tag> |
| 862 |
Specify the directory within the |
| 863 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 864 |
where the default directories for the architecture-independent files |
| 865 |
are to be rooted. |
| 866 |
These directories include: |
| 867 |
<itemize> |
| 868 |
<item>the <ref id="build-writable-directory" name="writable directory"> |
| 869 |
<item>the <ref id="build-data-directory" name="data directory"> |
| 870 |
<item>the <ref id="build-configuration-directory" name="configuration directory"> |
| 871 |
<item>the <ref id="build-manpage-directory" name="manpage directory"> |
| 872 |
<item>the <ref id="build-include-directory" name="include directory"> |
| 873 |
</itemize> |
| 874 |
The absolute path should be supplied. |
| 875 |
If this option isn't specified, |
| 876 |
then the system's root directory is assumed. |
| 877 |
This directory is rooted at the directory specified by the |
| 878 |
<ref id="build-execute-root" name="--with-execute-root"> build option. |
| 879 |
<tag><tt/--exec-prefix=/<em/directory/<label id="build-architecture-root"></tag> |
| 880 |
Specify the directory within the |
| 881 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 882 |
where the default directories for the architecture-dependent files |
| 883 |
are to be rooted. |
| 884 |
These directories include: |
| 885 |
<itemize> |
| 886 |
<item>the <ref id="build-program-directory" name="program directory"> |
| 887 |
<item>the <ref id="build-library-directory" name="library directory"> |
| 888 |
<item>the <ref id="build-api-directory" name="API directory"> |
| 889 |
</itemize> |
| 890 |
The absolute path should be supplied. |
| 891 |
If this option isn't specified, |
| 892 |
then the directory specified via the |
| 893 |
<ref id="build-portable-root" name="--prefix"> |
| 894 |
build option is assumed. |
| 895 |
This directory is rooted at the directory specified by the |
| 896 |
<ref id="build-execute-root" name="--with-execute-root"> build option. |
| 897 |
<tag><tt/--libdir=/<em/directory/<label id="build-api-directory"></tag> |
| 898 |
Specify the directory within the |
| 899 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 900 |
where the static archive and the dynamically loadable object |
| 901 |
for the Application Programming Interface are to be installed. |
| 902 |
The absolute path should be supplied. |
| 903 |
If this option isn't specified, |
| 904 |
then the directory |
| 905 |
specified via the standard configure option <tt/--libdir/ |
| 906 |
(which defaults to <tt>/lib</> rooted at the directory specified by the |
| 907 |
<ref id="build-architecture-root" name="--exec-prefix"> build option) |
| 908 |
is assumed. |
| 909 |
The directory is created if it doesn't exist. |
| 910 |
<tag><tt/--sysconfdir=/<em/directory/<label id="build-configuration-directory"></tag> |
| 911 |
Specify the directory within the |
| 912 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 913 |
where the configuration files are to be installed. |
| 914 |
The absolute path should be supplied. |
| 915 |
If this option isn't specified, |
| 916 |
then the directory |
| 917 |
specified via the standard configure option <tt/--sysconfdir/ |
| 918 |
(which defaults to <tt>/etc</> rooted at the directory specified by the |
| 919 |
<ref id="build-portable-root" name="--prefix"> build option) |
| 920 |
is assumed. |
| 921 |
The directory is created if it doesn't exist. |
| 922 |
<tag><tt/--with-program-directory=/<em/directory/<label id="build-program-directory"></tag> |
| 923 |
Specify the directory within the |
| 924 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 925 |
where the runnable programs (binaries, executables) are to be installed. |
| 926 |
The absolute path should be supplied. |
| 927 |
If this option isn't specified, |
| 928 |
then the directory |
| 929 |
specified via the standard configure option <tt/--bindir/ |
| 930 |
(which defaults to <tt>/bin</> rooted at the directory specified by the |
| 931 |
<ref id="build-architecture-root" name="--exec-prefix"> build option) |
| 932 |
is assumed. |
| 933 |
The directory is created if it doesn't exist. |
| 934 |
<tag><tt/--with-library-directory=/<em/directory/<label id="build-library-directory"></tag> |
| 935 |
Specify the directory within the |
| 936 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 937 |
where the drivers and other architecture-dependent files are to be installed. |
| 938 |
The absolute path should be supplied. |
| 939 |
If this option isn't specified, |
| 940 |
then the <tt/brltty/ subdirectory of the directory |
| 941 |
specified via the standard configure option <tt/--libdir/ |
| 942 |
(which defaults to <tt>/lib</> rooted at the directory specified by the |
| 943 |
<ref id="build-architecture-root" name="--exec-prefix"> build option) |
| 944 |
is assumed. |
| 945 |
The directory is created if it doesn't exist. |
| 946 |
<tag><tt/--with-writable-directory=/<em/directory/<label id="build-writable-directory"></tag> |
| 947 |
Specify the directory within the |
| 948 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 949 |
which may be written to. |
| 950 |
The absolute path should be supplied. |
| 951 |
Any of the following words can also be used as the operand of this option: |
| 952 |
<descrip> |
| 953 |
<tag/no/ |
| 954 |
Don't define a writable directory. |
| 955 |
This is equivalent to specifying <tt/--without-writable-directory/. |
| 956 |
<tag/yes/ |
| 957 |
Use the default location. |
| 958 |
This is equivalent to specifying <tt/--with-writable-directory/. |
| 959 |
</descrip> |
| 960 |
If this option isn't specified, |
| 961 |
then the <tt>rw</> subdirectory of the directory specified via the |
| 962 |
<ref id="build-library-directory" name="--with-library-directory"> build option |
| 963 |
is assumed. |
| 964 |
The directory is created if it doesn't exist. |
| 965 |
<tag><tt/--with-data-directory=/<em/directory/<label id="build-data-directory"></tag> |
| 966 |
Specify the directory within the |
| 967 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 968 |
where the tables, help pages, |
| 969 |
and other architecture-independent files are to be installed. |
| 970 |
The absolute path should be supplied. |
| 971 |
If this option isn't specified, |
| 972 |
then the <tt/brltty/ subdirectory of the directory |
| 973 |
specified via the standard configure option <tt/--sysconfdir/ |
| 974 |
(which defaults to <tt>/etc</> rooted at the directory specified by the |
| 975 |
<ref id="build-portable-root" name="--prefix"> build option) |
| 976 |
is assumed. |
| 977 |
The directory is created if it doesn't exist. |
| 978 |
<tag><tt/--with-manpage-directory=/<em/directory/<label id="build-manpage-directory"></tag> |
| 979 |
Specify the directory within the |
| 980 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 981 |
where the man pages are to be installed. |
| 982 |
The absolute path should be supplied. |
| 983 |
If this option isn't specified, |
| 984 |
then the directory |
| 985 |
specified via the standard configure option <tt/--mandir/ |
| 986 |
(which defaults to <tt>/man</> rooted at the directory specified by the |
| 987 |
<ref id="build-portable-root" name="--prefix"> build option) |
| 988 |
is assumed. |
| 989 |
The directory is created if it doesn't exist. |
| 990 |
<tag><tt/--with-include-directory=/<em/directory/<label id="build-include-directory"></tag> |
| 991 |
Specify the directory within the |
| 992 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 993 |
where the C header files for the Application Programming Interface |
| 994 |
are to be installed. |
| 995 |
The absolute path should be supplied. |
| 996 |
If this option isn't specified, |
| 997 |
then the <tt/brltty/ subdirectory of the directory |
| 998 |
specified via the standard configure option <tt/--includedir/ |
| 999 |
(which defaults to <tt>/include</> rooted at the directory specified by the |
| 1000 |
<ref id="build-portable-root" name="--prefix"> build option) |
| 1001 |
is assumed. |
| 1002 |
The directory is created if it doesn't exist. |
| 1003 |
</descrip> |
| 1004 |
|
| 1005 |
<sect3>Build Features<label id="build-features"><p> |
| 1006 |
These options are primarily useful when building BRLTTY for use on a boot disk. |
| 1007 |
<descrip> |
| 1008 |
<tag><tt/--enable-standalone-programs/<label id="build-standalone-programs"></tag> |
| 1009 |
Create statically linked, rather than dynamically linked, programs. |
| 1010 |
This option removes all dependencies on shared objects at run-time. |
| 1011 |
Only the default drivers (see the |
| 1012 |
<ref id="build-braille-driver" name="--with-braille-driver">, |
| 1013 |
<ref id="build-speech-driver" name="--with-speech-driver">, |
| 1014 |
and <ref id="build-screen-driver" name="--with-screen-driver"> |
| 1015 |
build options) are compiled. |
| 1016 |
<tag><tt/--enable-relocatable-install/<label id="build-relocatable-install"></tag> |
| 1017 |
If this feature is enabled then all internal paths |
| 1018 |
are recalculated to be relative to the program directory. |
| 1019 |
If it's disabled then all internal paths are absolute. |
| 1020 |
This feature allows the entire installed file hierarchy |
| 1021 |
to be copied or moved, in tact, from one place to another, |
| 1022 |
and is primarily intended for use on Windows platforms. |
| 1023 |
<tag><tt/--disable-stripping/<label id="build-stripping"></tag> |
| 1024 |
Don't remove the symbol tables from executables and shared objects when installing them. |
| 1025 |
<tag><tt/--disable-learn-mode/<label id="build-learn-mode"></tag> |
| 1026 |
Reduce program size by excluding command learn mode |
| 1027 |
(see section <ref id="learn" name="Command Learn Mode">). |
| 1028 |
<tag><tt/--disable-contracted-braille/<label id="build-contracted-braille"></tag> |
| 1029 |
Reduce program size by excluding support for contracted braille |
| 1030 |
(see section <ref id="table-contraction" name="Contraction Tables">). |
| 1031 |
<tag><tt/--disable-speech-support/<label id="build-speech-support"></tag> |
| 1032 |
Reduce program size by excluding support for speech synthesizers. |
| 1033 |
<tag><tt/--disable-iconv/<label id="build-iconv"></tag> |
| 1034 |
Reduce program size by excluding support for |
| 1035 |
character set conversion. |
| 1036 |
<tag><tt/--disable-icu/<label id="build-icu"></tag> |
| 1037 |
Reduce program size by excluding support for |
| 1038 |
Unicode-based internationalization. |
| 1039 |
<tag><tt/--disable-x/<label id="build-x"></tag> |
| 1040 |
Reduce program size by excluding support for |
| 1041 |
X11. |
| 1042 |
<tag><tt/--disable-beeper-support/<label id="build-beeper-support"></tag> |
| 1043 |
Reduce program size by excluding support for |
| 1044 |
the console tone generator. |
| 1045 |
<tag><tt/--disable-pcm-support/<label id="build-pcm-support"></tag> |
| 1046 |
Reduce program size by excluding support for |
| 1047 |
the digital audio interface on the sound card. |
| 1048 |
<tag><tt/--enable-pcm-support=/<em/interface/</tag> |
| 1049 |
If a platform provides more than one digital audio interface |
| 1050 |
then the one which is to be used may be specified. |
| 1051 |
<table loc="h"> |
| 1052 |
<tabular ca="lll"> |
| 1053 |
Platform|Interface|Description@<hline> |
| 1054 |
Linux |
| 1055 |
|oss|Open Sound System@ |
| 1056 |
|alsa|Advanced Linux Sound Architecture@ |
| 1057 |
</tabular> |
| 1058 |
</table> |
| 1059 |
<tag><tt/--disable-midi-support/<label id="build-midi-support"></tag> |
| 1060 |
Reduce program size by excluding support for |
| 1061 |
the Musical Instrument Digital Interface of the sound card. |
| 1062 |
<tag><tt/--enable-midi-support=/<em/interface/</tag> |
| 1063 |
If a platform provides more than one Musical Instrument Digital Interface |
| 1064 |
then the one which is to be used may be specified. |
| 1065 |
<table loc="h"> |
| 1066 |
<tabular ca="lll"> |
| 1067 |
Platform|Interface|Description@<hline> |
| 1068 |
Linux |
| 1069 |
|oss|Open Sound System@ |
| 1070 |
|alsa|Advanced Linux Sound Architecture@ |
| 1071 |
</tabular> |
| 1072 |
</table> |
| 1073 |
<tag><tt/--disable-fm-support/<label id="build-fm-support"></tag> |
| 1074 |
Reduce program size by excluding support for |
| 1075 |
the FM synthesizer on an AdLib, OPL3, Sound Blaster, or equivalent sound card. |
| 1076 |
<tag><tt/--disable-pm-configfile/<label id="build-pm-configfile"></tag> |
| 1077 |
Reduce program size by excluding support for |
| 1078 |
the Papenmeier driver's configuration file. |
| 1079 |
<tag><tt/--disable-gpm/<label id="build-gpm"></tag> |
| 1080 |
Reduce program size by excluding |
| 1081 |
the interface to the <tt/gpm/ application |
| 1082 |
which allows BRLTTY to interact with the pointer (mouse) device |
| 1083 |
(see section <ref id="gpm" name="Pointer (Mouse) Support via GPM">). |
| 1084 |
<tag><tt/--disable-api/<label id="build-api"></tag> |
| 1085 |
Reduce program size by excluding |
| 1086 |
the Application Programming Interface. |
| 1087 |
<tag><tt/--with-api-parameters=/<em/name/<tt/=/<em/value/<tt/,/...<label id="build-api-parameters"></tag> |
| 1088 |
Specify the default parameter settings for the Application Programming Interface. |
| 1089 |
If the same parameter is specified more than once, |
| 1090 |
then its rightmost assignment is used. |
| 1091 |
For a description of the parameters accepted by the interface, |
| 1092 |
please see the <bf/BrlAPI/ reference manual. |
| 1093 |
See the <ref id="configure-api-parameters" name="api-parameters"> configuration file directive |
| 1094 |
and the <ref id="options-api-parameters" name="-A"> command line option |
| 1095 |
for run-time selection. |
| 1096 |
<tag><tt/--disable-caml-bindings/<label id="build-caml-bindings"></tag> |
| 1097 |
Don't build the Caml bindings for the Application Programming Interface. |
| 1098 |
<tag><tt/--disable-java-bindings/<label id="build-java-bindings"></tag> |
| 1099 |
Don't build the Java bindings for the Application Programming Interface. |
| 1100 |
<tag><tt/--disable-lisp-bindings/<label id="build-lisp-bindings"></tag> |
| 1101 |
Don't build the Lisp bindings for the Application Programming Interface. |
| 1102 |
<tag><tt/--disable-python-bindings/<label id="build-python-bindings"></tag> |
| 1103 |
Don't build the Python bindings for the Application Programming Interface. |
| 1104 |
<tag><tt/--disable-tcl-bindings/<label id="build-tcl-bindings"></tag> |
| 1105 |
Don't build the Tcl bindings for the Application Programming Interface. |
| 1106 |
<tag><tt/--with-tcl-config=/<em/path/<label id="build-tcl-config"></tag> |
| 1107 |
Specify the location of the Tcl configuration script (<tt/tclConfig.sh/). |
| 1108 |
Either the path to the script itself |
| 1109 |
or to the directory containing it |
| 1110 |
may be supplied. |
| 1111 |
Any of the following words can also be used as the operand of this option: |
| 1112 |
<descrip> |
| 1113 |
<tag/no/ |
| 1114 |
Use other means to guess if Tcl is available, and, if so, where it has been installed. |
| 1115 |
This is equivalent to specifying <tt/--without-tcl-config/. |
| 1116 |
<tag/yes/ |
| 1117 |
Search for the script in a few commonly used directories. |
| 1118 |
This is equivalent to specifying <tt/--with-tcl-config/. |
| 1119 |
</descrip> |
| 1120 |
</descrip> |
| 1121 |
|
| 1122 |
<sect3>Miscellaneous Options<label id="build-miscellaneous"><p> |
| 1123 |
<descrip> |
| 1124 |
<tag><tt/--with-init-path=/<em/path/<label id="build-init-path"></tag> |
| 1125 |
Specify the path to the real <tt/init/ program for the system. |
| 1126 |
The absolute path should be supplied. |
| 1127 |
If this option is specified, then: |
| 1128 |
<enum> |
| 1129 |
<item> |
| 1130 |
The <tt/init/ program should be moved to a new location. |
| 1131 |
<item> |
| 1132 |
<tt/brltty/ should be moved to the <tt/init/ program's original location. |
| 1133 |
<item> |
| 1134 |
When the system runs <tt/init/ at startup, |
| 1135 |
<tt/brltty/ is actually run. |
| 1136 |
It puts itself into the background, |
| 1137 |
and runs the real <tt/init/ in the foreground. |
| 1138 |
This is one (somewhat sneaky) way to have braille right at the outset. |
| 1139 |
It's especially useful for some install/rescue disks. |
| 1140 |
</enum> |
| 1141 |
If this option isn't specified, then this feature isn't activated. |
| 1142 |
This option is primarily intended for building a braillified installer image. |
| 1143 |
<tag><tt/--with-stderr-path=/<em/path/<label id="build-stderr-path"></tag> |
| 1144 |
Specify the path to the file or device where standard error output is to be written. |
| 1145 |
The absolute path should be supplied. |
| 1146 |
If this option isn't specified, then this feature isn't activated. |
| 1147 |
This option is primarily intended for building a braillified installer image. |
| 1148 |
</descrip> |
| 1149 |
|
| 1150 |
<sect2>Make File Targets<label id="make"><p> |
| 1151 |
Once BRLTTY has been configured, |
| 1152 |
the next steps are to compile and to install it. |
| 1153 |
These are done by applying the system's <tt/make/ command |
| 1154 |
to BRLTTY's main make file (<tt/Makefile/ in the top-level directory). |
| 1155 |
BRLTTY's make file supports most of the common application maintenance targets. |
| 1156 |
They include: |
| 1157 |
<descrip> |
| 1158 |
<tag/make/ |
| 1159 |
A shortcut for <tt/make all/. |
| 1160 |
<tag>make all<label id="make-all"></tag> |
| 1161 |
Compile and link the BRLTTY executable, its drivers and their help pages, |
| 1162 |
its test programs, and a few other small utilities. |
| 1163 |
<tag>make install<label id="make-install"></tag> |
| 1164 |
Complete the compile and link phase |
| 1165 |
(see <ref id="make-all" name="make all">), |
| 1166 |
and then install the BRLTTY executable, its data files, drivers, and help pages, |
| 1167 |
in the correct places and with the correct permissions. |
| 1168 |
<tag>make uninstall<label id="make-uninstall"></tag> |
| 1169 |
Remove the BRLTTY executable, its data files, drivers, and help pages, |
| 1170 |
from the system. |
| 1171 |
<tag>make clean<label id="make-clean"></tag> |
| 1172 |
Ensure that the next compile and link |
| 1173 |
(see <ref id="make-all" name="make all">) |
| 1174 |
will be done from scratch by removing the results of |
| 1175 |
compiling, linking, and testing from the source directory structure. |
| 1176 |
This includes the removal of object files, executables, |
| 1177 |
dynamically loadable shared objects, driver lists, help pages, |
| 1178 |
temporary header files, and core files. |
| 1179 |
<tag>make distclean<label id="make-distclean"></tag> |
| 1180 |
In addition to removing the results of compiling and linking |
| 1181 |
(see <ref id="make-clean" name="make clean">): |
| 1182 |
<itemize> |
| 1183 |
<item> |
| 1184 |
Remove the results of BRLTTY configuration |
| 1185 |
(see <ref id="build" name="Build Options">). |
| 1186 |
This includes the removal of |
| 1187 |
<tt/config.mk/, <tt/config.h/, |
| 1188 |
<tt/config.cache/, <tt/config.status/, and <tt/config.log/. |
| 1189 |
<item> |
| 1190 |
Remove other files from the source directory structure |
| 1191 |
which tend to accumulate over time but which don't belong there. |
| 1192 |
This includes the removal of |
| 1193 |
editor backup files, test case results, |
| 1194 |
rejected patch hunks, and copies of original source files. |
| 1195 |
</itemize> |
| 1196 |
</descrip> |
| 1197 |
|
| 1198 |
<sect1>Testing BRLTTY<p> |
| 1199 |
After compiling, linking, and installing BRLTTY, |
| 1200 |
it's a good idea to give it a quick test before activating it permanently. |
| 1201 |
To do so, invoke it with the command: |
| 1202 |
<tscreen>brltty -b<em/driver/ -d<em/device/</tscreen> |
| 1203 |
For <em/driver/, specify the two-letter |
| 1204 |
<ref id="drivers" name="driver identification code"> |
| 1205 |
corresponding to your braille display. |
| 1206 |
For <em/device/, specify the full path |
| 1207 |
for the device to which your braille display is connected. |
| 1208 |
|
| 1209 |
If you don't want to explicitly identify the driver and device |
| 1210 |
each time you start BRLTTY, then you can take two approaches. |
| 1211 |
You can establish system defaults |
| 1212 |
via the <ref id="configure-braille-driver" name="braille-driver"> |
| 1213 |
and the <ref id="configure-braille-device" name="braille-device"> |
| 1214 |
configuration file directives, |
| 1215 |
and/or compile your needs right into BRLTTY |
| 1216 |
via the <ref id="build-braille-driver" name="--with-braille-driver"> |
| 1217 |
and the <ref id="build-braille-device" name="--with-braille-device"> |
| 1218 |
build options. |
| 1219 |
|
| 1220 |
If all is well, BRLTTY's version identification message |
| 1221 |
should appear on the braille display for a few seconds |
| 1222 |
(see the <ref id="options-message-timeout" name="-M"> command line option). |
| 1223 |
After it goes away (which you can hasten by pressing any key on the display), |
| 1224 |
the area of the screen where the cursor is should appear. |
| 1225 |
This means that you should expect to see your shell's command prompt. |
| 1226 |
Then, as you enter your next command, |
| 1227 |
each character should appear on the display as it's typed on the keyboard. |
| 1228 |
|
| 1229 |
If this is your experience, then leave BRLTTY running, and enjoy it. |
| 1230 |
If this isn't your experience, then it may be necessary |
| 1231 |
to test each driver separately in order to isolate the source of the problem. |
| 1232 |
The screen driver can be tested with <ref id="utility-scrtest" name="scrtest">, |
| 1233 |
and the braille display driver can be tested with <ref id="utility-brltest" name="brltest">. |
| 1234 |
|
| 1235 |
If you experience a problem which requires a lot of digging, |
| 1236 |
then you may wish to use the following <tt/brltty/ command line options: |
| 1237 |
<itemize> |
| 1238 |
<item> |
| 1239 |
<ref id="options-log-level" name="-ldebug"> |
| 1240 |
to log lots of diagnostic messages. |
| 1241 |
<item> |
| 1242 |
<ref id="options-no-daemon" name="-n"> |
| 1243 |
to keep BRLTTY in the foreground. |
| 1244 |
<item> |
| 1245 |
<ref id="options-standard-error" name="-e"> |
| 1246 |
to direct diagnostic messages to standard error |
| 1247 |
rather than to the system log. |
| 1248 |
</itemize> |
| 1249 |
|
| 1250 |
<sect1>Starting BRLTTY<p> |
| 1251 |
BRLTTY, when properly installed, is invoked with the single command <tt/brltty/. |
| 1252 |
A configuration file |
| 1253 |
(see section <ref id="configure" name="The Configuration File"> for details) |
| 1254 |
can be created in order to establish system defaults for such things as |
| 1255 |
the location of the preferences file, |
| 1256 |
the braille display driver to be used, |
| 1257 |
the device to which the braille display is connected, |
| 1258 |
and the text table to be used. |
| 1259 |
Many options |
| 1260 |
(see section <ref id="options" name="Command Line Options"> for details) |
| 1261 |
allow explicit run-time specification of such things as |
| 1262 |
the location of the configuration file, |
| 1263 |
any defaults established within the configuration file, |
| 1264 |
and some characteristics which have reasonable defaults |
| 1265 |
but which those who think they know what they're doing may wish to play with. |
| 1266 |
The <ref id="options-help" name="-h"> option |
| 1267 |
displays a summary of all the options. |
| 1268 |
The <ref id="options-version" name="-V"> option |
| 1269 |
displays the current version of the program, the API, and the selected drivers. |
| 1270 |
The <ref id="options-verify" name="-v"> option |
| 1271 |
displays the values of the options after all sources have been considered. |
| 1272 |
|
| 1273 |
It's probably best to have the system automatically start BRLTTY |
| 1274 |
as part of the boot sequence |
| 1275 |
so that the braille display is already up and running when the login prompt appears. |
| 1276 |
Most (probably all) distributions provide a script wherein |
| 1277 |
user-supplied applications can be safely started near the end of the boot sequence. |
| 1278 |
The name of this script is distribution-dependent. |
| 1279 |
Here are the ones we know about so far: |
| 1280 |
<descrip> |
| 1281 |
<tag/Red Hat/ |
| 1282 |
<tt>/etc/rc.d/rc.local</> |
| 1283 |
</descrip> |
| 1284 |
|
| 1285 |
Starting BRLTTY from this script is a good approach (especially for new users). |
| 1286 |
Just add a set of lines like these: |
| 1287 |
<tscreen><verb> |
| 1288 |
if [ -x /bin/brltty -a -f /etc/brltty.conf ] |
| 1289 |
then |
| 1290 |
/bin/brltty |
| 1291 |
fi |
| 1292 |
</verb></tscreen> |
| 1293 |
This can usually be abbreviated to the somewhat less readable form: |
| 1294 |
<tscreen><verb> |
| 1295 |
[ -x /bin/brltty -a -f /etc/brltty.conf ] && /bin/brltty |
| 1296 |
</verb></tscreen> |
| 1297 |
Don't add these lines before the first line |
| 1298 |
(which usually looks like <tt>#!/bin/sh</>). |
| 1299 |
|
| 1300 |
If the braille display is to be used by a system administrator, |
| 1301 |
then it should probably be started as early as possible during the boot sequence |
| 1302 |
(like before the file systems are checked) |
| 1303 |
so that the display is usable |
| 1304 |
in the event that something goes wrong during these checks |
| 1305 |
and the system drops into single user mode. |
| 1306 |
Again, exactly where it's best to do this is distribution-dependent. |
| 1307 |
Here are the places we know about so far: |
| 1308 |
<descrip> |
| 1309 |
<tag>Debian</tag> |
| 1310 |
<tt>/etc/init.d/boot</> (for older releases) |
| 1311 |
<newline> |
| 1312 |
<tt>/etc/init.d/</> (for newer releases) |
| 1313 |
<newline> |
| 1314 |
A <tt/brltty/ package is provided |
| 1315 |
(see [<htmlurl url="http://packages.debian.org/brltty" name="http://packages.debian.org/brltty">]) |
| 1316 |
as of release <tt/3.0/ (<tt/Woody/). |
| 1317 |
Since this package takes care of starting BRLTTY, |
| 1318 |
there's no need for user-supplied code to do so if it's installed. |
| 1319 |
If you need the daemon to run with some command-line options, |
| 1320 |
you can change the contents between quotes |
| 1321 |
on the directive <tt/ARGUMENTS/ |
| 1322 |
in the <tt>/etc/default/brltty</> file. |
| 1323 |
<tag>RedHat</tag> |
| 1324 |
<tt>/etc/rc.d/rc.sysinit</> |
| 1325 |
<newline> |
| 1326 |
Beware that later releases, |
| 1327 |
in order to support a more user-oriented system initialization procedure, |
| 1328 |
have this script reinvoke itself such that |
| 1329 |
it's under the control of <tt/initlog/. |
| 1330 |
Look, probably right up near the top, for a set of lines like these: |
| 1331 |
<tscreen><verb> |
| 1332 |
# Rerun ourselves through initlog |
| 1333 |
if [ -z "$IN_INITLOG" ]; then |
| 1334 |
[ -f /sbin/initlog ] && exec /sbin/initlog $INITLOG_ARGS -r /etc/rc.sysinit |
| 1335 |
fi |
| 1336 |
</verb></tscreen> |
| 1337 |
Starting BRLTTY before this reinvocation |
| 1338 |
results in two BRLTTY processes running at the same time, |
| 1339 |
and that'll give you no end of problems. |
| 1340 |
If your version of this script has this feature, |
| 1341 |
then make sure you start BRLTTY after the lines which implement it. |
| 1342 |
<tag>Slackware</tag> |
| 1343 |
<tt>/etc/rc.d/rc.S</> |
| 1344 |
<tag>SuSE</tag> |
| 1345 |
<tt>/sbin/init.d/boot</> |
| 1346 |
</descrip> |
| 1347 |
|
| 1348 |
An alternative is to start BRLTTY from <tt>/etc/inittab</>. |
| 1349 |
You have two choices if you choose this route. |
| 1350 |
<itemize> |
| 1351 |
<item> |
| 1352 |
If you want it to be started really early |
| 1353 |
but don't need it to be automatically restarted if it dies, |
| 1354 |
then add a line like this before the first <tt/:sysinit:/ line which is already in there. |
| 1355 |
<tscreen>brl::sysinit:/bin/brltty</tscreen> |
| 1356 |
<item> |
| 1357 |
If you don't mind it being started later |
| 1358 |
but do want it to be automatically restarted if it dies, |
| 1359 |
then add a line like this anywhere within the file. |
| 1360 |
<tscreen>brl:12345:respawn:/bin/brltty -n</tscreen> |
| 1361 |
The <ref id="options-no-daemon" name="-n"> (<tt/--nodaemon/) option is very |
| 1362 |
important when running BRLTTY with <bf/init/'s <tt/respawn/ facility. |
| 1363 |
You'll end up with hundreds of BRLTTY processes all running at the same time |
| 1364 |
if you forget to specify it. |
| 1365 |
</itemize> |
| 1366 |
Check that the identifier (<tt/brl/ in these examples) |
| 1367 |
isn't already being used by another entry, |
| 1368 |
and, if it is, choose a different one which isn't. |
| 1369 |
|
| 1370 |
Note that a command like <tt/kill -TERM/ |
| 1371 |
is sufficient to stop BRLTTY in its tracks. |
| 1372 |
If it dies during entry into single user mode, for example, |
| 1373 |
it may well be due to a problem of this nature. |
| 1374 |
|
| 1375 |
Some systems, as part of the boot sequence, probe the serial ports |
| 1376 |
(usually in order to automatically find the mouse and deduce its type). |
| 1377 |
If your braille display is using a serial port, |
| 1378 |
this kind of probing may be enough to get it confused. |
| 1379 |
If this happens to you, then try restarting the braille driver |
| 1380 |
(see the <ref id="command-RESTARTBRL" name="RESTARTBRL"> command). |
| 1381 |
Better yet, turn off the serial port probing. |
| 1382 |
Here's what we know so far about how to do this: |
| 1383 |
<descrip> |
| 1384 |
<tag/Red Hat/ |
| 1385 |
The probing is done by a service named <tt/kudzu/. |
| 1386 |
Use the command <tscreen>chkconfig --list kudzu</tscreen> to see if it's been enabled. |
| 1387 |
Use the command <tscreen>chkconfig kudzu off</tscreen> to disable it. |
| 1388 |
Later releases allow you to let <tt/kudzu/ run |
| 1389 |
without probing the serial ports. |
| 1390 |
To do this, edit the file <tt>/etc/sysconfig/kudzu</>, |
| 1391 |
and set <tt/SAFE/ to <tt/yes/. |
| 1392 |
</descrip> |
| 1393 |
|
| 1394 |
If you want to start BRLTTY before any file systems are mounted, then |
| 1395 |
ensure that all of its components are installed within the root file system. |
| 1396 |
See the <ref id="build-execute-root" name="--with-execute-root">, |
| 1397 |
<ref id="build-program-directory" name="--bindir">, |
| 1398 |
<ref id="build-library-directory" name="--libdir">, |
| 1399 |
<ref id="build-writable-directory" name="--with-writable-directory">, |
| 1400 |
and <ref id="build-data-directory" name="--with-data-directory"> |
| 1401 |
build options. |
| 1402 |
|
| 1403 |
<sect1>Security Considerations<p> |
| 1404 |
BRLTTY needs to run with root privileges because it needs |
| 1405 |
read and write access for the port to which the braille display is connected, |
| 1406 |
read access to <tt>/dev/vcsa</> or equivalent |
| 1407 |
(to query the screen dimensions and the cursor position, |
| 1408 |
and to review the current screen content and highlighting), |
| 1409 |
and read and write access to the system console |
| 1410 |
(for arrow key entry during cursor routing, |
| 1411 |
for input character insertion during paste, |
| 1412 |
for special key simulation using keys on the braille display, |
| 1413 |
for retrieving output character translation and screen font mapping tables, |
| 1414 |
and for activation of the internal beeper). |
| 1415 |
Access to the needed devices can, of course, be granted to a non-root user |
| 1416 |
by changing the file permissions associated with the devices. |
| 1417 |
Merely having access to the console, however, isn't enough because |
| 1418 |
activating the internal beeper and simulating key strokes still require root privilege. |
| 1419 |
So, if you're willing to give up Cursor Routing, Copy and Paste, beeps, |
| 1420 |
and all that, you can run BRLTTY without root privilege. |
| 1421 |
|
| 1422 |
<sect1>Build and Run-Time Restrictions<p> |
| 1423 |
<descrip> |
| 1424 |
<tag/Alert Tunes/<label id="restrictions-tunes"> |
| 1425 |
Some platforms don't support all of the tune devices. |
| 1426 |
See the <ref id="preference-tune-device" name="Tune Device"> |
| 1427 |
preference for details. |
| 1428 |
<tag/FestivalLite Speech Synthesizer Driver/<label id="restrictions-flite"> |
| 1429 |
The driver for the FestivalLite text to speech engine |
| 1430 |
is only built if that package has been installed. |
| 1431 |
|
| 1432 |
This driver and the driver for the Theta text to speech engine |
| 1433 |
(see the <ref id="build-theta" name="--with-theta"> build option) |
| 1434 |
cannot be simultaneously linked into the BRLTTY binary |
| 1435 |
(see the <ref id="build-speech-driver" name="--with-speech-driver"> build option) |
| 1436 |
because their run-time libraries contain conflicting symbols. |
| 1437 |
<tag/Libbraille Braille Display Driver/<label id="restrictions-libbraille"> |
| 1438 |
The driver for the Libbraille package |
| 1439 |
is only built if that package has been installed. |
| 1440 |
<tag/Mikropuhe Speech Synthesizer Driver/<label id="restrictions-mikropuhe"> |
| 1441 |
The driver for the Mikropuhe text to speech engine |
| 1442 |
is only built if that package has been installed. |
| 1443 |
|
| 1444 |
This driver cannot be included if the BRLTTY binary is statically linked |
| 1445 |
(see the <ref id="build-standalone-programs" name="--enable-standalone-programs"> build option) |
| 1446 |
because a static archive isn't included with the package. |
| 1447 |
<tag/Theta Speech Synthesizer Driver/<label id="restrictions-theta"> |
| 1448 |
The driver for the Theta text to speech engine |
| 1449 |
is only built if that package has been installed. |
| 1450 |
|
| 1451 |
This driver and the driver for the FestivalLite text to speech engine |
| 1452 |
(see the <ref id="build-flite" name="--with-flite"> build option) |
| 1453 |
cannot be simultaneously linked into the BRLTTY binary |
| 1454 |
(see the <ref id="build-speech-driver" name="--with-speech-driver"> build option) |
| 1455 |
because their run-time libraries contain conflicting symbols. |
| 1456 |
|
| 1457 |
If this driver is built as a dynamically loadable shared object |
| 1458 |
then <tt>$THETA_HOME/lib</> must be added |
| 1459 |
to the <tt/LD_LIBRARY_PATH/ environment variable |
| 1460 |
before BRLTTY is invoked |
| 1461 |
because the shared objects within the package don't contain |
| 1462 |
run-time search paths for their dependencies. |
| 1463 |
<tag/ViaVoice Speech Synthesizer Driver/<label id="restrictions-viavoice"> |
| 1464 |
The driver for the ViaVoice text to speech engine |
| 1465 |
is only built if that package has been installed. |
| 1466 |
|
| 1467 |
This driver cannot be included if the BRLTTY binary is statically linked |
| 1468 |
(see the <ref id="build-standalone-programs" name="--enable-standalone-programs"> build option) |
| 1469 |
because a static archive isn't included with the package. |
| 1470 |
<tag/VideoBraille Braille Display Driver/<label id="restrictions-videobraille"> |
| 1471 |
The driver for the VideoBraille braille display is built on all systems, |
| 1472 |
but only works on Linux. |
| 1473 |
</descrip> |
| 1474 |
|
| 1475 |
<sect1>Installing from an RPM File<label id="rpm"><p> |
| 1476 |
To install BRLTTY from an RPM (RedHat Package Manager) file, do the following: |
| 1477 |
<enum> |
| 1478 |
<item> |
| 1479 |
Download the binary package which corresponds to your hardware. |
| 1480 |
It'll be a file named |
| 1481 |
<tt/brltty-/<em/release/<tt/-/<em/version/<tt/./<em/architecture/<tt/.rpm/, |
| 1482 |
e.g. <tt/brltty-3.0-1.i386.rpm/. |
| 1483 |
<item> |
| 1484 |
Install the package. |
| 1485 |
<tscreen>rpm -Uvh brltty-<em/release/-<em/version/.<em/architecture/.rpm</tscreen> |
| 1486 |
This should be done as <bf/root/. |
| 1487 |
Strictly speaking, the <tt/-U/ (update) option is the only one which is necessary. |
| 1488 |
The <tt/-v/ (verbose) option displays the name of the package as it's being installed. |
| 1489 |
The <tt/-h/ (hashes) option displays a progress meter (using hash signs). |
| 1490 |
</enum> |
| 1491 |
For the brave, |
| 1492 |
we also provide the source RPM (<tt/.src.rpm/) file, |
| 1493 |
but that's beyond the scope of this document. |
| 1494 |
|
| 1495 |
To uninstall BRLTTY, do: |
| 1496 |
<tscreen>rpm -e brltty</tscreen> |
| 1497 |
|
| 1498 |
<sect1>Other Utilities<p> |
| 1499 |
Building BRLTTY also results in the building of |
| 1500 |
a few small helper and diagnostic utilities. |
| 1501 |
|
| 1502 |
<sect2>brltty-config<label id="utility-brltty-config"><p> |
| 1503 |
This utility sets a number of environment variables to values |
| 1504 |
which reflect the current installation of BRLTTY |
| 1505 |
(see <ref id="build" name="Build Options">). |
| 1506 |
It should be executed within an existing shell environment, |
| 1507 |
i.e. not as a command in its own right, |
| 1508 |
and can only be used by scripts which support <bf/Bourne Shell/ syntax. |
| 1509 |
<tscreen>. brltty-config</tscreen> |
| 1510 |
|
| 1511 |
The following environment variables are set: |
| 1512 |
<descrip> |
| 1513 |
<tag/BRLTTY_VERSION/ |
| 1514 |
The version number of the BRLTTY package. |
| 1515 |
<tag/BRLTTY_EXECUTE_ROOT/ |
| 1516 |
Run-time root for the installed package. |
| 1517 |
Configured via the <ref id="build-execute-root" name="--with-execute-root"> build option. |
| 1518 |
<tag/BRLTTY_PROGRAM_DIRECTORY/ |
| 1519 |
Directory for runnable programs (binaries, executables). |
| 1520 |
Configured via the <ref id="build-program-directory" name="--with-program-directory"> build option. |
| 1521 |
<tag/BRLTTY_LIBRARY_DIRECTORY/ |
| 1522 |
Directory for drivers. |
| 1523 |
Configured via the <ref id="build-library-directory" name="--with-library-directory"> build option. |
| 1524 |
<tag/BRLTTY_WRITABLE_DIRECTORY/ |
| 1525 |
Directory which can be written to. |
| 1526 |
Configured via the <ref id="build-writable-directory" name="--with-writable-directory"> build option. |
| 1527 |
<tag/BRLTTY_DATA_DIRECTORY/ |
| 1528 |
Directory for tables and help pages. |
| 1529 |
Configured via the <ref id="build-data-directory" name="--with-data-directory"> build option. |
| 1530 |
<tag/BRLTTY_MANPAGE_DIRECTORY/ |
| 1531 |
Directory for manual pages. |
| 1532 |
Configured via the <ref id="build-manpage-directory" name="--with-manpage-directory"> build option. |
| 1533 |
<tag/BRLTTY_INCLUDE_DIRECTORY/ |
| 1534 |
Directory for BrlAPI's C header files. |
| 1535 |
Configured via the <ref id="build-include-directory" name="--with-include-directory"> build option. |
| 1536 |
<tag/BRLAPI_VERSION/ |
| 1537 |
The version number of BrlAPI (BRLTTY's Application Programming Interface). |
| 1538 |
<tag/BRLAPI_RELEASE/ |
| 1539 |
The full release number of BrlAPI. |
| 1540 |
<tag/BRLAPI_AUTH/ |
| 1541 |
The name of BrlAPI's key file. |
| 1542 |
</descrip> |
| 1543 |
|
| 1544 |
In addition, the following standard <bf/autoconf/ environment variables are also set: |
| 1545 |
<descrip> |
| 1546 |
<tag/prefix/ |
| 1547 |
Subroot for architecture-independent files. |
| 1548 |
Configured via the <ref id="build-portable-root" name="--prefix"> build option. |
| 1549 |
<tag/exec_prefix/ |
| 1550 |
Subroot for architecture-dependent files. |
| 1551 |
Configured via the <ref id="build-architecture-root" name="--exec-prefix"> build option. |
| 1552 |
<tag/bindir/ |
| 1553 |
Default location for <ref id="build-program-directory" name="program directory">. |
| 1554 |
Configured via the <tt/--bindir/ build option. |
| 1555 |
<tag/libdir/ |
| 1556 |
Directory for BrlAPI's static archive and dynamically loadable object. |
| 1557 |
Default anchor for <ref id="build-library-directory" name="library directory">. |
| 1558 |
Configured via the <ref id="build-api-directory" name="--libdir"> build option. |
| 1559 |
<tag/sysconfdir/ |
| 1560 |
Directory for configuration files. |
| 1561 |
Default anchor for <ref id="build-data-directory" name="data directory">. |
| 1562 |
Configured via the <ref id="build-configuration-directory" name="--sysconfdir"> build option. |
| 1563 |
<tag/mandir/ |
| 1564 |
Default location for <ref id="build-manpage-directory" name="manual pages directory">. |
| 1565 |
Configured via the <tt/--mandir/ build option. |
| 1566 |
<tag/includedir/ |
| 1567 |
Default anchor for <ref id="build-include-directory" name="header files directory">. |
| 1568 |
Configured via the <tt/--includedir/ build option. |
| 1569 |
</descrip> |
| 1570 |
|
| 1571 |
<sect2>brltty-install<label id="utility-brltty-install"><p> |
| 1572 |
This utility copies BRLTTY's |
| 1573 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 1574 |
from one location to another. |
| 1575 |
<tscreen>brltty-install <em/to/ [<em/from/]</tscreen> |
| 1576 |
<descrip> |
| 1577 |
<tag><em/to/</tag> |
| 1578 |
The location to which the |
| 1579 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 1580 |
is to be copied. |
| 1581 |
It must be an existing directory. |
| 1582 |
<tag><em/from/</tag> |
| 1583 |
The location from which the |
| 1584 |
<ref id="hierarchy" name="installed file hierarchy"> |
| 1585 |
is to be taken. |
| 1586 |
If it's specified, then it must be an existing directory. |
| 1587 |
If it's not specified, then the location used for the build is assumed. |
| 1588 |
</descrip> |
| 1589 |
|
| 1590 |
This utility can be used, for example, to copy BRLTTY to a root disk. |
| 1591 |
If a root floppy is mounted as <tt>/mnt</>, |
| 1592 |
and BRLTTY is installed on the main system, |
| 1593 |
then typing <tscreen>brltty-install /mnt</tscreen> |
| 1594 |
copies BRLTTY, along with all of its data and library files, |
| 1595 |
to the root floppy. |
| 1596 |
|
| 1597 |
Some problems have been experienced when copying BRLTTY |
| 1598 |
between systems with different versions of the shared C library. |
| 1599 |
This is worth investigating if you have difficulties. |
| 1600 |
|
| 1601 |
<sect2>brltest<label id="utility-brltest"><p> |
| 1602 |
This utility tests a braille display driver, |
| 1603 |
and also provides an interactive way to learn |
| 1604 |
what the keys on the braille display do. |
| 1605 |
It should be run as root. |
| 1606 |
<tscreen>brltest -<em/option/ ... [<em/driver/ [<em/name/=<em/value/ ...]]</tscreen> |
| 1607 |
<descrip> |
| 1608 |
<tag><em/driver/</tag> |
| 1609 |
The driver for the braille display. |
| 1610 |
It must be a two-letter <ref id="drivers" name="driver identification code">. |
| 1611 |
If it's not specified, then the first driver configured via the |
| 1612 |
<ref id="build-braille-driver" name="--with-braille-driver"> build option |
| 1613 |
is assumed. |
| 1614 |
<tag><em/name/<tt/=/<em/value/</tag> |
| 1615 |
Set a braille display driver parameter. |
| 1616 |
For a description of the parameters accepted by a specific driver, |
| 1617 |
please see the documentation for that driver. |
| 1618 |
<tag><tt/-d/<em/device/ <tt/--device=/<em/device/</tag> |
| 1619 |
The absolute path for the device to which the braille display is connected. |
| 1620 |
If it's not specified, then the device configured via the |
| 1621 |
<ref id="build-braille-device" name="--with-braille-device"> build option |
| 1622 |
is assumed. |
| 1623 |
<tag><tt/-D/<em/directory/ <tt/--data-directory=/<em/directory/</tag> |
| 1624 |
The absolute path for the directory wherein the driver data files reside. |
| 1625 |
If it's not specified, then the directory configured via the |
| 1626 |
<ref id="build-data-directory" name="--with-data-directory"> build option |
| 1627 |
is assumed. |
| 1628 |
<tag><tt/-L/<em/directory/ <tt/--library-directory=/<em/directory/</tag> |
| 1629 |
The absolute path for the directory wherein the drivers reside. |
| 1630 |
If it's not specified, then the directory configured via the |
| 1631 |
<ref id="build-library-directory" name="--libdir"> build option |
| 1632 |
is assumed. |
| 1633 |
<tag><tt/-W/<em/directory/ <tt/--writable-directory=/<em/directory/</tag> |
| 1634 |
The absolute path for a directory which can be written to. |
| 1635 |
If it's not specified, then the directory configured via the |
| 1636 |
<ref id="build-writable-directory" name="--with-writable-directory"> build option |
| 1637 |
is assumed. |
| 1638 |
<tag><tt/-h/ <tt/--help/</tag> |
| 1639 |
Display a summary of the command line options, and then exit. |
| 1640 |
</descrip> |
| 1641 |
|
| 1642 |
This utility uses BRLTTY's <ref id="learn" name="Command Learn Mode">. |
| 1643 |
The key press timeout |
| 1644 |
(after which this utility exits) |
| 1645 |
is <tt/10/ seconds. |
| 1646 |
The message hold time |
| 1647 |
(used for non-final segments of long messages) |
| 1648 |
is <tt/4/ seconds. |
| 1649 |
|
| 1650 |
<sect2>spktest<label id="utility-spktest"><p> |
| 1651 |
This utility tests a speech synthesizer driver. |
| 1652 |
It may need to be run as root. |
| 1653 |
<tscreen>spktest -<em/option/ ... [<em/driver/ [<em/name/=<em/value/ ...]]</tscreen> |
| 1654 |
<descrip> |
| 1655 |
<tag><em/driver/</tag> |
| 1656 |
The driver for the speech synthesizer. |
| 1657 |
It must be a two-letter <ref id="drivers" name="driver identification code">. |
| 1658 |
If it's not specified, then the first driver configured via the |
| 1659 |
<ref id="build-speech-driver" name="--with-speech-driver"> build option |
| 1660 |
is assumed. |
| 1661 |
<tag><em/name/<tt/=/<em/value/</tag> |
| 1662 |
Set a speech synthesizer driver parameter. |
| 1663 |
For a description of the parameters accepted by a specific driver, |
| 1664 |
please see the documentation for that driver. |
| 1665 |
<tag><tt/-t/<em/string/ <tt/--text-string=/<em/string/</tag> |
| 1666 |
The text to be spoken. |
| 1667 |
If it's not specified, then standard input is read. |
| 1668 |
<tag><tt/-D/<em/directory/ <tt/--data-directory=/<em/directory/</tag> |
| 1669 |
The absolute path for the directory wherein the driver data files reside. |
| 1670 |
If it's not specified, then the directory configured via the |
| 1671 |
<ref id="build-data-directory" name="--with-data-directory"> build option |
| 1672 |
is assumed. |
| 1673 |
<tag><tt/-L/<em/directory/ <tt/--library-directory=/<em/directory/</tag> |
| 1674 |
The absolute path for the directory wherein the drivers reside. |
| 1675 |
If it's not specified, then the directory configured via the |
| 1676 |
<ref id="build-library-directory" name="--libdir"> build option |
| 1677 |
is assumed. |
| 1678 |
<tag><tt/-h/ <tt/--help/</tag> |
| 1679 |
Display a summary of the command line options, and then exit. |
| 1680 |
</descrip> |
| 1681 |
|
| 1682 |
<sect2>scrtest<label id="utility-scrtest"><p> |
| 1683 |
This utility tests the screen driver. |
| 1684 |
It must be run as root. |
| 1685 |
<tscreen>scrtest -<em/option/ ... [<em/name/=<em/value/ ...]</tscreen> |
| 1686 |
<descrip> |
| 1687 |
<tag><em/name/<tt/=/<em/value/</tag> |
| 1688 |
Set a screen driver parameter. |
| 1689 |
For a description of the parameters accepted by a specific driver, |
| 1690 |
please see the documentation for that driver. |
| 1691 |
<tag><tt/-l/<em/column/ <tt/--left=/<em/column/</tag> |
| 1692 |
Specify the starting (left) column (zero-origin) of the region. |
| 1693 |
If this value isn't supplied, |
| 1694 |
then a default value, based on the specified width, |
| 1695 |
is selected such that the region is horizontally centred. |
| 1696 |
<tag><tt/-c/<em/count/ <tt/--columns=/<em/count/</tag> |
| 1697 |
Specify the width of the region (in columns). |
| 1698 |
If this value isn't supplied, |
| 1699 |
then a default value, based on the specified starting column, |
| 1700 |
is selected such that the region is horizontally centred. |
| 1701 |
<tag><tt/-t/<em/row/ <tt/--top=/<em/row/</tag> |
| 1702 |
Specify the starting (top) row (zero-origin) of the region. |
| 1703 |
If this value isn't supplied, |
| 1704 |
then a default value, based on the specified height, |
| 1705 |
is selected such that the region is vertically centred. |
| 1706 |
<tag><tt/-r/<em/count/ <tt/--rows=/<em/count/</tag> |
| 1707 |
Specify the height of the region (in rows). |
| 1708 |
If this value isn't supplied, |
| 1709 |
then a default value, based on the specified starting row, |
| 1710 |
is selected such that the region is vertically centred. |
| 1711 |
<tag><tt/-h/ <tt/--help/</tag> |
| 1712 |
Display a summary of the command line options, and then exit. |
| 1713 |
</descrip> |
| 1714 |
|
| 1715 |
Notes: |
| 1716 |
<itemize> |
| 1717 |
<item> |
| 1718 |
If neither a starting column nor a region width is specified, |
| 1719 |
then the region is horizontally-centred and starts at column 5. |
| 1720 |
<item> |
| 1721 |
If neither a starting row nor a region height is specified, |
| 1722 |
then the region is vertically-centred and starts at row 5. |
| 1723 |
</itemize> |
| 1724 |
|
| 1725 |
The following is written to standard output: |
| 1726 |
<enum> |
| 1727 |
<item> |
| 1728 |
A line detailing the dimensions of the screen. |
| 1729 |
<tscreen>Screen: <em/width/x<em/height/</tscreen> |
| 1730 |
<item> |
| 1731 |
A line detailing the position (zero-origin) of the cursor. |
| 1732 |
<tscreen>Cursor: [<em/column/,<em/row/]</tscreen> |
| 1733 |
<item> |
| 1734 |
A line detailing the size of the selected screen region, |
| 1735 |
and the position (zero-origin) of its top-left corner. |
| 1736 |
<tscreen>Region: <em/width/x<em/height/@[<em/column/,<em/row/]</tscreen> |
| 1737 |
<item> |
| 1738 |
The contents of the selected screen region. |
| 1739 |
Unprintable characters are written as blanks. |
| 1740 |
</enum> |
| 1741 |
|
| 1742 |
<sect2>ttbtest<label id="utility-ttbtest"><p> |
| 1743 |
This utility tests a text table |
| 1744 |
(see section <ref id="table-text" name="Text Tables">). |
| 1745 |
<tscreen>ttbtest -<em/option/ ... <em/input-table/ <em/output-table/</tscreen> |
| 1746 |
<descrip> |
| 1747 |
<tag><em/input-table/</tag> |
| 1748 |
The file system path to the input text table. |
| 1749 |
If it's relative then it's anchored at the directory configured via the |
| 1750 |
<ref id="build-data-directory" name="--with-data-directory"> build option. |
| 1751 |
<tag><em/output-table/</tag> |
| 1752 |
The file system path to the output text table. |
| 1753 |
If it's relative then it's anchored at the current working directory. |
| 1754 |
If this parameter isn't supplied then no output table is written. |
| 1755 |
<tag><tt/-i/<em/format/ <tt/--input-format=/<em/format/</tag> |
| 1756 |
Specify the format of the input table. |
| 1757 |
If this option isn't supplied then the format of the input table |
| 1758 |
is deduced from the extension of the input table's file name. |
| 1759 |
<tag><tt/-o/<em/format/ <tt/--output-format=/<em/format/</tag> |
| 1760 |
Specify the format of the output table. |
| 1761 |
If this option isn't supplied then the format of the output table |
| 1762 |
is deduced from the extension of the output table's file name. |
| 1763 |
<tag><tt/-c/<em/charset/ <tt/--charset=/<em/charset/</tag> |
| 1764 |
Specify the name of the 8-bit character set to use when interpreting the tables. |
| 1765 |
If this option isn't supplied then the host's character set is used. |
| 1766 |
<tag><tt/-e/ <tt/--edit/</tag> |
| 1767 |
Invoke the text table editor. |
| 1768 |
If the output table is specified then changes are written to it. |
| 1769 |
If not then the input table is rewritten. |
| 1770 |
<tag><tt/-h/ <tt/--help/</tag> |
| 1771 |
Display a summary of the command line options, and then exit. |
| 1772 |
</descrip> |
| 1773 |
|
| 1774 |
If no special action is requested then the output table is optional. |
| 1775 |
If it is not specified then the input table is checked. |
| 1776 |
If it is specified then the input table is converted. |
| 1777 |
|
| 1778 |
The following table formats are supported: |
| 1779 |
<descrip> |
| 1780 |
<tag/ttb/BRLTTY |
| 1781 |
<tag/sbl/SuSE Blinux |
| 1782 |
<tag/a2b/Gnopernicus |
| 1783 |
<tag/gnb/Gnome Braille |
| 1784 |
</descrip> |
| 1785 |
|
| 1786 |
<sect2>ctbtest<label id="utility-ctbtest"><p> |
| 1787 |
This utility tests a contraction table |
| 1788 |
(see section <ref id="table-contraction" name="Contraction Tables">). |
| 1789 |
The text read from the input files (or standard input) |
| 1790 |
is rewritten to standard output as contracted braille. |
| 1791 |
<tscreen>ctbtest -<em/option/ ... <em/input-file/ ...</tscreen> |
| 1792 |
<descrip> |
| 1793 |
<tag><em/input-file/</tag> |
| 1794 |
The list of files to be processed. |
| 1795 |
Any number of files may be specified. |
| 1796 |
They're processed from left to right. |
| 1797 |
The special file name <tt/-/ is interpreted to mean standard input. |
| 1798 |
If no files are specified then standard input is processed. |
| 1799 |
<tag><tt/-c/<em/file/ <tt/--contraction-table=/<em/file/</tag> |
| 1800 |
The file system path to the contraction table. |
| 1801 |
If it's relative then it's anchored at the directory configured via the |
| 1802 |
<ref id="build-data-directory" name="--with-data-directory"> build option. |
| 1803 |
The <tt/.ctb/ extension is optional. |
| 1804 |
If this option isn't supplied then <tt/en-us-g2/ is assumed. |
| 1805 |
<tag><tt/-t/<em/file/|<tt/auto/ <tt/--text-table=/<em/file/|<tt/auto/</tag> |
| 1806 |
Specify the text table |
| 1807 |
(see section <ref id="table-text" name="Text Tables"> for details). |
| 1808 |
If a relative path is supplied, then it's anchored at <tt>/etc/brltty</> |
| 1809 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 1810 |
and the <ref id="build-execute-root" name="--with-execute-root"> |
| 1811 |
build options for more details). |
| 1812 |
The <tt/.ttb/ extension is optional. |
| 1813 |
See the <ref id="configure-text-table" name="text-table"> |
| 1814 |
configuration file directive for the default run-time setting. |
| 1815 |
This setting can be changed with the |
| 1816 |
<ref id="preference-text-table" name="Text Table"> preference. |
| 1817 |
<tag><tt/-w/<em/columns/ <tt/--output-width=/<em/columns/</tag> |
| 1818 |
The maximum length of an output line. |
| 1819 |
Each contracted input line is wrapped into as many output lines as necessary. |
| 1820 |
If this option isn't specified then there's no limit, |
| 1821 |
and there's a one-to-one correspondence between input and output lines. |
| 1822 |
<tag><tt/-h/ <tt/--help/</tag> |
| 1823 |
Display a summary of the command line options, and then exit. |
| 1824 |
</descrip> |
| 1825 |
|
| 1826 |
The text table is used: |
| 1827 |
<itemize> |
| 1828 |
<item> |
| 1829 |
To define the output character set so that |
| 1830 |
the contracted braille will be displayed correctly. |
| 1831 |
The same table as will be used by BRLTTY when the output is read should be specified. |
| 1832 |
<item> |
| 1833 |
To define the braille representations of those characters |
| 1834 |
defined within the contraction table as <tt/=/ |
| 1835 |
(see section <ref id="contraction-opcodes-translation" name="Character Translation">). |
| 1836 |
</itemize> |
| 1837 |
|
| 1838 |
The <tt/brf.ttb/ text table is provided for use with this utility. |
| 1839 |
It defines the format used within <tt/.brf/ files. |
| 1840 |
This is also the preferred format used |
| 1841 |
by most braille printers |
| 1842 |
and within electronically distributed braille documents. |
| 1843 |
This table effectively allows this utility to be used as a text to braille translator. |
| 1844 |
|
| 1845 |
<sect2>tunetest<label id="utility-tunetest"><p> |
| 1846 |
This utility tests the alert tunes facility, |
| 1847 |
and also provides an easy way to compose new tunes. |
| 1848 |
It may need to be run as root. |
| 1849 |
<tscreen>tunetest -<em/option/ ... {<em/note/ <em/duration/} ...</tscreen> |
| 1850 |
<descrip> |
| 1851 |
<tag><em/note/</tag> |
| 1852 |
A standard <tt/MIDI/ note number. |
| 1853 |
It must be an integer from <tt/1/ through <tt/127/, |
| 1854 |
with <tt/60/ representing <tt/Middle C/. |
| 1855 |
Each value represents a standard chromatic semi-tone, |
| 1856 |
with the next lower and higher values |
| 1857 |
representing, respectively, the next lower and higher notes. |
| 1858 |
The lowest value (<tt/1/) represents |
| 1859 |
the fifth <tt/C-Sharp/ below <tt/Middle C/, |
| 1860 |
and the highest value (<tt/127/) represents |
| 1861 |
the sixth <tt/G/ above <tt/Middle C/. |
| 1862 |
<tag><em/duration/</tag> |
| 1863 |
The duration of the note in milliseconds. |
| 1864 |
It must be an integer from <tt/1/ through <tt/255/. |
| 1865 |
<tag><tt/-d/<em/device/ <tt/--device=/<em/device/</tag> |
| 1866 |
The device on which to play the tune. |
| 1867 |
<descrip> |
| 1868 |
<tag/beeper/ |
| 1869 |
The internal beeper (console tone generator). |
| 1870 |
<tag/pcm/ |
| 1871 |
The digital audio interface on the sound card. |
| 1872 |
<tag/midi/ |
| 1873 |
The Musical Instrument Digital Interface on the sound card. |
| 1874 |
<tag/fm/ |
| 1875 |
The FM synthesizer on an |
| 1876 |
AdLib, OPL3, Sound Blaster, or equivalent sound card. |
| 1877 |
</descrip> |
| 1878 |
The device name may be abbreviated. |
| 1879 |
See the <ref id="preference-tune-device" name="Tune Device"> preference |
| 1880 |
for details regarding the default device and platform restrictions. |
| 1881 |
<tag><tt/-v/<em/loudness/ <tt/--volume=/<em/loudness/</tag> |
| 1882 |
Specify the output volume (loudness) as a percentage of the maximum. |
| 1883 |
The default output volume is <tt/50/. |
| 1884 |
<tag><tt/-p/<em/device/ <tt/--pcm-device=/<em/device/</tag> |
| 1885 |
Specify the device to use for digital audio |
| 1886 |
(see section <ref id="operand-pcm-device" name="PCM Device Specification">). |
| 1887 |
This option isn't available if the |
| 1888 |
<ref id="build-pcm-support" name="--disable-pcm-support"> build option was specified. |
| 1889 |
<tag><tt/-m/<em/device/ <tt/--midi-device=/<em/device/</tag> |
| 1890 |
Specify the device to use for the Musical Instrument Digital Interface |
| 1891 |
(see section <ref id="operand-midi-device" name="MIDI Device Specification">). |
| 1892 |
This option isn't available if the |
| 1893 |
<ref id="build-midi-support" name="--disable-midi-support"> build option was specified. |
| 1894 |
<tag><tt/-i/<em/instrument/ <tt/--instrument=/<em/instrument/</tag> |
| 1895 |
The instrument to use if the selected device is <tt/midi/. |
| 1896 |
For the complete list of instruments, |
| 1897 |
see the <ref id="midi" name="MIDI Instrument Table">. |
| 1898 |
The default instrument is an <tt/acoustic grand piano/. |
| 1899 |
The words comprising the instrument name must be separated from one another |
| 1900 |
by a single minus sign rather than by spaces, |
| 1901 |
and any of the words may be abbreviated. |
| 1902 |
An <tt/acoustic grand piano/, for example, may be specified as <tt/a-gra-pi/. |
| 1903 |
<tag><tt/-h/ <tt/--help/</tag> |
| 1904 |
Display a summary of the command line options, and then exit. |
| 1905 |
</descrip> |
| 1906 |
|
| 1907 |
<sect>Using BRLTTY<p> |
| 1908 |
Before starting BRLTTY, you need to set up your braille display. |
| 1909 |
In most cases this is done simply |
| 1910 |
by connecting it to an available serial port, |
| 1911 |
and then turning it on. |
| 1912 |
After your display has been set up, |
| 1913 |
run BRLTTY simply by typing the command <tt/brltty/ at a shell prompt |
| 1914 |
(this must be done as root). |
| 1915 |
Check the |
| 1916 |
<ref id="options-braille-device" name="-d"> command line option, |
| 1917 |
the <ref id="configure-braille-device" name="braille-device"> configuration file directive, |
| 1918 |
and the <ref id="build-braille-device" name="--with-braille-device"> build option |
| 1919 |
for alternatives regarding how to tell BRLTTY which device your display is connected to. |
| 1920 |
Check the |
| 1921 |
<ref id="options-braille-driver" name="-b"> command line option, |
| 1922 |
the <ref id="configure-braille-driver" name="braille-driver"> configuration file directive, |
| 1923 |
and the <ref id="build-braille-driver" name="--with-braille-driver"> build option |
| 1924 |
for alternatives regarding how to tell BRLTTY which kind of braille display you have. |
| 1925 |
Check the |
| 1926 |
<ref id="options-braille-parameters" name="-B"> command line option, |
| 1927 |
and the <ref id="configure-braille-parameters" name="braille-parameters"> configuration file directive |
| 1928 |
for alternatives regarding how to pass parameters to the driver for your braille display. |
| 1929 |
|
| 1930 |
A message giving the program name (BRLTTY) and its version number |
| 1931 |
will appear briefly |
| 1932 |
(see the <ref id="options-message-timeout" name="-M"> command line option) |
| 1933 |
on the braille display. |
| 1934 |
The display will then show a small area of the screen including the cursor. |
| 1935 |
By default, the cursor is represented as |
| 1936 |
dots 7 and 8 superimposed on the character it is on. |
| 1937 |
|
| 1938 |
Any screen activity will be reflected on the braille display. |
| 1939 |
The display will also follow the progress of the cursor on the screen. |
| 1940 |
This feature is known as <bf/cursor tracking/. |
| 1941 |
|
| 1942 |
Just typing on the keyboard and reading the display, however, isn't enough. |
| 1943 |
Try entering a command which will cause an error, and pressing <bf/enter/. |
| 1944 |
The error appears on the screen, but, unless you have a multi-line display, |
| 1945 |
the chances are that it isn't visible on the braille display. |
| 1946 |
All you see thereon is another shell prompt. |
| 1947 |
What's needed, then, is some way to move |
| 1948 |
the braille <em/window/ around the screen. |
| 1949 |
The keys on the braille display itself can be used to send commands to BRLTTY |
| 1950 |
which, in addition to a lot of other things, can also do exactly that. |
| 1951 |
|
| 1952 |
<sect1>Commands<label id="commands"><p> |
| 1953 |
Unfortunately, the various braille displays don't offer a standard set of controls. |
| 1954 |
Some have the six standard dot keys, some have eight, and others have none. |
| 1955 |
Some have thumb keys, but there's no standard number of them. |
| 1956 |
Some have a button above each braille cell. |
| 1957 |
Some have rocker switches. |
| 1958 |
Some have an easy-to-reach bar which works much like a joystick. |
| 1959 |
Most have varying combinations of the above. |
| 1960 |
Because the nature and layout of each display is so different, |
| 1961 |
please refer to the documentation for your particular display |
| 1962 |
in order to find out exactly what its keys do. |
| 1963 |
|
| 1964 |
BRLTTY commands are referred to by name within this manual. |
| 1965 |
If you forget which key(s) on your braille display to use |
| 1966 |
for a particular command, then refer to its driver's help page. |
| 1967 |
The main key you should immediately commit to memory, therefore, is the one |
| 1968 |
for the <ref id="command-HELP" name="HELP"> command. |
| 1969 |
Use the regular motion keys (as described below) to navigate the help page, |
| 1970 |
and press the <tt/help/ key again to quit. |
| 1971 |
|
| 1972 |
<sect2>Vertical Motion<label id="vertical-motion"><p> |
| 1973 |
See also |
| 1974 |
the <ref id="command-PRINDENT-NXINDENT" name="PRINDENT/NXINDENT">, |
| 1975 |
and the <ref id="command-PRDIFCHAR-NXDIFCHAR" name="PRDIFCHAR/NXDIFCHAR"> |
| 1976 |
routing key commands. |
| 1977 |
<descrip> |
| 1978 |
<tag>LNUP/LNDN<label id="command-LNUP-LNDN"></tag> |
| 1979 |
Go up/down one line. |
| 1980 |
If identical line skipping has been activated |
| 1981 |
(see the <ref id="command-SKPIDLNS" name="SKPIDLNS"> command), |
| 1982 |
then these commands, rather than moving exactly one line, |
| 1983 |
are aliases for the <ref id="command-PRDIFLN-NXDIFLN" name="PRDIFLN/NXDIFLN"> commands. |
| 1984 |
<tag>WINUP/WINDN<label id="command-WINUP-WINDN"></tag> |
| 1985 |
Go up/down one window. |
| 1986 |
If the window is only 1 line high then move 5 lines. |
| 1987 |
<tag>PRDIFLN/NXDIFLN<label id="command-PRDIFLN-NXDIFLN"></tag> |
| 1988 |
Go up/down to the nearest line with different content. |
| 1989 |
If identical line skipping has been activated |
| 1990 |
(see the <ref id="command-SKPIDLNS" name="SKPIDLNS"> command), |
| 1991 |
then these commands, rather than skipping identical lines, |
| 1992 |
are aliases for the <ref id="command-LNUP-LNDN" name="LNUP/LNDN"> commands. |
| 1993 |
<tag>ATTRUP/ATTRDN<label id="command-ATTRUP-ATTRDN"></tag> |
| 1994 |
Go up/down to the nearest line with different attributes (character highlighting). |
| 1995 |
<tag>TOP/BOT<label id="command-TOP-BOT"></tag> |
| 1996 |
Go to the top/bottom line. |
| 1997 |
<tag>TOP_LEFT/BOT_LEFT<label id="command-TOP_LEFT-BOT_LEFT"></tag> |
| 1998 |
Go to the top-left/bottom-left corner. |
| 1999 |
<tag>PRPGRPH/NXPGRPH<label id="command-PRPGRPH-NXPGRPH"></tag> |
| 2000 |
Go to the nearest line of the previous/next paragraph |
| 2001 |
(the first non-blank line beyond the nearest blank line). |
| 2002 |
The current line is included when searching for the inter-paragraph space. |
| 2003 |
<tag>PRPROMPT/NXPROMPT<label id="command-PRPROMPT-NXPROMPT"></tag> |
| 2004 |
Go to the previous/next command prompt. |
| 2005 |
<tag>PRSEARCH/NXSEARCH<label id="command-PRSEARCH-NXSEARCH"></tag> |
| 2006 |
Search backward/forward for the nearest occurrence |
| 2007 |
of the character string within the cut buffer |
| 2008 |
(see <ref id="cut" name="Cut and Paste">) |
| 2009 |
which isn't within the braille window. |
| 2010 |
The search proceeds to the left/right, |
| 2011 |
starting at the character immediately to the left/right of the window, |
| 2012 |
and wrapping at the edge of the screen. |
| 2013 |
The search isn't case sensitive. |
| 2014 |
</descrip> |
| 2015 |
|
| 2016 |
<sect2>Horizontal Motion<label id="horizontal-motion"><p> |
| 2017 |
See also the <ref id="command-SETLEFT" name="SETLEFT"> routing key command. |
| 2018 |
<descrip> |
| 2019 |
<tag>CHRLT/CHRRT<label id="command-CHRLT-CHRRT"></tag> |
| 2020 |
Go left/right one character. |
| 2021 |
<tag>HWINLT/HWINRT<label id="command-HWINLT-HWINRT"></tag> |
| 2022 |
Go left/right half a window. |
| 2023 |
<tag>FWINLT/FWINRT<label id="command-FWINLT-FWINRT"></tag> |
| 2024 |
Go left/right one window. |
| 2025 |
These commands are particularly useful |
| 2026 |
because they automatically wrap when they reach the edge of the screen. |
| 2027 |
Other features, like their ability to skip blank windows |
| 2028 |
(see the <ref id="command-SKPBLNKWINS" name="SKPBLNKWINS"> command), |
| 2029 |
further enhance their usefulness. |
| 2030 |
<tag>FWINLTSKIP/FWINRTSKIP<label id="command-FWINLTSKIP-FWINRTSKIP"></tag> |
| 2031 |
Go left/right to the nearest non-blank window. |
| 2032 |
<tag>LNBEG/LNEND<label id="command-LNBEG-LNEND"></tag> |
| 2033 |
Go to the beginning/end of the line. |
| 2034 |
</descrip> |
| 2035 |
|
| 2036 |
<sect2>Implicit Motion<label id="implicit-motion"><p> |
| 2037 |
See also the <ref id="command-GOTOMARK" name="GOTOMARK"> routing key command. |
| 2038 |
<descrip> |
| 2039 |
<tag>HOME<label id="command-HOME"></tag> |
| 2040 |
Go to where the cursor is. |
| 2041 |
<tag>BACK<label id="command-BACK"></tag> |
| 2042 |
Go back to where the most recent motion command put the braille window. |
| 2043 |
This is an easy way to get right back to where you were reading |
| 2044 |
after an unexpected event (like cursor tracking) |
| 2045 |
moves the braille window at an inopportune moment. |
| 2046 |
<tag>RETURN<label id="command-RETURN"></tag> |
| 2047 |
<itemize> |
| 2048 |
<item> |
| 2049 |
If the most recent motion of the braille window was automatic, |
| 2050 |
e.g. as a result of cursor tracking, |
| 2051 |
then go back to where the most recent motion command put it |
| 2052 |
(see the <ref id="command-BACK" name="BACK"> command). |
| 2053 |
<item> |
| 2054 |
If the cursor isn't within the braille window |
| 2055 |
then go to where the cursor is |
| 2056 |
(see the <ref id="command-HOME" name="HOME"> command). |
| 2057 |
</itemize> |
| 2058 |
</descrip> |
| 2059 |
|
| 2060 |
<sect2>Feature Activation<label id="feature-activation"><p> |
| 2061 |
Each of these commands has three forms: |
| 2062 |
<bf/activate/ (turn the feature on), |
| 2063 |
<bf/deactivate/ (turn the feature off), |
| 2064 |
and <bf/toggle/ (if it's off then turn it on, and if it's on then turn it off). |
| 2065 |
Unless specifically noted, each of these features |
| 2066 |
is initially <bf/off/, and, when <bf/on/, affects BRLTTY's operation as a whole. |
| 2067 |
The initial setting of some of these features can be changed |
| 2068 |
via the <ref id="preferences-menu" name="preferences menu">. |
| 2069 |
<descrip> |
| 2070 |
<tag>FREEZE<label id="command-FREEZE"></tag> |
| 2071 |
Freeze the screen image. |
| 2072 |
BRLTTY makes a copy of the screen (content and attributes) |
| 2073 |
as of the moment when the screen image is frozen, |
| 2074 |
and then ignores all updating of the screen until it's unfrozen. |
| 2075 |
This feature makes it easy, for example, |
| 2076 |
to sample the output of an application which writes too much too quickly. |
| 2077 |
<tag>DISPMD<label id="command-DISPMD"></tag> |
| 2078 |
Show the highlighting (the attributes) |
| 2079 |
of each character within the braille window, |
| 2080 |
rather than the characters themselves (the content). |
| 2081 |
This feature is useful, for example, |
| 2082 |
when you need to locate a highlighted item. |
| 2083 |
When showing screen content, the text table is used |
| 2084 |
(see the <ref id="options-text-table" name="-t"> command line option, |
| 2085 |
the <ref id="configure-text-table" name="text-table"> configuration file directive, |
| 2086 |
and the <ref id="build-text-table" name="--with-text-table"> build option). |
| 2087 |
When showing screen attributes, the attributes table is used |
| 2088 |
(see the <ref id="options-attributes-table" name="-a"> command line option, |
| 2089 |
the <ref id="configure-attributes-table" name="attributes-table"> configuration file directive, |
| 2090 |
and the <ref id="build-attributes-table" name="--with-attributes-table"> build option). |
| 2091 |
This feature only affects the current virtual terminal. |
| 2092 |
<tag>SIXDOTS<label id="command-SIXDOTS"></tag> |
| 2093 |
Show characters using 6-dot, rather than 8-dot, braille. |
| 2094 |
Dots 7 and 8 are still used by other features |
| 2095 |
like cursor representation and highlighted character underlining. |
| 2096 |
If a contraction table has been selected |
| 2097 |
(see the <ref id="options-contraction-table" name="-c"> command line option |
| 2098 |
and the <ref id="configure-contraction-table" name="contraction-table"> configuration file directive), |
| 2099 |
then it is used. |
| 2100 |
This setting can also be changed with the |
| 2101 |
<ref id="preference-text-style" name="Text Style"> preference. |
| 2102 |
<tag>SLIDEWIN<label id="command-SLIDEWIN"></tag> |
| 2103 |
If cursor tracking |
| 2104 |
(see the <ref id="command-CSRTRK" name="CSRTRK"> command) |
| 2105 |
is <bf/on/, then, |
| 2106 |
whenever the cursor moves too close to (or beyond) |
| 2107 |
either end of the braille window, |
| 2108 |
horizontally reposition the window such that the cursor, |
| 2109 |
while remaining on that side, is nearer the centre. |
| 2110 |
If this feature is <bf/off/, |
| 2111 |
then the braille window is always positioned such that |
| 2112 |
its left end is a multiple of its width from the left edge of the screen. |
| 2113 |
This setting can also be changed with the |
| 2114 |
<ref id="preference-sliding-window" name="Sliding Window"> preference. |
| 2115 |
<tag>SKPIDLNS<label id="command-SKPIDLNS"></tag> |
| 2116 |
Rather than explicitly moving exactly one line either up or down, |
| 2117 |
skip past lines which have the same content as the current line. |
| 2118 |
This feature affects |
| 2119 |
the <ref id="command-LNUP-LNDN" name="LNUP/LNDN"> commands, |
| 2120 |
as well as the line wrapping feature of |
| 2121 |
the <ref id="command-FWINLT-FWINRT" name="FWINLT/FWINRT"> |
| 2122 |
and <ref id="command-FWINLTSKIP-FWINRTSKIP" name="FWINLTSKIP/FWINRTSKIP"> commands. |
| 2123 |
This setting can also be changed with the |
| 2124 |
<ref id="preference-skip-identical-lines" name="Skip Identical Lines"> preference. |
| 2125 |
<tag>SKPBLNKWINS<label id="command-SKPBLNKWINS"></tag> |
| 2126 |
Skip past blank windows when reading either forward or backward. |
| 2127 |
This feature affects the <ref id="command-FWINLT-FWINRT" name="FWINLT/FWINRT"> commands. |
| 2128 |
This setting can also be changed with the |
| 2129 |
<ref id="preference-skip-blank-windows" name="Skip Blank Windows"> preference. |
| 2130 |
<tag>CSRVIS<label id="command-CSRVIS"></tag> |
| 2131 |
Show the cursor by superimposing a dot pattern |
| 2132 |
(see the <ref id="command-CSRSIZE" name="CSRSIZE"> command) |
| 2133 |
on top of the character where it is. |
| 2134 |
This feature is initially <bf/on/. |
| 2135 |
This setting can also be changed with the |
| 2136 |
<ref id="preference-show-cursor" name="Show Cursor"> preference. |
| 2137 |
<tag>CSRHIDE<label id="command-CSRHIDE"></tag> |
| 2138 |
Hide the cursor (see the <ref id="command-CSRVIS" name="CSRVIS"> command) |
| 2139 |
in order to accurately read the character beneath it. |
| 2140 |
This feature only affects the current virtual terminal. |
| 2141 |
<tag>CSRTRK<label id="command-CSRTRK"></tag> |
| 2142 |
Track (follow) the cursor. |
| 2143 |
If the cursor moves to a location which isn't within the braille window, |
| 2144 |
then automatically move the braille window to the cursor's new location. |
| 2145 |
You'll usually want this feature turned on |
| 2146 |
since it minimizes the effects of screen scrolling, |
| 2147 |
and since, during input, the region wherein you're currently typing is always visible. |
| 2148 |
If this feature causes the braille window to jump at an inopportune moment, |
| 2149 |
then use the <ref id="command-BACK" name="BACK"> command |
| 2150 |
to get back to where you were reading. |
| 2151 |
You may need to turn this feature off when using an application which |
| 2152 |
continually updates the screen while maintaining a fixed data layout. |
| 2153 |
This feature is initially <bf/on/. |
| 2154 |
This feature only affects the current virtual terminal. |
| 2155 |
<tag>CSRSIZE<label id="command-CSRSIZE"></tag> |
| 2156 |
Represent the cursor with all eight dots (a solid block), |
| 2157 |
rather than with just dots 7 and 8 (an underline). |
| 2158 |
This setting can also be changed with the |
| 2159 |
<ref id="preference-cursor-style" name="Cursor Style"> preference. |
| 2160 |
<tag>CSRBLINK<label id="command-CSRBLINK"></tag> |
| 2161 |
Blink (turn on and off according to a predefined interval) |
| 2162 |
the symbol representing the cursor |
| 2163 |
(see the <ref id="command-CSRVIS" name="CSRVIS"> command). |
| 2164 |
This setting can also be changed with the |
| 2165 |
<ref id="preference-blinking-cursor" name="Blinking Cursor"> preference. |
| 2166 |
<tag>ATTRVIS<label id="command-ATTRVIS"></tag> |
| 2167 |
Underline (with combinations of dots 7 and 8) highlighted characters. |
| 2168 |
<descrip> |
| 2169 |
<tag/no underline/ |
| 2170 |
White on black (normal), |
| 2171 |
gray on black, |
| 2172 |
white on blue, |
| 2173 |
black on cyan. |
| 2174 |
<tag/dots 7 and 8/ |
| 2175 |
Black on white (reverse video). |
| 2176 |
<tag/dot 8/ |
| 2177 |
Everything else. |
| 2178 |
</descrip> |
| 2179 |
This setting can also be changed with the |
| 2180 |
<ref id="preference-show-attributes" name="Show Attributes"> preference. |
| 2181 |
<tag>ATTRBLINK<label id="command-ATTRBLINK"></tag> |
| 2182 |
Blink (turn on and off according to a predefined interval) |
| 2183 |
the attribute underline |
| 2184 |
(see the <ref id="command-ATTRVIS" name="ATTRVIS"> command). |
| 2185 |
This feature is initially <bf/on/. |
| 2186 |
This setting can also be changed with the |
| 2187 |
<ref id="preference-blinking-attributes" name="Blinking Attributes"> preference. |
| 2188 |
<tag>CAPBLINK<label id="command-CAPBLINK"></tag> |
| 2189 |
Blink (turn on and off according to a predefined interval) |
| 2190 |
capital (uppercase) letters. |
| 2191 |
This setting can also be changed with the |
| 2192 |
<ref id="preference-blinking-capitals" name="Blinking Capitals"> preference. |
| 2193 |
<tag>TUNES<label id="command-TUNES"></tag> |
| 2194 |
Play a short predefined tune (see <ref id="tunes" name="Alert Tunes">) |
| 2195 |
whenever a significant event occurs. |
| 2196 |
This feature is initially <bf/on/. |
| 2197 |
This setting can also be changed with the |
| 2198 |
<ref id="preference-alert-tunes" name="Alert Tunes"> preference. |
| 2199 |
<tag>AUTOREPEAT<label id="command-AUTOREPEAT"></tag> |
| 2200 |
Automatically repeat a command at a regular interval |
| 2201 |
after an initial delay |
| 2202 |
while its key (combination) remains pressed. |
| 2203 |
Only some drivers support this functionality, |
| 2204 |
the primary limitation being that many braille displays |
| 2205 |
don't signal key presses and key releases as distinctly separate events. |
| 2206 |
This feature is initially <bf/on/. |
| 2207 |
This setting can also be changed with the |
| 2208 |
<ref id="preference-autorepeat" name="Autorepeat"> preference. |
| 2209 |
<tag>AUTOSPEAK<label id="command-AUTOSPEAK"></tag> |
| 2210 |
Automatically speak: |
| 2211 |
<itemize> |
| 2212 |
<item>the new line when the braille window is moved vertically. |
| 2213 |
<item>characters which are entered or deleted. |
| 2214 |
<item>the character to which the cursor is moved. |
| 2215 |
</itemize> |
| 2216 |
This feature is initially <bf/off/. |
| 2217 |
This setting can also be changed with the |
| 2218 |
<ref id="preference-autospeak" name="Autospeak"> preference. |
| 2219 |
</descrip> |
| 2220 |
|
| 2221 |
<sect2>Mode Selection<label id="mode-selection"><p> |
| 2222 |
<descrip> |
| 2223 |
<tag>HELP<label id="command-HELP"></tag> |
| 2224 |
Switch to the braille display driver's help page. |
| 2225 |
This is where you can find an on-line summary of things like |
| 2226 |
what your braille display's keys do, |
| 2227 |
and how to interpret its status cells. |
| 2228 |
Use the regular <ref id="vertical-motion" name="vertical"> |
| 2229 |
and <ref id="horizontal-motion" name="horizontal"> motion commands |
| 2230 |
to navigate the help page. |
| 2231 |
Invoke the <tt/help/ command again to return to the screen. |
| 2232 |
<tag>INFO<label id="command-INFO"></tag> |
| 2233 |
Switch to the status display |
| 2234 |
(see section <ref id="status" name="The Status Display"> for full details). |
| 2235 |
It presents a summary including |
| 2236 |
the position of the cursor, |
| 2237 |
the position of the braille window, |
| 2238 |
and the states of a number of BRLTTY's features. |
| 2239 |
Invoke this command again to return to the screen. |
| 2240 |
<tag>LEARN<label id="command-LEARN"></tag> |
| 2241 |
Switch to command learn mode |
| 2242 |
(see section <ref id="learn" name="Command Learn Mode"> for full details). |
| 2243 |
This is how you can interactively learn what your braille display's keys do. |
| 2244 |
Invoke this command again to return to the screen. |
| 2245 |
This command isn't available if the |
| 2246 |
<ref id="build-learn-mode" name="--disable-learn-mode"> build option was specified. |
| 2247 |
</descrip> |
| 2248 |
|
| 2249 |
<sect2>Preference Maintenance<label id="preference-maintenance"><p> |
| 2250 |
<descrip> |
| 2251 |
<tag>PREFMENU<label id="command-PREFMENU"></tag> |
| 2252 |
Switch to the preferences menu |
| 2253 |
(see <ref id="preferences-menu" name="The Preferences Menu"> for full details). |
| 2254 |
Invoke this command again to return to normal operation. |
| 2255 |
<tag>PREFSAVE<label id="command-PREFSAVE"></tag> |
| 2256 |
Save the current preferences settings |
| 2257 |
(see <ref id="preferences" name="Preferences"> for full details). |
| 2258 |
<tag>PREFLOAD<label id="command-PREFLOAD"></tag> |
| 2259 |
Restore the most recently saved preferences settings |
| 2260 |
(see <ref id="preferences" name="Preferences"> for full details). |
| 2261 |
</descrip> |
| 2262 |
|
| 2263 |
<sect2>Menu Navigation<label id="menu-navigation"><p> |
| 2264 |
<descrip> |
| 2265 |
<tag>MENU_FIRST_ITEM/MENU_LAST_ITEM<label id="command-MENU_FIRST_ITEM-MENU_LAST_ITEM"></tag> |
| 2266 |
Go to the first/last item in the menu. |
| 2267 |
<tag>MENU_PREV_ITEMMENU_NEXT_ITEM/<label id="command-MENU_PREV_ITEM-MENU_NEXT_ITEM"></tag> |
| 2268 |
Go to the previous/next item in the menu. |
| 2269 |
<tag>MENU_PREV_SETTING/MENU_NEXT_SETTING<label id="command-MENU_PREV_SETTING-MENU_NEXT_SETTING"></tag> |
| 2270 |
Decrement/increment the current menu item's setting. |
| 2271 |
</descrip> |
| 2272 |
|
| 2273 |
<sect2>Speech Controls<label id="speech-controls"><p> |
| 2274 |
<descrip> |
| 2275 |
<tag>SAY_LINE<label id="command-SAY_LINE"></tag> |
| 2276 |
Speak the current line. |
| 2277 |
The <ref id="preference-sayline-mode" name="Say-Line Mode"> preference |
| 2278 |
determines if pending speech is discarded first. |
| 2279 |
<tag>SAY_ABOVE<label id="command-SAY_ABOVE"></tag> |
| 2280 |
Speak the top portion of the screen (ending with the current line). |
| 2281 |
<tag>SAY_BELOW<label id="command-SAY_BELOW"></tag> |
| 2282 |
Speak the bottom portion of the screen (starting with the current line). |
| 2283 |
<tag>MUTE<label id="command-MUTE"></tag> |
| 2284 |
Stop speaking immediately. |
| 2285 |
<tag>SPKHOME<label id="command-SPKHOME"></tag> |
| 2286 |
Go to where the speech cursor is. |
| 2287 |
<tag>SAY_SLOWER/SAY_FASTER<label id="command-SAY_SLOWER-SAY_FASTER"></tag> |
| 2288 |
Decrease/increase the speech rate |
| 2289 |
(see also the <ref id="preference-speech-rate" name="Speech Rate"> preference). |
| 2290 |
This command is only available if a driver which supports it is being used. |
| 2291 |
<tag>SAY_SOFTER/SAY_LOUDER<label id="command-SAY_SOFTER-SAY_LOUDER"></tag> |
| 2292 |
Decrease/increase the speech volume |
| 2293 |
(see also the <ref id="preference-speech-volume" name="Speech Volume"> preference). |
| 2294 |
This command is only available if a driver which supports it is being used. |
| 2295 |
</descrip> |
| 2296 |
|
| 2297 |
<sect2>Speech Navigation<label id="speech-navigation"><p> |
| 2298 |
<descrip> |
| 2299 |
<tag/SPEAK_CURR_CHAR/a |
| 2300 |
</descrip> |
| 2301 |
|
| 2302 |
<sect2>Virtual Terminal Switching<p> |
| 2303 |
See also the <ref id="command-SWITCHVT" name="SWITCHVT"> routing key command. |
| 2304 |
<descrip> |
| 2305 |
<tag>SWITCHVT_PREV/SWITCHVT_NEXT<label id="command-SWITCHVT_PREV-SWITCHVT_NEXT"></tag> |
| 2306 |
Switch to the previous/next virtual terminal. |
| 2307 |
</descrip> |
| 2308 |
|
| 2309 |
<sect2>Other Commands<p> |
| 2310 |
<descrip> |
| 2311 |
<tag>CSRJMP_VERT<label id="command-CSRJMP_VERT"></tag> |
| 2312 |
Route (bring) the cursor to anywhere on the top line of the braille window |
| 2313 |
(see <ref id="routing" name="Cursor Routing"> for full details). |
| 2314 |
The cursor is moved by simulating vertical arrow-key presses. |
| 2315 |
This command doesn't always work because some applications |
| 2316 |
either move the cursor somewhat unpredictably |
| 2317 |
or use the arrow keys for purposes other than cursor motion. |
| 2318 |
It's somewhat safer than the other cursor routing commands, though, |
| 2319 |
because it makes no attempt to simulate the left- and right-arrows. |
| 2320 |
<tag>PASTE<label id="command-PASTE"></tag> |
| 2321 |
Insert the characters within the cut buffer at the current cursor location |
| 2322 |
(see <ref id="cut" name="Cut and Paste"> for full details). |
| 2323 |
<tag>RESTARTBRL<label id="command-RESTARTBRL"></tag> |
| 2324 |
Stop, and then restart the braille display driver. |
| 2325 |
<tag>RESTARTSPEECH<label id="command-RESTARTSPEECH"></tag> |
| 2326 |
Stop, and then restart the speech synthesizer driver. |
| 2327 |
</descrip> |
| 2328 |
|
| 2329 |
<sect2>Character Commands<label id="commands-characters"><p> |
| 2330 |
<descrip> |
| 2331 |
<tag>ROUTE<label id="command-ROUTE"></tag> |
| 2332 |
Route (bring) the cursor to the character |
| 2333 |
associated with the routing key |
| 2334 |
(see <ref id="routing" name="Cursor Routing"> for full details). |
| 2335 |
The cursor is moved by simulating arrow-key presses. |
| 2336 |
This command doesn't always work because some applications |
| 2337 |
either move the cursor somewhat unpredictably |
| 2338 |
or use the arrow keys for purposes other than cursor motion. |
| 2339 |
<tag>CUTBEGIN<label id="command-CUTBEGIN"></tag> |
| 2340 |
Anchor the start of the cut block at the character |
| 2341 |
associated with the routing key |
| 2342 |
(see <ref id="cut" name="Cut and Paste"> for full details). |
| 2343 |
This command clears the cut buffer. |
| 2344 |
<tag>CUTAPPEND<label id="command-CUTAPPEND"></tag> |
| 2345 |
Anchor the start of the cut block at the character |
| 2346 |
associated with the routing key |
| 2347 |
(see <ref id="cut" name="Cut and Paste"> for full details). |
| 2348 |
This command doesn't clear the cut buffer. |
| 2349 |
<tag>CUTRECT<label id="command-CUTRECT"></tag> |
| 2350 |
Anchor the end of the cut block at the character |
| 2351 |
associated with the routing key, |
| 2352 |
and append the rectangular region to the cut buffer |
| 2353 |
(see <ref id="cut" name="Cut and Paste"> for full details). |
| 2354 |
<tag>CUTLINE<label id="command-CUTLINE"></tag> |
| 2355 |
Anchor the end of the cut block at the character |
| 2356 |
associated with the routing key, |
| 2357 |
and append the linear region to the cut buffer |
| 2358 |
(see <ref id="cut" name="Cut and Paste"> for full details). |
| 2359 |
<tag>COPYCHARS<label id="command-COPYCHARS"></tag> |
| 2360 |
Copy the character block |
| 2361 |
anchored by the two routing keys |
| 2362 |
to the cut buffer |
| 2363 |
(see <ref id="cut" name="Cut and Paste"> for full details). |
| 2364 |
<tag>APNDCHARS<label id="command-APNDCHARS"></tag> |
| 2365 |
Append the character block |
| 2366 |
anchored by the two routing keys |
| 2367 |
to the cut buffer |
| 2368 |
(see <ref id="cut" name="Cut and Paste"> for full details). |
| 2369 |
<tag>PRINDENT/NXINDENT<label id="command-PRINDENT-NXINDENT"></tag> |
| 2370 |
Go up/down to the nearest line which isn't indented |
| 2371 |
more than the column associated with the routing key. |
| 2372 |
<tag>DESCCHAR<label id="command-DESCCHAR"></tag> |
| 2373 |
Momentarily (see the <ref id="options-message-timeout" name="-M"> command line option) |
| 2374 |
display a message describing the character associated with the routing key. |
| 2375 |
It reveals |
| 2376 |
the decimal and hexadecimal values of the character, |
| 2377 |
the foreground and background colours, |
| 2378 |
and, when present, special attributes (<tt/bright/ and <tt/blink/). |
| 2379 |
The message looks like this: |
| 2380 |
<tscreen>char 65 (0x41): white on black bright blink</tscreen> |
| 2381 |
<tag>SETLEFT<label id="command-SETLEFT"></tag> |
| 2382 |
Horizontally reposition the braille window so that |
| 2383 |
its left edge is at the column associated with the routing key. |
| 2384 |
This feature makes it very easy to put the window exactly where it's needed, |
| 2385 |
and, therefore, for displays which have routing keys, |
| 2386 |
almost eliminates the need for a lot of elementary window motion |
| 2387 |
(like |
| 2388 |
the <ref id="command-CHRLT-CHRRT" name="CHRLT/CHRRT"> |
| 2389 |
and <ref id="command-HWINLT-HWINRT" name="HWINLT/HWINRT"> |
| 2390 |
commands). |
| 2391 |
<tag>PRDIFCHAR/NXDIFCHAR<label id="command-PRDIFCHAR-NXDIFCHAR"></tag> |
| 2392 |
Go up/down to the nearest line which has a different character |
| 2393 |
in the column associated with the routing key. |
| 2394 |
</descrip> |
| 2395 |
|
| 2396 |
<sect2>Base Commands<label id="commands-base"><p> |
| 2397 |
<descrip> |
| 2398 |
<tag>SWITCHVT<label id="command-SWITCHVT"></tag> |
| 2399 |
Switch to the virtual terminal whose number |
| 2400 |
(counting from 1) matches that of the routing key. |
| 2401 |
See also the <ref id="command-SWITCHVT_PREV-SWITCHVT_NEXT" name="SWITCHVT_PREV/SWITCHVT_NEXT"> virtual terminal switching commands. |
| 2402 |
<tag>SETMARK<label id="command-SETMARK"></tag> |
| 2403 |
Mark (remember) the current position of the braille window |
| 2404 |
in a register associated with the routing key. |
| 2405 |
See the <ref id="command-GOTOMARK" name="GOTOMARK"> command. |
| 2406 |
This feature only affects the current virtual terminal. |
| 2407 |
<tag>GOTOMARK<label id="command-GOTOMARK"></tag> |
| 2408 |
Move the braille window to the position formerly marked |
| 2409 |
(see the <ref id="command-SETMARK" name="SETMARK"> command) |
| 2410 |
with the same routing key. |
| 2411 |
This feature only affects the current virtual terminal. |
| 2412 |
</descrip> |
| 2413 |
|
| 2414 |
<sect1>The Configuration File<label id="configure"><p> |
| 2415 |
System defaults for many settings may be established within a configuration file. |
| 2416 |
The default name for this file is <tt>/etc/brltty.conf</tt>, |
| 2417 |
although it may be overridden with the |
| 2418 |
<ref id="options-configuration-file" name="-f"> command line option. |
| 2419 |
It doesn't need to exist. |
| 2420 |
A template for it can be found within the <tt/Documents/ subdirectory. |
| 2421 |
|
| 2422 |
Blank lines are ignored. |
| 2423 |
A comment begins with a number sign (<tt/#/), |
| 2424 |
and continues to the end of the line. |
| 2425 |
The following directives are recognized: |
| 2426 |
<descrip> |
| 2427 |
<tag><tt/api-parameters/ <em/name/<tt/=/<em/value/<tt/,/...<label id="configure-api-parameters"></tag> |
| 2428 |
Specify parameters for the Application Programming Interface. |
| 2429 |
If the same parameter is specified more than once, |
| 2430 |
then its rightmost assignment is used. |
| 2431 |
For a description of the parameters accepted by the interface, |
| 2432 |
please see the <bf/BrlAPI/ reference manual. |
| 2433 |
See the <ref id="build-api-parameters" name="--with-api-parameters"> |
| 2434 |
build option for the defaults established during the build procedure. |
| 2435 |
This directive can be overridden with the |
| 2436 |
<ref id="options-api-parameters" name="-A"> command line option. |
| 2437 |
<tag><tt/attributes-table/ <em/file/<label id="configure-attributes-table"></tag> |
| 2438 |
Specify the attributes table |
| 2439 |
(see section <ref id="table-attributes" name="Attributes Tables"> for details). |
| 2440 |
If a relative path is supplied, then it's anchored at <tt>/etc/brltty</> |
| 2441 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 2442 |
and the <ref id="build-execute-root" name="--with-execute-root"> |
| 2443 |
build options for more details). |
| 2444 |
The <tt/.atb/ extension is optional. |
| 2445 |
The default is to use the built-in table |
| 2446 |
(see the <ref id="build-attributes-table" name="--with-attributes-table"> build option). |
| 2447 |
This directive can be overridden with the |
| 2448 |
<ref id="options-attributes-table" name="-a"> command line option. |
| 2449 |
<tag><tt/braille-device/ <em/device/<tt/,/...<label id="configure-braille-device"></tag> |
| 2450 |
Specify the device to which the braille display is connected |
| 2451 |
(see section <ref id="operand-braille-device" name="Braille Device Specification">). |
| 2452 |
See the <ref id="build-braille-device" name="--with-braille-device"> |
| 2453 |
build option for the default established during the build procedure. |
| 2454 |
This directive can be overridden with the |
| 2455 |
<ref id="options-braille-device" name="-d"> command line option. |
| 2456 |
<tag><tt/braille-driver/ <em/driver/<tt/,/...|<tt/auto/<label id="configure-braille-driver"></tag> |
| 2457 |
Specify the braille display driver |
| 2458 |
(see section <ref id="operand-driver" name="Driver Specification">). |
| 2459 |
The default is to perform autodetection. |
| 2460 |
This directive can be overridden with the |
| 2461 |
<ref id="options-braille-driver" name="-b"> command line option. |
| 2462 |
<tag><tt/braille-parameters/ [<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/...<label id="configure-braille-parameters"></tag> |
| 2463 |
Specify parameters for the braille display drivers. |
| 2464 |
If the same parameter is specified more than once, |
| 2465 |
then its rightmost assignment is used. |
| 2466 |
If a parameter name is qualified by a driver |
| 2467 |
(see section <ref id="drivers" name="Driver Identification Codes">) |
| 2468 |
then that setting only applies to that driver; |
| 2469 |
if it isn't then it applies to all drivers. |
| 2470 |
For a description of the parameters accepted by a specific driver, |
| 2471 |
please see the documentation for that driver. |
| 2472 |
See the <ref id="build-braille-parameters" name="--with-braille-parameters"> |
| 2473 |
build option for the defaults established during the build procedure. |
| 2474 |
This directive can be overridden with the |
| 2475 |
<ref id="options-braille-parameters" name="-B"> command line option. |
| 2476 |
<tag><tt/contraction-table/ <em/file/<label id="configure-contraction-table"></tag> |
| 2477 |
Specify the contraction table |
| 2478 |
(see section <ref id="table-contraction" name="Contraction Tables"> for details). |
| 2479 |
If a relative path is supplied, then it's anchored at <tt>/etc/brltty</> |
| 2480 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 2481 |
and the <ref id="build-execute-root" name="--with-execute-root"> |
| 2482 |
build options for more details). |
| 2483 |
The <tt/.ctb/ extension is optional. |
| 2484 |
The contraction table is used when the 6-dot braille feature is activated |
| 2485 |
(see the <ref id="command-SIXDOTS" name="SIXDOTS"> command |
| 2486 |
and the <ref id="preference-text-style" name="Text Style"> preference). |
| 2487 |
The default is to display uncontracted 6-dot braille. |
| 2488 |
This directive can be overridden with the |
| 2489 |
<ref id="options-contraction-table" name="-c"> command line option. |
| 2490 |
It isn't available if the |
| 2491 |
<ref id="build-contracted-braille" name="--disable-contracted-braille"> build option was specified. |
| 2492 |
<tag><tt/keyboard-table/ <em/file/|<tt/auto/<label id="configure-keyboard-table"></tag> |
| 2493 |
Specify the keyboard table |
| 2494 |
(see section <ref id="table-key" name="Key Tables"> for details). |
| 2495 |
If a relative path is supplied, then it's anchored at <tt>/etc/brltty</> |
| 2496 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 2497 |
and the <ref id="build-execute-root" name="--with-execute-root"> |
| 2498 |
build options for more details). |
| 2499 |
The <tt/.ktb/ extension is optional. |
| 2500 |
The default is not to use a keyboard table. |
| 2501 |
This directive can be overridden with the |
| 2502 |
<ref id="options-keyboard-table" name="-k"> command line option. |
| 2503 |
<tag><tt/keyboard-properties/ <em/name/<tt/=/<em/value/<tt/,/...<label id="configure-keyboard-properties"></tag> |
| 2504 |
Specify the properties of the keyboard(s) to be monitored. |
| 2505 |
If the same property is specified more than once, |
| 2506 |
then its rightmost assignment is used. |
| 2507 |
See section <ref id="keyboard-properties" name="Keyboard Properties"> |
| 2508 |
for a list of the properties which may be specified. |
| 2509 |
The default is to monitor all keyboards. |
| 2510 |
This directive can be overridden with the |
| 2511 |
<ref id="options-keyboard-properties" name="-K"> command line option. |
| 2512 |
<tag><tt/midi-device/ <em/device/<label id="configure-midi-device"></tag> |
| 2513 |
Specify the device to use for the Musical Instrument Digital Interface |
| 2514 |
(see section <ref id="operand-midi-device" name="MIDI Device Specification">). |
| 2515 |
This directive can be overridden with the |
| 2516 |
<ref id="options-midi-device" name="-m"> command line option. |
| 2517 |
It isn't available if the |
| 2518 |
<ref id="build-midi-support" name="--disable-midi-support"> build option was specified. |
| 2519 |
<tag><tt/pcm-device/ <em/device/<label id="configure-pcm-device"></tag> |
| 2520 |
Specify the device to use for digital audio |
| 2521 |
(see section <ref id="operand-pcm-device" name="PCM Device Specification">). |
| 2522 |
This directive can be overridden with the |
| 2523 |
<ref id="options-pcm-device" name="-p"> command line option. |
| 2524 |
It isn't available if the |
| 2525 |
<ref id="build-pcm-support" name="--disable-pcm-support"> build option was specified. |
| 2526 |
<tag><tt/preferences-file/ <em/file/<label id="configure-preferences-file"></tag> |
| 2527 |
Specify the location of the file which is to be used |
| 2528 |
for the saving and loading of user preferences. |
| 2529 |
If a relative path is supplied, then it's anchored at <tt>/var/lib/brltty</>. |
| 2530 |
The default is to use <tt/brltty.prefs/. |
| 2531 |
This directive can be overridden with the |
| 2532 |
<ref id="options-preferences-file" name="-F"> command line option. |
| 2533 |
<tag><tt/release-device/ <em/boolean/<label id="configure-release-device"></tag> |
| 2534 |
Whether or not to release the device to which the braille display is connected |
| 2535 |
when the current screen or window can't be read. |
| 2536 |
<descrip> |
| 2537 |
<tag/on/Release the device. |
| 2538 |
<tag/off/Don't release the device. |
| 2539 |
</descrip> |
| 2540 |
The default setting is <tt/on/ on Windows platforms |
| 2541 |
and <tt/off/ on all other platforms. |
| 2542 |
This directive can be overridden with the |
| 2543 |
<ref id="options-release-device" name="-r"> command line option. |
| 2544 |
<tag><tt/screen-driver/ <em/driver/<label id="configure-screen-driver"></tag> |
| 2545 |
Specify the screen driver |
| 2546 |
(see section <ref id="screen" name="Supported Screen Drivers">). |
| 2547 |
See the <ref id="build-screen-driver" name="--with-screen-driver"> |
| 2548 |
build option for the default established during the build procedure. |
| 2549 |
This directive can be overridden with the |
| 2550 |
<ref id="options-screen-driver" name="-x"> command line option. |
| 2551 |
<tag><tt/screen-parameters/ [<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/...<label id="configure-screen-parameters"></tag> |
| 2552 |
Specify parameters for the screen drivers. |
| 2553 |
If the same parameter is specified more than once, |
| 2554 |
then its rightmost assignment is used. |
| 2555 |
If a parameter name is qualified by a driver |
| 2556 |
(see section <ref id="screen" name="Supported Screen Drivers">) |
| 2557 |
then that setting only applies to that driver; |
| 2558 |
if it isn't then it applies to all drivers. |
| 2559 |
For a description of the parameters accepted by a specific driver, |
| 2560 |
please see the documentation for that driver. |
| 2561 |
See the <ref id="build-screen-parameters" name="--with-screen-parameters"> |
| 2562 |
build option for the defaults established during the build procedure. |
| 2563 |
This directive can be overridden with the |
| 2564 |
<ref id="options-screen-parameters" name="-X"> command line option. |
| 2565 |
<tag><tt/speech-driver/ <em/driver/<tt/,/...|<tt/auto/<label id="configure-speech-driver"></tag> |
| 2566 |
Specify the speech synthesizer driver |
| 2567 |
(see section <ref id="operand-driver" name="Driver Specification">). |
| 2568 |
The default is to perform autodetection. |
| 2569 |
This directive can be overridden with the |
| 2570 |
<ref id="options-speech-driver" name="-s"> command line option. |
| 2571 |
It isn't available if the |
| 2572 |
<ref id="build-speech-support" name="--disable-speech-support"> build option was specified. |
| 2573 |
<tag><tt/speech-input/ <em/name/<label id="configure-speech-input"></tag> |
| 2574 |
Specify the name of the file system object |
| 2575 |
(FIFO, named pipe, named socket, etc) |
| 2576 |
which can be used by other applications |
| 2577 |
for text-to-speech conversion via BRLTTY's speech driver. |
| 2578 |
This directive can be overridden with the |
| 2579 |
<ref id="options-speech-input" name="-i"> command line option. |
| 2580 |
It isn't available if the |
| 2581 |
<ref id="build-speech-support" name="--disable-speech-support"> build option was specified. |
| 2582 |
<tag><tt/speech-parameters/ [<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/...<label id="configure-speech-parameters"></tag> |
| 2583 |
Specify parameters for the speech synthesizer drivers. |
| 2584 |
If the same parameter is specified more than once, |
| 2585 |
then its rightmost assignment is used. |
| 2586 |
If a parameter name is qualified by a driver |
| 2587 |
(see section <ref id="drivers" name="Driver Identification Codes">) |
| 2588 |
then that setting only applies to that driver; |
| 2589 |
if it isn't then it applies to all drivers. |
| 2590 |
For a description of the parameters accepted by a specific driver, |
| 2591 |
please see the documentation for that driver. |
| 2592 |
See the <ref id="build-speech-parameters" name="--with-speech-parameters"> |
| 2593 |
build option for the defaults established during the build procedure. |
| 2594 |
This directive can be overridden with the |
| 2595 |
<ref id="options-speech-parameters" name="-S"> command line option. |
| 2596 |
<tag><tt/text-table/ <em/file/|<tt/auto/<label id="configure-text-table"></tag> |
| 2597 |
Specify the text table |
| 2598 |
(see section <ref id="table-text" name="Text Tables"> for details). |
| 2599 |
If a relative path is supplied, then it's anchored at <tt>/etc/brltty</> |
| 2600 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 2601 |
and the <ref id="build-execute-root" name="--with-execute-root"> |
| 2602 |
build options for more details). |
| 2603 |
The <tt/.ttb/ extension is optional. |
| 2604 |
The default is to perform locale-based autoselection, |
| 2605 |
with fallback to the built-in table |
| 2606 |
(see the <ref id="build-text-table" name="--with-text-table"> build option). |
| 2607 |
This directive can be overridden with the |
| 2608 |
<ref id="options-text-table" name="-t"> command line option. |
| 2609 |
</descrip> |
| 2610 |
|
| 2611 |
<sect1>Command Line Options<label id="options"><p> |
| 2612 |
Many settings can be explicitly specified when invoking BRLTTY. |
| 2613 |
The <tt/brltty/ command accepts the following options: |
| 2614 |
<descrip> |
| 2615 |
<tag><tt/-a/<em/file/ <tt/--attributes-table=/<em/file/<label id="options-attributes-table"></tag> |
| 2616 |
Specify the attributes table |
| 2617 |
(see section <ref id="table-attributes" name="Attributes Tables"> for details). |
| 2618 |
If a relative path is supplied, then it's anchored at <tt>/etc/brltty</> |
| 2619 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 2620 |
and the <ref id="build-execute-root" name="--with-execute-root"> |
| 2621 |
build options for more details). |
| 2622 |
The <tt/.atb/ extension is optional. |
| 2623 |
See the <ref id="configure-attributes-table" name="attributes-table"> |
| 2624 |
configuration file directive for the default run-time setting. |
| 2625 |
This setting can be changed with the |
| 2626 |
<ref id="preference-attributes-table" name="Attributes Table"> preference. |
| 2627 |
<tag><tt/-b/<em/driver/<tt/,/...|<tt/auto/ <tt/--braille-driver=/<em/driver/<tt/,/...|<tt/auto/<label id="options-braille-driver"></tag> |
| 2628 |
Specify the braille display driver |
| 2629 |
(see section <ref id="operand-driver" name="Driver Specification">). |
| 2630 |
See the <ref id="configure-braille-driver" name="braille-driver"> |
| 2631 |
configuration file directive for the default run-time setting. |
| 2632 |
<tag><tt/-c/<em/file/ <tt/--contraction-table=/<em/file/<label id="options-contraction-table"></tag> |
| 2633 |
Specify the contraction table |
| 2634 |
(see section <ref id="table-contraction" name="Contraction Tables"> for details). |
| 2635 |
If a relative path is supplied, then it's anchored at <tt>/etc/brltty</> |
| 2636 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 2637 |
and the <ref id="build-execute-root" name="--with-execute-root"> |
| 2638 |
build options for more details). |
| 2639 |
The <tt/.ctb/ extension is optional. |
| 2640 |
The contraction table is used when the 6-dot braille feature is activated |
| 2641 |
(see the <ref id="command-SIXDOTS" name="SIXDOTS"> command |
| 2642 |
and the <ref id="preference-text-style" name="Text Style"> preference). |
| 2643 |
See the <ref id="configure-contraction-table" name="contraction-table"> |
| 2644 |
configuration file directive for the default run-time setting. |
| 2645 |
This setting can be changed with the |
| 2646 |
<ref id="preference-contraction-table" name="Contraction Table"> preference. |
| 2647 |
This option isn't available if the |
| 2648 |
<ref id="build-contracted-braille" name="--disable-contracted-braille"> build option was specified. |
| 2649 |
<tag><tt/-d/<em/device/<tt/,/... <tt/--braille-device=/<em/device/<tt/,/...<label id="options-braille-device"></tag> |
| 2650 |
Specify the device to which the braille display is connected |
| 2651 |
(see section <ref id="operand-braille-device" name="Braille Device Specification">). |
| 2652 |
See the <ref id="configure-braille-device" name="braille-device"> |
| 2653 |
configuration file directive for the default run-time setting. |
| 2654 |
<tag><tt/-e/ <tt/--standard-error/<label id="options-standard-error"></tag> |
| 2655 |
Write diagnostic messages to standard error. |
| 2656 |
The default is to record them via <tt/syslog/. |
| 2657 |
<tag><tt/-f/<em/file/ <tt/--configuration-file=/<em/file/<label id="options-configuration-file"></tag> |
| 2658 |
Specify the location of the <ref id="configure" name="configuration file"> |
| 2659 |
which is to be used for the establishing of default run-time settings. |
| 2660 |
<tag><tt/-h/ <tt/--help/<label id="options-help"></tag> |
| 2661 |
Display a summary of the command line options accepted by BRLTTY, |
| 2662 |
and then exit. |
| 2663 |
<tag><tt/-i/<em/name/ <tt/--speech-input=/<em/name/<label id="options-speech-input"></tag> |
| 2664 |
Specify the name of the file system object |
| 2665 |
(FIFO, named pipe, named socket, etc) |
| 2666 |
which can be used by other applications |
| 2667 |
for text-to-speech conversion via BRLTTY's speech driver. |
| 2668 |
If not specified, the file system object is not created. |
| 2669 |
See the <ref id="configure-speech-input" name="speech-input"> |
| 2670 |
configuration file directive for the default run-time setting. |
| 2671 |
This option isn't available if the |
| 2672 |
<ref id="build-speech-support" name="--disable-speech-support"> build option was specified. |
| 2673 |
<tag><tt/-k/<em/file/ <tt/--keyboard-table=/<em/file/<label id="options-keyboard-table"></tag> |
| 2674 |
Specify the keyboard table |
| 2675 |
(see section <ref id="table-key" name="Key Tables"> for details). |
| 2676 |
If a relative path is supplied, then it's anchored at <tt>/etc/brltty</> |
| 2677 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 2678 |
and the <ref id="build-execute-root" name="--with-execute-root"> |
| 2679 |
build options for more details). |
| 2680 |
The <tt/.ktb/ extension is optional. |
| 2681 |
See the <ref id="configure-keyboard-table" name="keyboard-table"> |
| 2682 |
configuration file directive for the default run-time setting. |
| 2683 |
This setting can be changed with the |
| 2684 |
<ref id="preference-keyboard-table" name="Keyboard Table"> preference. |
| 2685 |
<tag><tt/-l/<em/level/ <tt/--log-level=/<em/level/<label id="options-log-level"></tag> |
| 2686 |
Specify the severity threshold for diagnostic message generation. |
| 2687 |
The following levels are recognized. |
| 2688 |
<descrip> |
| 2689 |
<tag/0/emergency |
| 2690 |
<tag/1/alert |
| 2691 |
<tag/2/critical |
| 2692 |
<tag/3/error |
| 2693 |
<tag/4/warning |
| 2694 |
<tag/5/notice |
| 2695 |
<tag/6/information |
| 2696 |
<tag/7/debug |
| 2697 |
</descrip> |
| 2698 |
Either the number or the name may be supplied, |
| 2699 |
and the name may be abbreviated. |
| 2700 |
If not specified, |
| 2701 |
then <tt/information/ is assumed |
| 2702 |
(see the <ref id="options-quiet" name="-q"> option for more details). |
| 2703 |
<tag><tt/-m/<em/device/ <tt/--midi-device=/<em/device/<label id="options-midi-device"></tag> |
| 2704 |
Specify the device to use for the Musical Instrument Digital Interface |
| 2705 |
(see section <ref id="operand-midi-device" name="MIDI Device Specification">). |
| 2706 |
See the <ref id="configure-midi-device" name="midi-device"> |
| 2707 |
configuration file directive for the default run-time setting. |
| 2708 |
This option isn't available if the |
| 2709 |
<ref id="build-midi-support" name="--disable-midi-support"> build option was specified. |
| 2710 |
<tag><tt/-n/ <tt/--no-daemon/<label id="options-no-daemon"></tag> |
| 2711 |
Specify that BRLTTY is to remain in the foreground. |
| 2712 |
If not specified, then BRLTTY becomes a background process (daemon) |
| 2713 |
after initializing itself but before starting any of the selected drivers. |
| 2714 |
<tag><tt/-p/<em/device/ <tt/--pcm-device=/<em/device/<label id="options-pcm-device"></tag> |
| 2715 |
Specify the device to use for digital audio |
| 2716 |
(see section <ref id="operand-pcm-device" name="PCM Device Specification">). |
| 2717 |
See the <ref id="configure-pcm-device" name="pcm-device"> |
| 2718 |
configuration file directive for the default run-time setting. |
| 2719 |
This option isn't available if the |
| 2720 |
<ref id="build-pcm-support" name="--disable-pcm-support"> build option was specified. |
| 2721 |
<tag><tt/-q/ <tt/--quiet/<label id="options-quiet"></tag> |
| 2722 |
Log less information. |
| 2723 |
This option changes the default log level |
| 2724 |
(see the <ref id="options-log-level" name="-l"> option) |
| 2725 |
to <tt/notice/ if |
| 2726 |
either the <ref id="options-verify" name="-v"> |
| 2727 |
or the <ref id="options-version" name="-V"> |
| 2728 |
option is specified, and to <tt/warning/ otherwise. |
| 2729 |
<tag><tt/-r/ <tt/--release-device/<label id="options-release-device"></tag> |
| 2730 |
Release the device to which the braille display is connected |
| 2731 |
when the current screen or window can't be read. |
| 2732 |
See the <ref id="configure-release-device" name="release-device"> |
| 2733 |
configuration file directive for the default run-time setting. |
| 2734 |
<tag><tt/-s/<em/driver/<tt/,/...|<tt/auto/ <tt/--speech-driver=/<em/driver/<tt/,/...|<tt/auto/<label id="options-speech-driver"></tag> |
| 2735 |
Specify the speech synthesizer driver |
| 2736 |
(see section <ref id="operand-driver" name="Driver Specification">). |
| 2737 |
See the <ref id="configure-speech-driver" name="speech-driver"> |
| 2738 |
configuration file directive for the default run-time setting. |
| 2739 |
This option isn't available if the |
| 2740 |
<ref id="build-speech-support" name="--disable-speech-support"> build option was specified. |
| 2741 |
<tag><tt/-t/<em/file/ <tt/--text-table=/<em/file/<label id="options-text-table"></tag> |
| 2742 |
Specify the text table |
| 2743 |
(see section <ref id="table-text" name="Text Tables"> for details). |
| 2744 |
If a relative path is supplied, then it's anchored at <tt>/etc/brltty</> |
| 2745 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 2746 |
and the <ref id="build-execute-root" name="--with-execute-root"> |
| 2747 |
build options for more details). |
| 2748 |
The <tt/.ttb/ extension is optional. |
| 2749 |
See the <ref id="configure-text-table" name="text-table"> |
| 2750 |
configuration file directive for the default run-time setting. |
| 2751 |
This setting can be changed with the |
| 2752 |
<ref id="preference-text-table" name="Text Table"> preference. |
| 2753 |
<tag><tt/-v/ <tt/--verify/<label id="options-verify"></tag> |
| 2754 |
Display the current versions |
| 2755 |
of BRLTTY itself, |
| 2756 |
of the server side of its application programming interface, |
| 2757 |
and of the selected braille and speech drivers, |
| 2758 |
and then exit. |
| 2759 |
If the <ref id="options-quiet" name="-q"> option isn't specified, |
| 2760 |
then also display the values of the options after all sources have been considered. |
| 2761 |
If more than one braille driver |
| 2762 |
(see the <ref id="options-braille-driver" name="-b"> command line option) |
| 2763 |
and/or more than one braille device |
| 2764 |
(see the <ref id="options-braille-device" name="-d"> command line option) |
| 2765 |
has been specified then braille display autodetection is performed. |
| 2766 |
If more than one speech driver |
| 2767 |
(see the <ref id="options-speech-driver" name="-s"> command line option) |
| 2768 |
has been specified then speech synthesizer autodetection is performed. |
| 2769 |
<tag><tt/-x/<em/driver/ <tt/--screen-driver=/<em/driver/<label id="options-screen-driver"></tag> |
| 2770 |
Specify the screen driver |
| 2771 |
(see section <ref id="screen" name="Supported Screen Drivers">). |
| 2772 |
See the <ref id="configure-screen-driver" name="screen-driver"> |
| 2773 |
configuration file directive for the default run-time setting. |
| 2774 |
<tag><tt/-A/<em/name/<tt/=/<em/value/<tt/,/... <tt/--api-parameters=/<em/name/<tt/=/<em/value/<tt/,/...<label id="options-api-parameters"></tag> |
| 2775 |
Specify parameters for the Application Programming Interface. |
| 2776 |
If the same parameter is specified more than once, |
| 2777 |
then its rightmost assignment is used. |
| 2778 |
For a description of the parameters accepted by the interface, |
| 2779 |
please see the <bf/BrlAPI/ reference manual. |
| 2780 |
See the <ref id="configure-api-parameters" name="api-parameters"> |
| 2781 |
configuration file directive for the default run-time settings. |
| 2782 |
<tag><tt/-B/[<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/... <tt/--braille-parameters=/[<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/...<label id="options-braille-parameters"></tag> |
| 2783 |
Specify parameters for the braille display drivers. |
| 2784 |
If the same parameter is specified more than once, |
| 2785 |
then its rightmost assignment is used. |
| 2786 |
If a parameter name is qualified by a driver |
| 2787 |
(see section <ref id="drivers" name="Driver Identification Codes">) |
| 2788 |
then that setting only applies to that driver; |
| 2789 |
if it isn't then it applies to all drivers. |
| 2790 |
For a description of the parameters accepted by a specific driver, |
| 2791 |
please see the documentation for that driver. |
| 2792 |
See the <ref id="configure-braille-parameters" name="braille-parameters"> |
| 2793 |
configuration file directive for the default run-time settings. |
| 2794 |
<tag><tt/-E/ <tt/--environment-variables/<label id="options-environment-variables"></tag> |
| 2795 |
Recognize environment variables when determining |
| 2796 |
the default settings for unspecified command line options |
| 2797 |
(see section <ref id="options" name="Command Line Options">). |
| 2798 |
If this option is specified, |
| 2799 |
and if the environment variable associated with an unspecified option is defined, |
| 2800 |
then the value of that environment variable is used. |
| 2801 |
The names of these environment variables are based on |
| 2802 |
the long names of the options they correspond to: |
| 2803 |
<itemize> |
| 2804 |
<item>All letters are in upper case. |
| 2805 |
<item>Underscores (<tt/_/) are used instead of minus signs (<tt/-/). |
| 2806 |
<item>The prefix <tt/BRLTTY_/ is added. |
| 2807 |
</itemize> |
| 2808 |
This option is particularly useful on the Linux operating system |
| 2809 |
as it allows default settings to be passed to BRLTTY via boot parameters. |
| 2810 |
The following environment variables are supported: |
| 2811 |
<descrip> |
| 2812 |
<tag><tt/BRLTTY_API_PARAMETERS/</tag> |
| 2813 |
Parameters for the Application Programming Interface |
| 2814 |
(see the <ref id="options-api-parameters" name="-A"> command line option). |
| 2815 |
<tag><tt/BRLTTY_ATTRIBUTES_TABLE/</tag> |
| 2816 |
The attributes table |
| 2817 |
(see the <ref id="options-attributes-table" name="-a"> command line option). |
| 2818 |
<tag><tt/BRLTTY_BRAILLE_DEVICE/</tag> |
| 2819 |
The braille display device |
| 2820 |
(see the <ref id="options-braille-device" name="-d"> command line option). |
| 2821 |
<tag><tt/BRLTTY_BRAILLE_DRIVER/</tag> |
| 2822 |
The braille display driver |
| 2823 |
(see the <ref id="options-braille-driver" name="-b"> command line option). |
| 2824 |
<tag><tt/BRLTTY_BRAILLE_PARAMETERS/</tag> |
| 2825 |
Parameters for the braille display driver |
| 2826 |
(see the <ref id="options-braille-parameters" name="-B"> command line option). |
| 2827 |
<tag><tt/BRLTTY_CONFIGURATION_FILE/</tag> |
| 2828 |
The configuration file |
| 2829 |
(see the <ref id="options-configuration-file" name="-f"> command line option). |
| 2830 |
<tag><tt/BRLTTY_CONTRACTION_TABLE/</tag> |
| 2831 |
The contraction table |
| 2832 |
(see the <ref id="options-contraction-table" name="-c"> command line option). |
| 2833 |
<tag><tt/BRLTTY_KEYBOARD_TABLE/</tag> |
| 2834 |
The keyboard table |
| 2835 |
(see the <ref id="options-keyboard-table" name="-k"> command line option). |
| 2836 |
<tag><tt/BRLTTY_KEYBOARD_PROPERTIES/</tag> |
| 2837 |
The keyboard properties |
| 2838 |
(see the <ref id="options-keyboard-properties" name="-K"> command line option). |
| 2839 |
<tag><tt/BRLTTY_MIDI_DEVICE/</tag> |
| 2840 |
The Musical Instrument Digital Interface device |
| 2841 |
(see the <ref id="options-midi-device" name="-m"> command line option). |
| 2842 |
<tag><tt/BRLTTY_PCM_DEVICE/</tag> |
| 2843 |
The digital audio device |
| 2844 |
(see the <ref id="options-pcm-device" name="-p"> command line option). |
| 2845 |
<tag><tt/BRLTTY_PREFERENCES_FILE/</tag> |
| 2846 |
The location of the file which is to be used |
| 2847 |
for the saving and loading of user preferences |
| 2848 |
(see the <ref id="options-preferences-file" name="-F"> command line option). |
| 2849 |
<tag><tt/BRLTTY_RELEASE_DEVICE/</tag> |
| 2850 |
Whether or not to release the device to which the braille display is connected |
| 2851 |
when the current screen or window can't be read |
| 2852 |
(see the <ref id="options-release-device" name="-r"> command line option). |
| 2853 |
<tag><tt/BRLTTY_SCREEN_PARAMETERS/</tag> |
| 2854 |
Parameters for the screen driver |
| 2855 |
(see the <ref id="options-screen-parameters" name="-X"> command line option). |
| 2856 |
<tag><tt/BRLTTY_SPEECH_DRIVER/</tag> |
| 2857 |
The speech synthesizer driver |
| 2858 |
(see the <ref id="options-speech-driver" name="-s"> command line option). |
| 2859 |
<tag><tt/BRLTTY_SPEECH_INPUT/</tag> |
| 2860 |
The name of the file system object |
| 2861 |
which can be used by other applications |
| 2862 |
for text-to-speech conversion via BRLTTY's speech driver |
| 2863 |
(see the <ref id="options-speech-input" name="-i"> command line option). |
| 2864 |
<tag><tt/BRLTTY_SPEECH_PARAMETERS/</tag> |
| 2865 |
Parameters for the speech synthesizer driver |
| 2866 |
(see the <ref id="options-speech-parameters" name="-S"> command line option). |
| 2867 |
<tag><tt/BRLTTY_TEXT_TABLE/</tag> |
| 2868 |
The text table |
| 2869 |
(see the <ref id="options-text-table" name="-t"> command line option). |
| 2870 |
</descrip> |
| 2871 |
<tag><tt/-F/<em/file/ <tt/--preferences-file=/<em/file/<label id="options-preferences-file"></tag> |
| 2872 |
Specify the location of the file which is to be used |
| 2873 |
for the saving and loading of user preferences. |
| 2874 |
If a relative path is supplied, then it's anchored at <tt>/var/lib/brltty</>. |
| 2875 |
See the <ref id="configure-preferences-file" name="preferences-file"> |
| 2876 |
configuration file directive for the default run-time setting. |
| 2877 |
<tag><tt/-I/ <tt/--install-service/<label id="options-install-service"></tag> |
| 2878 |
Install BRLTTY as the BrlAPI service. |
| 2879 |
This means that: |
| 2880 |
<itemize> |
| 2881 |
<item>BRLTTY will be automatically started when the system is booted. |
| 2882 |
<item>Applications can know that a BrlAPI server is running. |
| 2883 |
</itemize> |
| 2884 |
This option is only supported on the Windows platform. |
| 2885 |
<tag><tt/-K/<em/name/<tt/=/<em/value/<tt/,/... <tt/--keyboard-properties=/<em/name/<tt/=/<em/value/<tt/,/...<label id="options-keyboard-properties"></tag> |
| 2886 |
Specify the properties of the keyboard(s) to be monitored. |
| 2887 |
If the same property is specified more than once, |
| 2888 |
then its rightmost assignment is used. |
| 2889 |
See section <ref id="keyboard-properties" name="Keyboard Properties"> |
| 2890 |
for a list of the properties which may be specified. |
| 2891 |
See the <ref id="configure-keyboard-properties" name="keyboard-properties"> |
| 2892 |
configuration file directive for the default run-time settings. |
| 2893 |
<tag><tt/-M/<em/csecs/ <tt/--message-timeout=/<em/csecs/<label id="options-message-timeout"></tag> |
| 2894 |
Specify the amount of time (in hundredths of a second) |
| 2895 |
that BRLTTY keeps its own internally generated messages on the braille display. |
| 2896 |
If not specified, then <tt/400/ (4 seconds) is assumed. |
| 2897 |
<tag><tt/-N/ <tt/--no-api/<label id="options-no-api"></tag> |
| 2898 |
Disable the application programming interface. |
| 2899 |
<tag><tt/-P/<em/file/ <tt/--pid-file=/<em/file/<label id="options-pid-file"></tag> |
| 2900 |
Specify the file wherein BRLTTY is to write its process identifier (pid). |
| 2901 |
If not specified, BRLTTY doesn't write its process identifier anywhere. |
| 2902 |
<tag><tt/-R/ <tt/--remove-service/<label id="options-remove-service"></tag> |
| 2903 |
Remove the BrlAPI service. |
| 2904 |
This means that: |
| 2905 |
<itemize> |
| 2906 |
<item>BRLTTY will not be automatically started when the system is booted. |
| 2907 |
<item>Applications can know that no BrlAPI server is running. |
| 2908 |
</itemize> |
| 2909 |
This option is only supported on the Windows platform. |
| 2910 |
<tag><tt/-S/[<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/... <tt/--speech-parameters=/[<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/...<label id="options-speech-parameters"></tag> |
| 2911 |
Specify parameters for the speech synthesizer drivers. |
| 2912 |
If the same parameter is specified more than once, |
| 2913 |
then its rightmost assignment is used. |
| 2914 |
If a parameter name is qualified by a driver |
| 2915 |
(see section <ref id="drivers" name="Driver Identification Codes">) |
| 2916 |
then that setting only applies to that driver; |
| 2917 |
if it isn't then it applies to all drivers. |
| 2918 |
For a description of the parameters accepted by a specific driver, |
| 2919 |
please see the documentation for that driver. |
| 2920 |
See the <ref id="configure-speech-parameters" name="speech-parameters"> |
| 2921 |
configuration file directive for the default run-time settings. |
| 2922 |
<tag><tt/-V/ <tt/--version/<label id="options-version"></tag> |
| 2923 |
Display the current versions |
| 2924 |
of BRLTTY itself, |
| 2925 |
of the server side of its application programming interface, |
| 2926 |
and of those drivers which have been linked into its binary, |
| 2927 |
and then exit. |
| 2928 |
If the <ref id="options-quiet" name="-q"> option isn't specified, |
| 2929 |
then also display copyright information. |
| 2930 |
<tag><tt/-X/[<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/... <tt/--screen-parameters=/[<em/driver/<tt/:/]<em/name/<tt/=/<em/value/<tt/,/...<label id="options-screen-parameters"></tag> |
| 2931 |
Specify parameters for the screen drivers. |
| 2932 |
If the same parameter is specified more than once, |
| 2933 |
then its rightmost assignment is used. |
| 2934 |
If a parameter name is qualified by a driver |
| 2935 |
(see section <ref id="screen" name="Supported Screen Drivers">) |
| 2936 |
then that setting only applies to that driver; |
| 2937 |
if it isn't then it applies to all drivers. |
| 2938 |
For a description of the parameters accepted by a specific driver, |
| 2939 |
please see the documentation for that driver. |
| 2940 |
See the <ref id="configure-screen-parameters" name="screen-parameters"> |
| 2941 |
configuration file directive for the default run-time settings. |
| 2942 |
</descrip> |
| 2943 |
|
| 2944 |
<sect>Feature Descriptions<p> |
| 2945 |
|
| 2946 |
<sect1>Cursor Routing<label id="routing"><p> |
| 2947 |
When moving the braille window around the screen |
| 2948 |
while examining the text, say, in an editor, |
| 2949 |
you often need to bring the cursor |
| 2950 |
to a specific character within the braille window. |
| 2951 |
You'll probably find this to be a rather difficult task for a number of reasons. |
| 2952 |
One is that you may not know where the cursor is, |
| 2953 |
and that you may lose your place while trying to find it. |
| 2954 |
Another is that the cursor may move unpredictably as the arrow keys are pressed |
| 2955 |
(some editors, for example, don't allow the cursor to be |
| 2956 |
more to the right than the end of the line it's on). |
| 2957 |
Cursor routing provides just such a capability |
| 2958 |
by knowing where the cursor is, |
| 2959 |
by simulating the same arrow-key presses which you'd have to enter manually, |
| 2960 |
and by monitoring the progress of the cursor as it moves. |
| 2961 |
|
| 2962 |
Some braille displays have a button, known as a routing key, above each cell. |
| 2963 |
These keys use the <ref id="command-ROUTE" name="ROUTE"> command |
| 2964 |
to route the cursor right to the desired location. |
| 2965 |
|
| 2966 |
Cursor routing, while very convenient and effective, |
| 2967 |
is, strictly speaking, not completely reliable. |
| 2968 |
One reason for this is that its current implementation assumes |
| 2969 |
VT100 cursor key escape sequences. |
| 2970 |
Another is that some applications do non-standard things |
| 2971 |
in response to detecting that a cursor key has been pressed. |
| 2972 |
A minor problem found within some editors (like <tt/vi/), |
| 2973 |
as already mentioned above, |
| 2974 |
is that they throw in some unpredictable horizontal motion |
| 2975 |
when vertical motion is requested |
| 2976 |
because they don't allow the cursor to be to the right of the end of a line. |
| 2977 |
A major problem found within some web browsers (like <tt/lynx/) |
| 2978 |
is that the up- and down-arrow keys are used to move among the links |
| 2979 |
(which may skip lines and/or move the cursor horizontally, |
| 2980 |
but which rarely just moves the cursor one line in the desired direction), |
| 2981 |
and that the left- and right-arrow keys are used to select links |
| 2982 |
(which has absolutely nothing to do with any form of cursor motion whatsoever, |
| 2983 |
and which even totally changes the screen content). |
| 2984 |
|
| 2985 |
Cursor routing may not work very well on a heavily loaded system, |
| 2986 |
and definitely doesn't work very well when working on a remote system over a slow link. |
| 2987 |
This is so because of all of the checks which must be made along the way |
| 2988 |
in order to deal with unpredictable cursor motion |
| 2989 |
and in order to ensure that any mistake has at least a fighting chance to be undone. |
| 2990 |
Even though BRLTTY tries to be fairly clever, |
| 2991 |
it must still essentially wait to see what happens after each simulated arrow-key press. |
| 2992 |
|
| 2993 |
Once a cursor routing request has been made, |
| 2994 |
BRLTTY keeps trying to route the cursor to the desired location until |
| 2995 |
a timeout expires before the cursor reaches that location, |
| 2996 |
the cursor seems to be moving in the wrong direction, |
| 2997 |
or you switch to a different virtual terminal. |
| 2998 |
An attempt is first made to use vertical motion |
| 2999 |
to bring the cursor to the right line, |
| 3000 |
and, only if that succeeds, an attempt is then made |
| 3001 |
to use horizontal motion to bring the cursor to the right column. |
| 3002 |
If another request is made while one is still in progress, |
| 3003 |
then the first one is aborted and the second one is initiated. |
| 3004 |
|
| 3005 |
A safer but less powerful cursor routing command, |
| 3006 |
<ref id="command-CSRJMP_VERT" name="CSRJMP_VERT">, |
| 3007 |
uses just vertical motion to bring the cursor |
| 3008 |
to anywhere on the top line of the braille window. |
| 3009 |
It's especially useful in conjunction with applications (like <tt/lynx/) |
| 3010 |
wherein horizontal cursor motion must never be attempted. |
| 3011 |
|
| 3012 |
<sect1>Cut and Paste<label id="cut"><p> |
| 3013 |
This feature enables you to grab some text which is already on the screen |
| 3014 |
and re-enter it at the current cursor position. |
| 3015 |
Using it saves time and avoids errors |
| 3016 |
when a long and/or complicated piece of text needs to be copied, |
| 3017 |
and even when the same short and simple piece of text needs to be copied many times. |
| 3018 |
It's particularly useful for things like |
| 3019 |
long file names, |
| 3020 |
complicated command lines, |
| 3021 |
E-mail addresses, |
| 3022 |
and URLs. Cutting and pasting text involves three simple steps: |
| 3023 |
<enum> |
| 3024 |
<item> |
| 3025 |
Mark either the top-left corner of the rectangular area |
| 3026 |
or the beginning of the linear area |
| 3027 |
on the screen which is to be grabbed (cut). |
| 3028 |
If your display has routing keys, |
| 3029 |
then move the braille window so that |
| 3030 |
the first character to be cut appears anywhere within it, and then: |
| 3031 |
<itemize> |
| 3032 |
<item> |
| 3033 |
invoke the <ref id="command-CUTBEGIN" name="CUTBEGIN"> command |
| 3034 |
to start a new cut buffer |
| 3035 |
<item> |
| 3036 |
invoke the <ref id="command-CUTAPPEND" name="CUTAPPEND"> command |
| 3037 |
to append to the existing cut buffer |
| 3038 |
</itemize> |
| 3039 |
by pressing the key(s) associated with it |
| 3040 |
and then pressing the routing key associated with the character. |
| 3041 |
<item> |
| 3042 |
Mark either the bottom-right corner of the rectangular area |
| 3043 |
or the end of the linear area |
| 3044 |
on the screen which is to be grabbed (cut). |
| 3045 |
If your display has routing keys, |
| 3046 |
then move the braille window so that |
| 3047 |
the last character to be cut appears anywhere within it, and then |
| 3048 |
<itemize> |
| 3049 |
<item> |
| 3050 |
invoke the <ref id="command-CUTRECT" name="CUTRECT"> command |
| 3051 |
to cut a rectangular area |
| 3052 |
<item> |
| 3053 |
invoke the <ref id="command-CUTLINE" name="CUTLINE"> command |
| 3054 |
to cut a linear area |
| 3055 |
</itemize> |
| 3056 |
by pressing the key(s) associated with it |
| 3057 |
and then pressing the routing key associated with the character. |
| 3058 |
Marking the end of the cut area |
| 3059 |
appends the selected screen content to the cut buffer. |
| 3060 |
Excess white-space is removed from the end of each line in the cut buffer |
| 3061 |
so that unwanted trailing spaces won't be pasted back in. |
| 3062 |
Control characters are replaced with blanks. |
| 3063 |
<item> |
| 3064 |
Insert (paste) the text where it's needed. |
| 3065 |
Place the cursor over the character where the text is to be pasted, |
| 3066 |
and invoke the <ref id="command-PASTE" name="PASTE"> command. |
| 3067 |
You can paste the same text any number of times without recutting it. |
| 3068 |
This description assumes that you're already in some sort of input mode. |
| 3069 |
If you paste when you're in some other kind of mode |
| 3070 |
(like <tt/vi/'s command mode), |
| 3071 |
then you'd better be aware of what the characters in the cut buffer will do. |
| 3072 |
</enum> |
| 3073 |
|
| 3074 |
The cut buffer is also used by |
| 3075 |
the <ref id="command-PRSEARCH-NXSEARCH" name="PRSEARCH/NXSEARCH"> commands. |
| 3076 |
|
| 3077 |
<sect1>Pointer (Mouse) Support via GPM<label id="gpm"><p> |
| 3078 |
If BRLTTY is configured with the <ref id="build-gpm" name="--enable-gpm"> build option |
| 3079 |
on a system where the <tt/gpm/ application has been installed, |
| 3080 |
then it'll interact with the pointer (mouse). |
| 3081 |
|
| 3082 |
Moving the pointer drags the braille window |
| 3083 |
(see the <ref id="preference-window-follows-pointer" name="Window Follows Pointer"> preference). |
| 3084 |
Whenever the pointer is moved beyond the edge of the braille window, |
| 3085 |
the braille window is dragged along (one character at a time). |
| 3086 |
This gives the braille user another two-dimensional way |
| 3087 |
to inspect the screen content |
| 3088 |
or to quickly move the braille window to a desired location. |
| 3089 |
It also gives a sighted observer an easy way to move the braille window |
| 3090 |
to something he'd like the braille user to read. |
| 3091 |
|
| 3092 |
<tt/gpm/ uses reverse video to show where the pointer is. |
| 3093 |
Underlining of highlighted characters |
| 3094 |
(see the <ref id="command-ATTRVIS" name="ATTRVIS"> command for details) |
| 3095 |
should be turned on, therefore, when the braille user wishes to use the pointer. |
| 3096 |
|
| 3097 |
This feature also gives the braille user access to <tt/gpm/'s cut-and-paste capability. |
| 3098 |
Although you should read <tt/gpm/'s own documentation, |
| 3099 |
here are some notes on how it works. |
| 3100 |
<itemize> |
| 3101 |
<item> |
| 3102 |
Copy the current character to the cut buffer |
| 3103 |
by single-clicking the left button. |
| 3104 |
<item> |
| 3105 |
Copy the current word (space-delimited) to the cut buffer |
| 3106 |
by double-clicking the left button. |
| 3107 |
<item> |
| 3108 |
Copy the current line to the cut buffer |
| 3109 |
by triple-clicking the left button. |
| 3110 |
<item> |
| 3111 |
Copy a linear region to the cut buffer as follows: |
| 3112 |
<enum> |
| 3113 |
<item> |
| 3114 |
Place the pointer on the first character of the region. |
| 3115 |
<item> |
| 3116 |
Press (and hold) the left button. |
| 3117 |
<item> |
| 3118 |
Move the pointer to the last character of the region |
| 3119 |
(all currently selected characters are highlighted). |
| 3120 |
<item> |
| 3121 |
Release the left button. |
| 3122 |
</enum> |
| 3123 |
<item> |
| 3124 |
Paste (input) the current contents of the cut buffer |
| 3125 |
by clicking the middle button of a three-button mouse |
| 3126 |
or by clicking the right button of a two-button mouse. |
| 3127 |
<item> |
| 3128 |
Append to the cut buffer |
| 3129 |
by using the right button of a three-button mouse. |
| 3130 |
</itemize> |
| 3131 |
|
| 3132 |
<sect1>Alert Tunes<label id="tunes"><p> |
| 3133 |
BRLTTY alerts you to the occurrence of significant events |
| 3134 |
by playing short predefined tunes. |
| 3135 |
This feature can be activated and deactivated with |
| 3136 |
either the <ref id="command-TUNES" name="TUNES"> command |
| 3137 |
or the <ref id="preference-alert-tunes" name="Alert Tunes"> preference. |
| 3138 |
The tunes are played via the internal beeper by default, |
| 3139 |
but other alternatives can be selected |
| 3140 |
with the <ref id="preference-tune-device" name="Tune Device"> preference. |
| 3141 |
|
| 3142 |
Each significant event is associated, from highest to lowest priority, |
| 3143 |
with one or more of the following: |
| 3144 |
<descrip> |
| 3145 |
<tag/a tune/ |
| 3146 |
If a tune has been associated with the event, |
| 3147 |
if the <ref id="preference-alert-tunes" name="Alert Tunes"> preference |
| 3148 |
(see also the <ref id="command-TUNES" name="TUNES"> command) |
| 3149 |
is active, |
| 3150 |
and if the selected tune device |
| 3151 |
(see the <ref id="preference-tune-device" name="Tune Device"> preference) |
| 3152 |
can be opened, |
| 3153 |
then the tune is played. |
| 3154 |
<tag/a dot pattern/ |
| 3155 |
If a dot pattern has been associated with the event, |
| 3156 |
and if the <ref id="preference-alert-dots" name="Alert Dots"> preference is active, |
| 3157 |
then the dot pattern is briefly displayed on every braille cell. |
| 3158 |
Some braille displays don't respond quickly enough |
| 3159 |
for this mechanism to work effectively. |
| 3160 |
<tag/a message/ |
| 3161 |
If a message has been associated with the event, |
| 3162 |
and if the <ref id="preference-alert-messages" name="Alert Messages"> preference is active, |
| 3163 |
then it is displayed for a few seconds |
| 3164 |
(see the <ref id="options-message-timeout" name="-M"> command line option). |
| 3165 |
</descrip> |
| 3166 |
|
| 3167 |
These events include: |
| 3168 |
<itemize> |
| 3169 |
<item> |
| 3170 |
When the braille display driver starts or stops. |
| 3171 |
<item> |
| 3172 |
When a lengthy command completes. |
| 3173 |
<item> |
| 3174 |
When a command cannot be executed. |
| 3175 |
<item> |
| 3176 |
When a mark is set. |
| 3177 |
<item> |
| 3178 |
When the start or end of the cut block is set. |
| 3179 |
<item> |
| 3180 |
When a feature is activated or deactivated. |
| 3181 |
<item> |
| 3182 |
When cursor tracking is turned on or off. |
| 3183 |
<item> |
| 3184 |
When the screen image is frozen or unfrozen. |
| 3185 |
<item> |
| 3186 |
When the braille window wraps |
| 3187 |
either down to the beginning of the next line |
| 3188 |
or up to the end of the previous line. |
| 3189 |
<item> |
| 3190 |
When identical lines are skipped. |
| 3191 |
<item> |
| 3192 |
When a requested motion cannot be performed. |
| 3193 |
<item> |
| 3194 |
When cursor routing starts, finishes, or fails. |
| 3195 |
</itemize> |
| 3196 |
|
| 3197 |
<sect1>Preferences Settings<label id="preferences"><p> |
| 3198 |
When BRLTTY starts, it loads a file which contains your preferences settings. |
| 3199 |
The file doesn't need to exist, |
| 3200 |
and is created the first time the settings are saved |
| 3201 |
with the <ref id="command-PREFSAVE" name="PREFSAVE"> command. |
| 3202 |
The most recently saved settings can be restored at any time |
| 3203 |
with the <ref id="command-PREFLOAD" name="PREFLOAD"> command. |
| 3204 |
|
| 3205 |
The name for this file is <tt>/etc/brltty-</tt><em/driver/<tt/.prefs/. |
| 3206 |
where <em/driver/ is the two-letter <ref id="drivers" name="driver identification code">. |
| 3207 |
|
| 3208 |
<sect2>The Preferences Menu<label id="preferences-menu"><p> |
| 3209 |
The preferences settings are saved as binary data |
| 3210 |
which, therefore, can't be edited by hand. |
| 3211 |
BRLTTY, however, has a simple menu from which you can easily change them. |
| 3212 |
|
| 3213 |
The menu is activated by the <ref id="command-PREFMENU" name="PREFMENU"> command. |
| 3214 |
The braille display briefly |
| 3215 |
(see the <ref id="options-message-timeout" name="-M"> command line option) |
| 3216 |
shows the menu title, |
| 3217 |
and then presents the current item and its current setting. |
| 3218 |
|
| 3219 |
<Sect3>Navigating the Menu<p> |
| 3220 |
See <ref id="menu-navigation" name="Menu Navigation Commands"> for the full list of |
| 3221 |
commands which enable you to select items and change settings within the menu. |
| 3222 |
For backward compatibility with old drivers, the window motion commands, |
| 3223 |
which have modified meanings in this context, can also be used. |
| 3224 |
<descrip> |
| 3225 |
<tag><tt/TOP//<tt/BOT/, <tt/TOP_LEFT//<tt/BOT_LEFT/, <tt/PAGE_UP//<tt/PAGE_DOWN/</tag> |
| 3226 |
Go to the first/last item in the menu |
| 3227 |
(same as <ref id="command-MENU_FIRST_ITEM-MENU_LAST_ITEM" name="MENU_FIRST_ITEM/MENU_LAST_ITEM">). |
| 3228 |
<tag><tt/LNUP//<tt/LNDN/, <tt/PRDIFLN//<tt/NXDIFLN/, <tt/CURSOR_UP//<tt/CURSOR_DOWN/</tag> |
| 3229 |
Go to the previous/next item in the menu |
| 3230 |
(same as <ref id="command-MENU_PREV_ITEM-MENU_NEXT_ITEM" name="MENU_PREV_ITEM/MENU_NEXT_ITEM">). |
| 3231 |
<tag><tt/WINUP//<tt/WINDN/, <tt/CHRLT//<tt/CHRRT/, <tt/CURSOR_LEFT//<tt/CURSOR_RIGHT/, <tt/BACK//<tt/HOME/</tag> |
| 3232 |
Decrement/increment the current menu item's setting |
| 3233 |
(same as <ref id="command-MENU_PREV_SETTING-MENU_NEXT_SETTING" name="MENU_PREV_SETTING/MENU_NEXT_SETTING">). |
| 3234 |
</descrip> |
| 3235 |
|
| 3236 |
Notes: |
| 3237 |
<itemize> |
| 3238 |
<item> |
| 3239 |
The routing keys can also be used to select a setting for the current item. |
| 3240 |
If the item has numeric settings, |
| 3241 |
then the entire row of routing keys acts as a scroll bar |
| 3242 |
which covers the full range of valid values. |
| 3243 |
If the item has named settings, |
| 3244 |
then the routing keys correspond ordinally with the settings. |
| 3245 |
<item> |
| 3246 |
Use the <tt/PREFLOAD/ command to undo all of the changes |
| 3247 |
which were made since entering the menu. |
| 3248 |
<item> |
| 3249 |
Use the <tt/PREFMENU/ command (again) to leave the new settings in effect, |
| 3250 |
exit the menu, and resume normal operation. |
| 3251 |
If the <sq/Save Settings on Exit/ item is set, then, in addition, |
| 3252 |
the new settings are written to the preferences settings file. |
| 3253 |
Any command not recognized by the menu system also does these same things. |
| 3254 |
</itemize> |
| 3255 |
|
| 3256 |
<sect3>The Menu Items<p> |
| 3257 |
<descrip> |
| 3258 |
<tag>Save on Exit<label id="preference-save-on-exit"></tag> |
| 3259 |
When exiting the preferences menu: |
| 3260 |
<descrip> |
| 3261 |
<tag/No/ |
| 3262 |
Don't automatically save the preferences settings. |
| 3263 |
<tag/Yes/ |
| 3264 |
Automatically save the preferences settings. |
| 3265 |
</descrip> |
| 3266 |
The initial setting is <tt/No/. |
| 3267 |
<tag>Text Style<label id="preference-text-style"></tag> |
| 3268 |
When displaying screen content |
| 3269 |
(see the <ref id="command-DISPMD" name="DISPMD"> command), |
| 3270 |
show characters: |
| 3271 |
<descrip> |
| 3272 |
<tag/8-dot/ |
| 3273 |
With all eight dots. |
| 3274 |
<tag/6-dot/ |
| 3275 |
With only dots 1 through 6. |
| 3276 |
If a contraction table has been selected |
| 3277 |
(see the <ref id="options-contraction-table" name="-c"> command line option |
| 3278 |
and the <ref id="configure-contraction-table" name="contraction-table"> configuration file directive), |
| 3279 |
then it is used. |
| 3280 |
</descrip> |
| 3281 |
This setting can also be changed with the |
| 3282 |
<ref id="command-SIXDOTS" name="SIXDOTS"> command. |
| 3283 |
<tag>Skip Identical Lines<label id="preference-skip-identical-lines"></tag> |
| 3284 |
When moving either up or down exactly one line with |
| 3285 |
the <ref id="command-LNUP-LNDN" name="LNUP/LNDN"> commands, |
| 3286 |
as well as the line wrapping feature of |
| 3287 |
the <ref id="command-FWINLT-FWINRT" name="FWINLT/FWINRT"> |
| 3288 |
and <ref id="command-FWINLTSKIP-FWINRTSKIP" name="FWINLTSKIP/FWINRTSKIP"> commands: |
| 3289 |
<descrip> |
| 3290 |
<tag/No/ |
| 3291 |
Don't skip past lines which have the same content as the current line. |
| 3292 |
<tag/Yes/ |
| 3293 |
Skip past lines which have the same content as the current line. |
| 3294 |
</descrip> |
| 3295 |
This setting can also be changed with the |
| 3296 |
<ref id="command-SKPIDLNS" name="SKPIDLNS"> command. |
| 3297 |
<tag>Skip Blank Windows<label id="preference-skip-blank-windows"></tag> |
| 3298 |
When moving either left or right with |
| 3299 |
the <ref id="command-FWINLT-FWINRT" name="FWINLT/FWINRT"> commands: |
| 3300 |
<descrip> |
| 3301 |
<tag/No/ |
| 3302 |
Don't skip past blank windows. |
| 3303 |
<tag/Yes/ |
| 3304 |
Skip past blank windows. |
| 3305 |
</descrip> |
| 3306 |
This setting can also be changed with the |
| 3307 |
<ref id="command-SKPBLNKWINS" name="SKPBLNKWINS"> command. |
| 3308 |
<tag>Which Blank Windows<label id="preference-which-blank-windows"></tag> |
| 3309 |
If blank windows are to be skipped: |
| 3310 |
<descrip> |
| 3311 |
<tag/All/ |
| 3312 |
Skip all of them. |
| 3313 |
<tag/End of Line/ |
| 3314 |
Only skip those which are at the end (on the right side) of a line. |
| 3315 |
<tag/Rest of Line/ |
| 3316 |
Only skip those which are |
| 3317 |
at the end (on the right side) of a line when reading forward, |
| 3318 |
and at the beginning (on the left side) of a line when reading backward. |
| 3319 |
</descrip> |
| 3320 |
<tag>Sliding Window<label id="preference-sliding-window"></tag> |
| 3321 |
If the cursor is being tracked |
| 3322 |
(see the <ref id="command-CSRTRK" name="CSRTRK"> command), |
| 3323 |
and the cursor moves too close to (or beyond) |
| 3324 |
either end of the braille window: |
| 3325 |
<descrip> |
| 3326 |
<tag/No/ |
| 3327 |
Horizontally reposition the window such that its left end |
| 3328 |
is a multiple of its width from the left edge of the screen. |
| 3329 |
<tag/Yes/ |
| 3330 |
Horizontally reposition the window such that the cursor, |
| 3331 |
while remaining on that side of the window, is nearer the centre. |
| 3332 |
</descrip> |
| 3333 |
This setting can also be changed with the |
| 3334 |
<ref id="command-SLIDEWIN" name="SLIDEWIN"> command. |
| 3335 |
<tag>Eager Sliding Window<label id="preference-eager-sliding-window"></tag> |
| 3336 |
If the braille window is to slide: |
| 3337 |
<descrip> |
| 3338 |
<tag/No/ |
| 3339 |
Reposition it whenever the cursor moves beyond either end. |
| 3340 |
<tag/Yes/ |
| 3341 |
Reposition it whenever the cursor moves too close to either end. |
| 3342 |
</descrip> |
| 3343 |
The initial setting is <tt/No/. |
| 3344 |
<tag>Window Overlap<label id="preference-window-overlap"></tag> |
| 3345 |
When moving either left or right with |
| 3346 |
the <ref id="command-FWINLT-FWINRT" name="FWINLT/FWINRT"> commands, |
| 3347 |
this setting specifies how many characters |
| 3348 |
horizontally adjacent braille windows should overlap each other by. |
| 3349 |
The initial setting is <tt/0/. |
| 3350 |
<tag>Autorepeat<label id="preference-autorepeat"></tag> |
| 3351 |
While the key (combination) for a command remains pressed: |
| 3352 |
<descrip> |
| 3353 |
<tag/No/ |
| 3354 |
Don't automatically repeat the command. |
| 3355 |
<tag/Yes/ |
| 3356 |
Automatically repeat the command at a regular interval after an initial delay. |
| 3357 |
</descrip> |
| 3358 |
The following commands are eligible for autorepeating: |
| 3359 |
<itemize> |
| 3360 |
<item> |
| 3361 |
The <ref id="command-LNUP-LNDN" name="LNUP/LNDN"> commands. |
| 3362 |
<item> |
| 3363 |
The <ref id="command-PRDIFLN-NXDIFLN" name="PRDIFLN/NXDIFLN"> commands. |
| 3364 |
<item> |
| 3365 |
The <ref id="command-CHRLT-CHRRT" name="CHRLT/CHRRT"> commands. |
| 3366 |
<item> |
| 3367 |
Braille window panning operations |
| 3368 |
(see the <ref id="preference-autorepeat-panning" name="Autorepeat Panning"> preference). |
| 3369 |
<item> |
| 3370 |
The Page-Up and Page-Down operations. |
| 3371 |
<item> |
| 3372 |
The Cursor-Up and Cursor-Down operations. |
| 3373 |
<item> |
| 3374 |
The Cursor-Left and Cursor-Right operations. |
| 3375 |
<item> |
| 3376 |
The Backspace and Delete operations. |
| 3377 |
<item> |
| 3378 |
Character entry. |
| 3379 |
</itemize> |
| 3380 |
Only some drivers support this functionality, |
| 3381 |
the primary limitation being that many braille displays |
| 3382 |
don't signal both key presses and key releases as distinctly separate events. |
| 3383 |
This setting can also be changed with the |
| 3384 |
<ref id="command-AUTOREPEAT" name="AUTOREPEAT"> command. |
| 3385 |
The initial setting is <tt/Yes/. |
| 3386 |
<tag>Autorepeat Panning<label id="preference-autorepeat-panning"></tag> |
| 3387 |
When the <ref id="preference-autorepeat" name="Autorepeat"> preference is enabled: |
| 3388 |
<descrip> |
| 3389 |
<tag/No/ |
| 3390 |
Don't autorepeat braille window panning operations. |
| 3391 |
<tag/Yes/ |
| 3392 |
Autorepeat braille window panning operations. |
| 3393 |
</descrip> |
| 3394 |
This preference affects the <ref id="command-FWINLT-FWINRT" name="FWINLT/FWINRT"> commands. |
| 3395 |
The initial setting is <tt/No/. |
| 3396 |
<tag>Autorepeat Delay<label id="preference-autorepeat-delay"></tag> |
| 3397 |
When a character is to be autorepeated, |
| 3398 |
this setting specifies the amount of time |
| 3399 |
(see the note on <ref id="time-settings" name="time settings"> below) |
| 3400 |
which must pass before autorepeating begins. |
| 3401 |
The initial setting is <tt/50/. |
| 3402 |
<tag>Autorepeat Interval<label id="preference-autorepeat-interval"></tag> |
| 3403 |
When a character is being autorepeated, |
| 3404 |
this setting specifies the amount of time |
| 3405 |
(see the note on <ref id="time-settings" name="time settings"> below) |
| 3406 |
between each reexecution. |
| 3407 |
The initial setting is <tt/10/. |
| 3408 |
<tag>Show Cursor<label id="preference-show-cursor"></tag> |
| 3409 |
When displaying screen content |
| 3410 |
(see the <ref id="command-DISPMD" name="DISPMD"> command): |
| 3411 |
<descrip> |
| 3412 |
<tag/No/ |
| 3413 |
Don't show the cursor. |
| 3414 |
<tag/Yes/ |
| 3415 |
Show the cursor. |
| 3416 |
</descrip> |
| 3417 |
This setting can also be changed with the |
| 3418 |
<ref id="command-CSRVIS" name="CSRVIS"> command. |
| 3419 |
The initial setting is <tt/Yes/. |
| 3420 |
<tag>Cursor Style<label id="preference-cursor-style"></tag> |
| 3421 |
When showing the cursor, represent it: |
| 3422 |
<descrip> |
| 3423 |
<tag/Underline/ |
| 3424 |
With dots 7 and 8. |
| 3425 |
<tag/Block/ |
| 3426 |
With all eight dots. |
| 3427 |
</descrip> |
| 3428 |
This setting can also be changed with the |
| 3429 |
<ref id="command-CSRSIZE" name="CSRSIZE"> command. |
| 3430 |
<tag>Blinking Cursor<label id="preference-blinking-cursor"></tag> |
| 3431 |
When the cursor is to be shown: |
| 3432 |
<descrip> |
| 3433 |
<tag/No/ |
| 3434 |
Leave it visible all the time. |
| 3435 |
<tag/Yes/ |
| 3436 |
Make it alternately visible and invisible |
| 3437 |
according to a predefined interval. |
| 3438 |
</descrip> |
| 3439 |
This setting can also be changed with the |
| 3440 |
<ref id="command-CSRBLINK" name="CSRBLINK"> command. |
| 3441 |
<tag>Cursor Visible Time<label id="preference-cursor-visible-time"></tag> |
| 3442 |
When the cursor is to be blinked, this setting specifies the length of time |
| 3443 |
(see the note on <ref id="time-settings" name="time settings"> below) |
| 3444 |
during each cycle that it is to be visible. |
| 3445 |
The initial setting is <tt/40/. |
| 3446 |
<tag>Cursor Invisible Time<label id="preference-cursor-invisible-time"></tag> |
| 3447 |
When the cursor is to be blinked, this setting specifies the length of time |
| 3448 |
(see the note on <ref id="time-settings" name="time settings"> below) |
| 3449 |
during each cycle that it is to be invisible. |
| 3450 |
The initial setting is <tt/40/. |
| 3451 |
<tag>Show Attributes<label id="preference-show-attributes"></tag> |
| 3452 |
When displaying screen content |
| 3453 |
(see the <ref id="command-DISPMD" name="DISPMD"> command): |
| 3454 |
<descrip> |
| 3455 |
<tag/No/ |
| 3456 |
Don't underline highlighted characters. |
| 3457 |
<tag/Yes/ |
| 3458 |
Underline highlighted characters. |
| 3459 |
</descrip> |
| 3460 |
This setting can also be changed with the |
| 3461 |
<ref id="command-ATTRVIS" name="ATTRVIS"> command. |
| 3462 |
<tag>Blinking Attributes<label id="preference-blinking-attributes"></tag> |
| 3463 |
When highlighted characters are to be underlined: |
| 3464 |
<descrip> |
| 3465 |
<tag/No/ |
| 3466 |
Leave the indicator visible all the time. |
| 3467 |
<tag/Yes/ |
| 3468 |
Make the indicator alternately visible and invisible |
| 3469 |
according to a predefined interval. |
| 3470 |
</descrip> |
| 3471 |
This setting can also be changed with the |
| 3472 |
<ref id="command-ATTRBLINK" name="ATTRBLINK"> command. |
| 3473 |
<tag>Attributes Visible Time<label id="preference-attributes-visible-time"></tag> |
| 3474 |
When the highlighted character underline is to be blinked, |
| 3475 |
this setting specifies the length of time |
| 3476 |
(see the note on <ref id="time-settings" name="time settings"> below) |
| 3477 |
during each cycle that it is to be visible. |
| 3478 |
The initial setting is <tt/20/. |
| 3479 |
<tag>Attributes Invisible Time<label id="preference-attributes-invisible-time"></tag> |
| 3480 |
When the highlighted character underline is to be blinked, |
| 3481 |
this setting specifies the length of time |
| 3482 |
(see the note on <ref id="time-settings" name="time settings"> below) |
| 3483 |
during each cycle that it is to be invisible. |
| 3484 |
The initial setting is <tt/60/. |
| 3485 |
<tag>Blinking Capitals<label id="preference-blinking-capitals"></tag> |
| 3486 |
When displaying screen content |
| 3487 |
(see the <ref id="command-DISPMD" name="DISPMD"> command): |
| 3488 |
<descrip> |
| 3489 |
<tag/No/ |
| 3490 |
Leave capital letters visible all the time. |
| 3491 |
<tag/Yes/ |
| 3492 |
Make capital letters alternately visible and invisible |
| 3493 |
according to a predefined interval. |
| 3494 |
</descrip> |
| 3495 |
This setting can also be changed with the |
| 3496 |
<ref id="command-CAPBLINK" name="CAPBLINK"> command. |
| 3497 |
<tag>Capitals Visible Time<label id="preference-capitals-visible-time"></tag> |
| 3498 |
When capital letters are to be blinked, |
| 3499 |
this setting specifies the length of time |
| 3500 |
(see the note on <ref id="time-settings" name="time settings"> below) |
| 3501 |
during each cycle that they're to be visible. |
| 3502 |
The initial setting is <tt/60/. |
| 3503 |
<tag>Capitals Invisible Time<label id="preference-capitals-invisible-time"></tag> |
| 3504 |
When capital letters are to be blinked, |
| 3505 |
this setting specifies the length of time |
| 3506 |
(see the note on <ref id="time-settings" name="time settings"> below) |
| 3507 |
during each cycle that they're to be invisible. |
| 3508 |
The initial setting is <tt/20/. |
| 3509 |
<tag>Braille Firmness<label id="preference-braille-firmness"></tag> |
| 3510 |
Adjust the firmness (or stiffness) of the braille dots. |
| 3511 |
It can be set to: |
| 3512 |
<itemize> |
| 3513 |
<item>Maximum |
| 3514 |
<item>High |
| 3515 |
<item>Medium |
| 3516 |
<item>Low |
| 3517 |
<item>Minimum |
| 3518 |
</itemize> |
| 3519 |
This preference is only available if a driver which supports it is being used. |
| 3520 |
The initial setting is <tt/Medium/. |
| 3521 |
<tag>Braille Sensitivity<label id="preference-braille-sensitivity"></tag> |
| 3522 |
Adjust the sensitivity of the braille dots to touch. |
| 3523 |
It can be set to: |
| 3524 |
<itemize> |
| 3525 |
<item>Maximum |
| 3526 |
<item>High |
| 3527 |
<item>Medium |
| 3528 |
<item>Low |
| 3529 |
<item>Minimum |
| 3530 |
</itemize> |
| 3531 |
This preference is only available if a driver which supports it is being used. |
| 3532 |
The initial setting is <tt/Medium/. |
| 3533 |
<tag>Window Follows Pointer<label id="preference-window-follows-pointer"></tag> |
| 3534 |
When moving the pointer device (mouse): |
| 3535 |
<descrip> |
| 3536 |
<tag/No/ |
| 3537 |
Don't drag the braille window. |
| 3538 |
<tag/Yes/ |
| 3539 |
Drag the braille window. |
| 3540 |
</descrip> |
| 3541 |
This preference is only presented if the |
| 3542 |
<ref id="build-gpm" name="--enable-gpm"> build option was specified. |
| 3543 |
<tag>Highlight Window<label id="preference-highlight-window"></tag> |
| 3544 |
When moving the braille window: |
| 3545 |
<descrip> |
| 3546 |
<tag/No/ |
| 3547 |
Don't highlight the new screen area. |
| 3548 |
<tag/Yes/ |
| 3549 |
Highlight the new screen area. |
| 3550 |
</descrip> |
| 3551 |
This feature enables a sighted observer to see where the braille window is, |
| 3552 |
and, therefore, to know what the braille user is reading. |
| 3553 |
Any motion of the braille window (manual, cursor tracking, etc.), |
| 3554 |
other than when it moves in response to pointer (mouse) motion |
| 3555 |
(see the <ref id="preference-window-follows-pointer" name="Window Follows Pointer"> preference), |
| 3556 |
causes the area of the screen corresponding to |
| 3557 |
the new location of the braille window to be highlighted. |
| 3558 |
If the <ref id="preference-show-attributes" name="Show Attributes"> preference is enabled |
| 3559 |
then only the character corresponding to the upper-left corner of the braille window is highlighted. |
| 3560 |
<tag>Alert Tunes<label id="preference-alert-tunes"></tag> |
| 3561 |
Whenever a significant event with an associated tune occurs |
| 3562 |
(see <ref id="tunes" name="Alert Tunes">): |
| 3563 |
<descrip> |
| 3564 |
<tag/No/ |
| 3565 |
Don't play the tune. |
| 3566 |
<tag/Yes/ |
| 3567 |
Play the tune. |
| 3568 |
</descrip> |
| 3569 |
This setting can also be changed with the |
| 3570 |
<ref id="command-TUNES" name="TUNES"> command. |
| 3571 |
The initial setting is <tt/Yes/. |
| 3572 |
<tag>Tune Device<label id="preference-tune-device"></tag> |
| 3573 |
Play alert tunes via: |
| 3574 |
<descrip> |
| 3575 |
<tag/Beeper/ |
| 3576 |
The internal beeper (console tone generator). |
| 3577 |
This setting is supported |
| 3578 |
on Linux, |
| 3579 |
on OpenBSD, |
| 3580 |
on FreeBSD, |
| 3581 |
and on NetBSD. |
| 3582 |
It's always safe to use, |
| 3583 |
although it may be somewhat soft. |
| 3584 |
This device isn't available if the |
| 3585 |
<ref id="build-beeper-support" name="--disable-beeper-support"> build option was specified. |
| 3586 |
<tag/PCM/ |
| 3587 |
The digital audio interface on the sound card. |
| 3588 |
This setting is supported |
| 3589 |
on Linux (via <tt>/dev/dsp</>), |
| 3590 |
on Solaris (via <tt>/dev/audio</>), |
| 3591 |
on OpenBSD (via <tt>/dev/audio0</>), |
| 3592 |
on FreeBSD (via <tt>/dev/dsp</>), |
| 3593 |
and on NetBSD (via <tt>/dev/audio0</>). |
| 3594 |
It doesn't work when this device is already being used |
| 3595 |
by another application. |
| 3596 |
This device isn't available if the |
| 3597 |
<ref id="build-pcm-support" name="--disable-pcm-support"> build option was specified. |
| 3598 |
<tag/MIDI/ |
| 3599 |
The Musical Instrument Digital Interface on the sound card |
| 3600 |
This setting is supported |
| 3601 |
on Linux (via <tt>/dev/sequencer</>). |
| 3602 |
It doesn't work when this device is already being used |
| 3603 |
by another application. |
| 3604 |
This device isn't available if the |
| 3605 |
<ref id="build-midi-support" name="--disable-midi-support"> build option was specified. |
| 3606 |
<tag/FM/ |
| 3607 |
The FM synthesizer on an |
| 3608 |
AdLib, OPL3, Sound Blaster, or equivalent sound card. |
| 3609 |
This setting is supported |
| 3610 |
on Linux. |
| 3611 |
It works even if the FM synthesizer |
| 3612 |
is already being used by another application. |
| 3613 |
The results are unpredictable, and potentially not very good, |
| 3614 |
if it's used with a sound card which doesn't support this feature. |
| 3615 |
This device isn't available if the |
| 3616 |
<ref id="build-fm-support" name="--disable-fm-support"> build option was specified. |
| 3617 |
</descrip> |
| 3618 |
The initial setting is <tt/Beeper/ on those platforms which support it, |
| 3619 |
and <tt/PCM/ on those platforms which don't. |
| 3620 |
<tag>PCM Volume<label id="preference-pcm-volume"></tag> |
| 3621 |
If the digital audio interface of the sound card |
| 3622 |
is being used to play the alert tunes, |
| 3623 |
this setting specifies the loudness |
| 3624 |
(as a percentage of the maximum) |
| 3625 |
at which they are to be played. |
| 3626 |
The initial setting is <tt/70/. |
| 3627 |
<tag>MIDI Volume<label id="preference-midi-volume"></tag> |
| 3628 |
If the Musical Instrument Digital Interface (MIDI) of the sound card |
| 3629 |
is being used to play the alert tunes, |
| 3630 |
this setting specifies the loudness |
| 3631 |
(as a percentage of the maximum) |
| 3632 |
at which they are to be played. |
| 3633 |
The initial setting is <tt/70/. |
| 3634 |
<tag>MIDI Instrument<label id="preference-midi-instrument"></tag> |
| 3635 |
If the Musical Instrument Digital Interface (MIDI) of the sound card |
| 3636 |
is being used to play the alert tunes, |
| 3637 |
this setting specifies which instrument is to be used |
| 3638 |
(see the <ref id="midi" name="MIDI Instrument Table">). |
| 3639 |
The initial setting is <tt/Acoustic Grand Piano/. |
| 3640 |
<tag>FM Volume<label id="preference-fm-volume"></tag> |
| 3641 |
If the FM synthesizer of the sound card |
| 3642 |
is being used to play the alert tunes, |
| 3643 |
this setting specifies the loudness |
| 3644 |
(as a percentage of the maximum) |
| 3645 |
at which they are to be played. |
| 3646 |
The initial setting is <tt/70/. |
| 3647 |
<tag>Alert Dots<label id="preference-alert-dots"></tag> |
| 3648 |
Whenever a significant event with an associated dot pattern occurs |
| 3649 |
(see <ref id="tunes" name="Alert Tunes">): |
| 3650 |
<descrip> |
| 3651 |
<tag/No/ |
| 3652 |
Don't display the dot pattern. |
| 3653 |
<tag/Yes/ |
| 3654 |
Briefly display the dot pattern. |
| 3655 |
</descrip> |
| 3656 |
If alert tunes are to be played |
| 3657 |
(see the <ref id="command-TUNES" name="TUNES"> command |
| 3658 |
and the <ref id="preference-alert-tunes" name="Alert Tunes"> preference), |
| 3659 |
if a tune has been associated with the event, |
| 3660 |
and if the selected tune device can be opened, |
| 3661 |
then, regardless of the setting of this preference, the dot pattern isn't displayed. |
| 3662 |
<tag>Alert Messages<label id="preference-alert-messages"></tag> |
| 3663 |
Whenever a significant event with an associated message occurs |
| 3664 |
(see <ref id="tunes" name="Alert Tunes">): |
| 3665 |
<descrip> |
| 3666 |
<tag/No/ |
| 3667 |
Don't display the message. |
| 3668 |
<tag/Yes/ |
| 3669 |
Display the message. |
| 3670 |
</descrip> |
| 3671 |
If alert tunes are to be played |
| 3672 |
(see the <ref id="command-TUNES" name="TUNES"> command |
| 3673 |
and the <ref id="preference-alert-tunes" name="Alert Tunes"> preference), |
| 3674 |
if a tune has been associated with the event, |
| 3675 |
and if the selected tune device can be opened, |
| 3676 |
or if alert dot patterns are to be displayed |
| 3677 |
(see the <ref id="preference-alert-dots" name="Alert Dots"> preference) |
| 3678 |
and if a dot pattern has been associated with the event, |
| 3679 |
then, regardless of the setting of this preference, the message isn't displayed. |
| 3680 |
<tag>Say-Line Mode<label id="preference-sayline-mode"></tag> |
| 3681 |
When using the <ref id="command-SAY_LINE" name="SAY_LINE"> command: |
| 3682 |
<descrip> |
| 3683 |
<tag/Immediate/ |
| 3684 |
Discard pending speech. |
| 3685 |
<tag/Enqueue/ |
| 3686 |
Don't discard pending speech. |
| 3687 |
</descrip> |
| 3688 |
The initial setting is <tt/Immediate/. |
| 3689 |
<tag>Autospeak<label id="preference-autospeak"></tag> |
| 3690 |
<descrip> |
| 3691 |
<tag/No/ |
| 3692 |
Only speak when explicitly requested to do so. |
| 3693 |
<tag/Yes/ |
| 3694 |
Automatically speak: |
| 3695 |
<itemize> |
| 3696 |
<item>the new line when the braille window is moved vertically. |
| 3697 |
<item>characters which are entered or deleted. |
| 3698 |
<item>the character to which the cursor is moved. |
| 3699 |
</itemize> |
| 3700 |
</descrip> |
| 3701 |
This setting can also be changed with the |
| 3702 |
<ref id="command-AUTOSPEAK" name="AUTOSPEAK"> command. |
| 3703 |
The initial setting is <tt/No/. |
| 3704 |
<tag>Speech Rate<label id="preference-speech-rate"></tag> |
| 3705 |
Adjust the speech rate |
| 3706 |
(<tt/0/ is the slowest, <tt/20/ is the fastest). |
| 3707 |
This preference is only available if a driver which supports it is being used. |
| 3708 |
This setting can also be changed with |
| 3709 |
the <ref id="command-SAY_SLOWER-SAY_FASTER" name="SAY_SLOWER/SAY_FASTER"> commands. |
| 3710 |
The initial setting is <tt/10/. |
| 3711 |
<tag>Speech Volume<label id="preference-speech-volume"></tag> |
| 3712 |
Adjust the speech volume |
| 3713 |
(<tt/0/ is the softest, <tt/20/ is the loudest). |
| 3714 |
This preference is only available if a driver which supports it is being used. |
| 3715 |
This setting can also be changed with |
| 3716 |
the <ref id="command-SAY_SOFTER-SAY_LOUDER" name="SAY_SOFTER/SAY_LOUDER"> commands. |
| 3717 |
The initial setting is <tt/10/. |
| 3718 |
<tag>Speech Pitch<label id="preference-speech-pitch"></tag> |
| 3719 |
Adjust the speech pitch |
| 3720 |
(<tt/0/ is the lowest, <tt/20/ is the highest). |
| 3721 |
This preference is only available if a driver which supports it is being used. |
| 3722 |
The initial setting is <tt/10/. |
| 3723 |
<tag>Speech Punctuation<label id="preference-speech-punctuation"></tag> |
| 3724 |
Adjust the amount of punctuation which is spoken. |
| 3725 |
It can be set to: |
| 3726 |
<itemize> |
| 3727 |
<item>None |
| 3728 |
<item>Some |
| 3729 |
<item>All |
| 3730 |
</itemize> |
| 3731 |
This preference is only available if a driver which supports it is being used. |
| 3732 |
The initial setting is <tt/Some/. |
| 3733 |
<tag>Status Style<label id="preference-status-style"></tag> |
| 3734 |
This setting specifies the way that the status cells are to be used. |
| 3735 |
You shouldn't normally need to play with it. |
| 3736 |
It enables BRLTTY's developers to test status cell configurations |
| 3737 |
for braille displays which they don't actually have. |
| 3738 |
<descrip> |
| 3739 |
<tag/None/ |
| 3740 |
Don't use the status cells. |
| 3741 |
This setting is always safe, but it's also quite useless. |
| 3742 |
<tag/Alva/ |
| 3743 |
The status cells contain: |
| 3744 |
<descrip> |
| 3745 |
<tag/1/ |
| 3746 |
The location of the cursor (see below). |
| 3747 |
<tag/2/ |
| 3748 |
The location of the top-left corner of the braille window (see below). |
| 3749 |
<tag/3/ |
| 3750 |
A letter indicating BRLTTY's state. |
| 3751 |
In order of precedence: |
| 3752 |
<descrip> |
| 3753 |
<tag/a/ |
| 3754 |
Screen attributes are being shown |
| 3755 |
(see the <ref id="command-DISPMD" name="DISPMD"> command). |
| 3756 |
<tag/f/ |
| 3757 |
The screen image is frozen |
| 3758 |
(see the <ref id="command-FREEZE" name="FREEZE"> command). |
| 3759 |
<tag/f/ |
| 3760 |
The cursor is being tracked |
| 3761 |
(see the <ref id="command-CSRTRK" name="CSRTRK"> command). |
| 3762 |
<tag><em/blank/</tag> |
| 3763 |
Nothing special. |
| 3764 |
</descrip> |
| 3765 |
</descrip> |
| 3766 |
The locations of the cursor and the braille window |
| 3767 |
are presented in an interesting way. |
| 3768 |
Dots 1 through 6 represent the line number with a letter |
| 3769 |
from <tt/a/ (for 1) through <tt/y/ (for 25). |
| 3770 |
Dots 7 and 8 (the extra two at the bottom) |
| 3771 |
represent the horizontal braille window number as follows: |
| 3772 |
<descrip> |
| 3773 |
<tag/No Dots/The first (leftmost) window. |
| 3774 |
<tag/Dot 7/The second window. |
| 3775 |
<tag/Dot 8/The third window. |
| 3776 |
<tag/Dots 7 and 8/The fourth window. |
| 3777 |
</descrip> |
| 3778 |
In both cases, the indicators wrap: |
| 3779 |
line 26 is represented by the letter <tt/a/, and the fifth horizontal |
| 3780 |
braille window is represented by no dots at the bottom. |
| 3781 |
<tag/Tieman/ |
| 3782 |
The status cells contain: |
| 3783 |
<descrip> |
| 3784 |
<tag/1-2/ |
| 3785 |
The columns (counting from 1) of the cursor |
| 3786 |
(shown in the top half of the cells) |
| 3787 |
and the top-left corner of the braille window |
| 3788 |
(shown in the bottom half of the cells). |
| 3789 |
<tag/3-4/ |
| 3790 |
The rows (counting from 1) of the cursor |
| 3791 |
(shown in the top half of the cells) |
| 3792 |
and the top-left corner of the braille window |
| 3793 |
(shown in the bottom half of the cells). |
| 3794 |
<tag/5/ |
| 3795 |
Each dot indicates if a feature is turned on as follows: |
| 3796 |
<descrip> |
| 3797 |
<tag/Dot 1/ |
| 3798 |
The screen image is frozen |
| 3799 |
(see the <ref id="command-FREEZE" name="FREEZE"> command). |
| 3800 |
<tag/Dot 2/ |
| 3801 |
Screen attributes are being displayed |
| 3802 |
(see the <ref id="command-DISPMD" name="DISPMD"> command). |
| 3803 |
<tag/Dot 3/ |
| 3804 |
Alert tunes are being played |
| 3805 |
(see the <ref id="command-TUNES" name="TUNES"> command). |
| 3806 |
<tag/Dot 4/ |
| 3807 |
The cursor is being shown |
| 3808 |
(see the <ref id="command-CSRVIS" name="CSRVIS"> command). |
| 3809 |
<tag/Dot 5/ |
| 3810 |
The cursor is a solid block |
| 3811 |
(see the <ref id="command-CSRSIZE" name="CSRSIZE"> command). |
| 3812 |
<tag/Dot 6/ |
| 3813 |
The cursor is blinking |
| 3814 |
(see the <ref id="command-CSRBLINK" name="CSRBLINK"> command). |
| 3815 |
<tag/Dot 7/ |
| 3816 |
The cursor is being tracked |
| 3817 |
(see the <ref id="command-CSRTRK" name="CSRTRK"> command). |
| 3818 |
<tag/Dot 8/ |
| 3819 |
The braille window will slide |
| 3820 |
(see the <ref id="command-SLIDEWIN" name="SLIDEWIN"> command). |
| 3821 |
</descrip> |
| 3822 |
</descrip> |
| 3823 |
<tag/PowerBraille 80/ |
| 3824 |
The status cells contain: |
| 3825 |
<descrip> |
| 3826 |
<tag/1/ |
| 3827 |
The row (counting from 1) corresponding |
| 3828 |
to the top of the braille window. |
| 3829 |
The tens digit is shown in the top half of the cell, |
| 3830 |
and the units digit is shown in the bottom half of the cell. |
| 3831 |
</descrip> |
| 3832 |
<tag/Generic/ |
| 3833 |
This setting passes a lot of information to the braille driver, |
| 3834 |
and the driver itself decides how to present it. |
| 3835 |
<tag/MDV/ |
| 3836 |
The status cells contain: |
| 3837 |
<descrip> |
| 3838 |
<tag/1-2/ |
| 3839 |
The location of the top-left corner of the braille window. |
| 3840 |
The row (counting from 1) is shown in the top half of the cells, |
| 3841 |
and the column (counting from 1) is shown in the bottom half of the cells. |
| 3842 |
</descrip> |
| 3843 |
<tag/Voyager/ |
| 3844 |
The status cells contain: |
| 3845 |
<descrip> |
| 3846 |
<tag/1/ |
| 3847 |
The row (counting from 1) corresponding to |
| 3848 |
the top of the braille window (see below). |
| 3849 |
<tag/2/ |
| 3850 |
The row (counting from 1) whereon the cursor is (see below). |
| 3851 |
<tag/3/ |
| 3852 |
If the screen is frozen |
| 3853 |
(see the <ref id="command-FREEZE" name="FREEZE"> command), |
| 3854 |
then the letter <tt/F/. |
| 3855 |
If it isn't, then |
| 3856 |
the column (counting from 1) wherein the cursor is (see below). |
| 3857 |
</descrip> |
| 3858 |
Row and column numbers are shown as two digits within a single cell. |
| 3859 |
The tens digit is shown in the top half of the cell, |
| 3860 |
and the units digit is shown in the bottom half of the cell. |
| 3861 |
</descrip> |
| 3862 |
The initial setting is braille display driver dependent. |
| 3863 |
<tag>Text Table<label id="preference-text-table"></tag> |
| 3864 |
Select the text table. |
| 3865 |
See section <ref id="table-text" name="Text Tables"> for details. |
| 3866 |
See the <ref id="options-text-table" name="-t"> command line option for the initial setting. |
| 3867 |
This preference isn't saved. |
| 3868 |
<tag>Attributes Table<label id="preference-attributes-table"></tag> |
| 3869 |
Select the attributes table. |
| 3870 |
See section <ref id="table-attributes" name="Attributes Tables"> for details. |
| 3871 |
See the <ref id="options-attributes-table" name="-a"> command line option for the initial setting. |
| 3872 |
This preference isn't saved. |
| 3873 |
<tag>Contraction Table<label id="preference-contraction-table"></tag> |
| 3874 |
Select the contraction table. |
| 3875 |
See section <ref id="table-contraction" name="Contraction Tables"> for details. |
| 3876 |
See the <ref id="options-contraction-table" name="-c"> command line option for the initial setting. |
| 3877 |
This preference isn't saved. |
| 3878 |
<tag>Keyboard Table<label id="preference-keyboard-table"></tag> |
| 3879 |
Select the keyboard table. |
| 3880 |
See section <ref id="table-key" name="Key Tables"> for details. |
| 3881 |
See the <ref id="options-keyboard-table" name="-k"> command line option for the initial setting. |
| 3882 |
This preference isn't saved. |
| 3883 |
</descrip> |
| 3884 |
|
| 3885 |
Notes: |
| 3886 |
<itemize> |
| 3887 |
<item><label id="time-settings"> |
| 3888 |
All time settings are in hundredths of a second. |
| 3889 |
They are multiples of 4 within the range 1 through 100. |
| 3890 |
</itemize> |
| 3891 |
|
| 3892 |
<sect1>The Status Display<label id="status"><p> |
| 3893 |
The status display is a summary of BRLTTY's current state |
| 3894 |
which fits completely within the braille window. |
| 3895 |
Some braille displays have a set of status cells |
| 3896 |
which are used to permanently display some of this information as well |
| 3897 |
(see the documentation for your display's driver). |
| 3898 |
The data presented by this display isn't static, and may change at any time |
| 3899 |
in response to screen updates and/or BRLTTY commands. |
| 3900 |
|
| 3901 |
Use the <ref id="command-INFO" name="INFO"> command |
| 3902 |
to switch to the status display, |
| 3903 |
and use it again to return to the screen. |
| 3904 |
The layout of the information contained therein |
| 3905 |
is dependent on the size of the braille window. |
| 3906 |
|
| 3907 |
<sect2>Displays with 21 Cells or More<p> |
| 3908 |
Short pneumonics have been used, even though they're rather cryptic, |
| 3909 |
in order to show the precise column layout. |
| 3910 |
<tscreen><em/wx/:<em/wy/ <em/cx/:<em/cy/ <em/vt/ <em/tcmfdu/</tscreen> |
| 3911 |
<descrip> |
| 3912 |
<tag><em/wx/<tt/:/<em/wy/</tag> |
| 3913 |
The column and row (counting from 1) on the screen corresponding |
| 3914 |
to the top-left corner of the braille window. |
| 3915 |
<tag><em/cx/<tt/:/<em/cy/</tag> |
| 3916 |
The column and row (counting from 1) on the screen corresponding |
| 3917 |
to the position of the cursor. |
| 3918 |
<tag><em/vt/</tag> |
| 3919 |
The number (counting from 1) of the current virtual terminal. |
| 3920 |
<tag><em/t/</tag> |
| 3921 |
The state of the cursor tracking feature |
| 3922 |
(see the <ref id="command-CSRTRK" name="CSRTRK"> command). |
| 3923 |
<descrip> |
| 3924 |
<tag>blank</tag>Cursor tracking is off. |
| 3925 |
<tag><tt/t/</tag>Cursor tracking is on. |
| 3926 |
</descrip> |
| 3927 |
<tag><em/c/</tag> |
| 3928 |
The state of the cursor visibility features |
| 3929 |
(see the <ref id="command-CSRVIS" name="CSRVIS"> |
| 3930 |
and <ref id="command-CSRBLINK" name="CSRBLINK"> commands). |
| 3931 |
<descrip> |
| 3932 |
<tag>blank</tag>The cursor isn't visible, and won't blink when made visible. |
| 3933 |
<tag><tt/b/</tag>The cursor isn't visible, and will blink when made visible. |
| 3934 |
<tag><tt/v/</tag>The cursor is visible, and isn't blinking. |
| 3935 |
<tag><tt/B/</tag>The cursor is visible, and is blinking. |
| 3936 |
</descrip> |
| 3937 |
<tag><em/m/</tag> |
| 3938 |
The current display mode |
| 3939 |
(see the <ref id="command-DISPMD" name="DISPMD"> command). |
| 3940 |
<descrip> |
| 3941 |
<tag><tt/t/</tag>Screen content (text) is being displayed. |
| 3942 |
<tag><tt/a/</tag>Screen highlighting (attributes) is being displayed. |
| 3943 |
</descrip> |
| 3944 |
<tag><em/f/</tag> |
| 3945 |
The state of the frozen screen feature |
| 3946 |
(see the <ref id="command-FREEZE" name="FREEZE"> command). |
| 3947 |
<descrip> |
| 3948 |
<tag>blank</tag>The screen isn't frozen. |
| 3949 |
<tag><tt/f/</tag>The screen is frozen. |
| 3950 |
</descrip> |
| 3951 |
<tag><em/d/</tag> |
| 3952 |
The number of braille dots being used to display each character |
| 3953 |
(see the <ref id="command-SIXDOTS" name="SIXDOTS"> command). |
| 3954 |
<descrip> |
| 3955 |
<tag><tt/8/</tag>All eight dots are being used. |
| 3956 |
<tag><tt/6/</tag>Only dots 1 through 6 are being used. |
| 3957 |
</descrip> |
| 3958 |
<tag><em/u/</tag> |
| 3959 |
The state of the uppercase (capital letter) display features |
| 3960 |
(see the <ref id="command-CAPBLINK" name="CAPBLINK"> command). |
| 3961 |
<descrip> |
| 3962 |
<tag>blank</tag>Uppercase letters don't blink. |
| 3963 |
<tag><tt/B/</tag>Uppercase letters blink. |
| 3964 |
</descrip> |
| 3965 |
</descrip> |
| 3966 |
|
| 3967 |
<sect2>Displays with 20 Cells or Less<p> |
| 3968 |
Short pneumonics have been used, even though they're rather cryptic, |
| 3969 |
in order to show the precise column layout. |
| 3970 |
<tscreen><em/xx/<em/yy/<em/s/ <em/vt/ <em/tcmfdu/</tscreen> |
| 3971 |
<descrip> |
| 3972 |
<tag><em/xx/</tag> |
| 3973 |
The columns (counting from 1) on the screen corresponding |
| 3974 |
to the position of the cursor (shown in the top half of the cells) |
| 3975 |
and to the top-left corner of the braille window (shown in the bottom half of the cells). |
| 3976 |
<tag><em/yy/</tag> |
| 3977 |
The rows (counting from 1) on the screen corresponding |
| 3978 |
to the position of the cursor (shown in the top half of the cells) |
| 3979 |
and to the top-left corner of the braille window (shown in the bottom half of the cells). |
| 3980 |
<tag><em/s/</tag> |
| 3981 |
The settings of some of BRLTTY's features. |
| 3982 |
A feature is turned on if its corresponding dot is raised. |
| 3983 |
<descrip> |
| 3984 |
<tag/Dot 1/ |
| 3985 |
Frozen screen image |
| 3986 |
(see the <ref id="command-FREEZE" name="FREEZE"> command). |
| 3987 |
<tag/Dot 2/ |
| 3988 |
Display attributes |
| 3989 |
(see the <ref id="command-DISPMD" name="DISPMD"> command). |
| 3990 |
<tag/Dot 3/ |
| 3991 |
Alert tunes |
| 3992 |
(see the <ref id="command-TUNES" name="TUNES"> command). |
| 3993 |
<tag/Dot 4/ |
| 3994 |
Visible cursor |
| 3995 |
(see the <ref id="command-CSRVIS" name="CSRVIS"> command). |
| 3996 |
<tag/Dot 5/ |
| 3997 |
Block cursor |
| 3998 |
(see the <ref id="command-CSRSIZE" name="CSRSIZE"> command). |
| 3999 |
<tag/Dot 6/ |
| 4000 |
Blinking cursor |
| 4001 |
(see the <ref id="command-CSRBLINK" name="CSRBLINK"> command). |
| 4002 |
<tag/Dot 7/ |
| 4003 |
Cursor tracking |
| 4004 |
(see the <ref id="command-CSRTRK" name="CSRTRK"> command). |
| 4005 |
<tag/Dot 8/ |
| 4006 |
Sliding window |
| 4007 |
(see the <ref id="command-SLIDEWIN" name="SLIDEWIN"> command). |
| 4008 |
</descrip> |
| 4009 |
<tag><em/vt/</tag> |
| 4010 |
The number (counting from 1) of the current virtual terminal. |
| 4011 |
<tag><em/t/</tag> |
| 4012 |
The state of the cursor tracking feature |
| 4013 |
(see the <ref id="command-CSRTRK" name="CSRTRK"> command). |
| 4014 |
<descrip> |
| 4015 |
<tag>blank</tag>Cursor tracking is off. |
| 4016 |
<tag><tt/t/</tag>Cursor tracking is on. |
| 4017 |
</descrip> |
| 4018 |
<tag><em/c/</tag> |
| 4019 |
The state of the cursor visibility features |
| 4020 |
(see the <ref id="command-CSRVIS" name="CSRVIS"> |
| 4021 |
and <ref id="command-CSRBLINK" name="CSRBLINK"> commands). |
| 4022 |
<descrip> |
| 4023 |
<tag>blank</tag>The cursor isn't visible, and won't blink when made visible. |
| 4024 |
<tag><tt/b/</tag>The cursor isn't visible, and will blink when made visible. |
| 4025 |
<tag><tt/v/</tag>The cursor is visible, and isn't blinking. |
| 4026 |
<tag><tt/B/</tag>The cursor is visible, and is blinking. |
| 4027 |
</descrip> |
| 4028 |
<tag><em/m/</tag> |
| 4029 |
The current display mode |
| 4030 |
(see the <ref id="command-DISPMD" name="DISPMD"> command). |
| 4031 |
<descrip> |
| 4032 |
<tag><tt/t/</tag>Screen content (text) is being displayed. |
| 4033 |
<tag><tt/a/</tag>Screen highlighting (attributes) is being displayed. |
| 4034 |
</descrip> |
| 4035 |
<tag><em/f/</tag> |
| 4036 |
The state of the frozen screen feature |
| 4037 |
(see the <ref id="command-FREEZE" name="FREEZE"> command). |
| 4038 |
<descrip> |
| 4039 |
<tag>blank</tag>The screen isn't frozen. |
| 4040 |
<tag><tt/f/</tag>The screen is frozen. |
| 4041 |
</descrip> |
| 4042 |
<tag><em/d/</tag> |
| 4043 |
The number of braille dots being used to display each character |
| 4044 |
(see the <ref id="command-SIXDOTS" name="SIXDOTS"> command). |
| 4045 |
<descrip> |
| 4046 |
<tag><tt/8/</tag>All eight dots are being used. |
| 4047 |
<tag><tt/6/</tag>Only dots 1 through 6 are being used. |
| 4048 |
</descrip> |
| 4049 |
<tag><em/u/</tag> |
| 4050 |
The state of the uppercase (capital letter) display features |
| 4051 |
(see the <ref id="command-CAPBLINK" name="CAPBLINK"> command). |
| 4052 |
<descrip> |
| 4053 |
<tag>blank</tag>Uppercase letters don't blink. |
| 4054 |
<tag><tt/B/</tag>Uppercase letters blink. |
| 4055 |
</descrip> |
| 4056 |
</descrip> |
| 4057 |
|
| 4058 |
<sect1>Command Learn Mode<label id="learn"><p> |
| 4059 |
Command learn mode is an interactive way to learn |
| 4060 |
what the keys on the braille display do. |
| 4061 |
It can be accessed |
| 4062 |
either by the <ref id="command-LEARN" name="LEARN"> command |
| 4063 |
or via the <ref id="utility-brltest" name="brltest"> utility. |
| 4064 |
This feature isn't available if the |
| 4065 |
<ref id="build-learn-mode" name="--disable-learn-mode"> build option was specified. |
| 4066 |
|
| 4067 |
When this mode is entered, |
| 4068 |
the message <tt/command learn mode/ is written to the braille display. |
| 4069 |
Then, as each key (or key combination) on the display is pressed, |
| 4070 |
a short message describing its BRLTTY function is written. |
| 4071 |
This mode exits immediately if the key (or key combination) |
| 4072 |
for the <ref id="command-LEARN" name="LEARN"> command is pressed. |
| 4073 |
It exits automatically, and the message <tt/done/ is written, |
| 4074 |
if ten seconds elapse without any key on the display being pressed. |
| 4075 |
Note that some displays don't signal the driver |
| 4076 |
and/or some drivers don't signal BRLTTY |
| 4077 |
until all the keys are released. |
| 4078 |
|
| 4079 |
If a message is longer than the braille display is wide, |
| 4080 |
then it's displayed in segments. |
| 4081 |
The length of each segment but the last is one less than the display's width, |
| 4082 |
with the rightmost character on the display being set to a minus sign. |
| 4083 |
Each such segment remains on the display |
| 4084 |
either for a few seconds |
| 4085 |
(see the <ref id="options-message-timeout" name="-M"> command line option) |
| 4086 |
or until any key on the display is pressed. |
| 4087 |
|
| 4088 |
<sect>Tables<label id="tables"><p> |
| 4089 |
|
| 4090 |
<sect1>Text Tables<label id="table-text"><p> |
| 4091 |
Files with names of the form <tt/*.ttb/ are text tables, |
| 4092 |
and with names of the form <tt/*.tti/ are text subtables. |
| 4093 |
They are used by BRLTTY to translate the characters on the screen |
| 4094 |
into their corresponding 8-dot computer braille representations. |
| 4095 |
|
| 4096 |
BRLTTY is initially configured to use the |
| 4097 |
<ref id="nabcc" name="North American Braille Computer Code"> |
| 4098 |
(NABCC) text table. |
| 4099 |
In addition to this default, |
| 4100 |
the following alternatives are provided: |
| 4101 |
<table loc="h"> |
| 4102 |
<tabular ca="ll"> |
| 4103 |
Name|Language@ |
| 4104 |
&TextTables |
| 4105 |
</tabular> |
| 4106 |
</table> |
| 4107 |
See the <ref id="options-text-table" name="-t"> command line option, |
| 4108 |
the <ref id="configure-text-table" name="text-table"> configuration file directive, |
| 4109 |
and the <ref id="build-text-table" name="--with-text-table"> build option |
| 4110 |
for details regarding how to use an alternate text table. |
| 4111 |
|
| 4112 |
<sect2>Text Table Format<p> |
| 4113 |
A text table consists of a sequence of directives, one per line, |
| 4114 |
which define how each character is to be represented in braille. |
| 4115 |
<tt/UTF-8/ character encoding must be used. |
| 4116 |
White-space (blanks, tabs) at the beginning of a line, |
| 4117 |
as well as before and/or after any operand of any directive, |
| 4118 |
is ignored. |
| 4119 |
Lines containing only white-space are ignored. |
| 4120 |
If the first non-white-space character of a line is "#" |
| 4121 |
then that line is a comment and is ignored. |
| 4122 |
|
| 4123 |
<sect2>Text Table Directives<p> |
| 4124 |
The following directives are provided: |
| 4125 |
<descrip> |
| 4126 |
<tag><tt/char/ <em/character/ <em/dots/ # <em/comment/</tag> |
| 4127 |
Use the <tt/char/ directive to specify |
| 4128 |
how a Unicode character is to be represented in braille. |
| 4129 |
Characters defined with this directive |
| 4130 |
can also be entered from a braille keyboard. |
| 4131 |
If several characters have the same braille representation |
| 4132 |
then only one of them should be defined with the <tt/char/ directive - |
| 4133 |
the others should be defined with the <tt/glyph/ directive |
| 4134 |
(which has the same syntax). |
| 4135 |
If more than one character with the same braille representation |
| 4136 |
is defined with the <tt/char/ directive |
| 4137 |
(which is currently allowed for backward compatibility) |
| 4138 |
then the first one is selected. |
| 4139 |
|
| 4140 |
<descrip> |
| 4141 |
<tag><em/character/</tag> |
| 4142 |
The Unicode character being defined. |
| 4143 |
It may be: |
| 4144 |
<itemize> |
| 4145 |
<item> |
| 4146 |
Any single character other than a backslash or a white-space character. |
| 4147 |
<item> |
| 4148 |
A backslash-prefixed special character. |
| 4149 |
These are: |
| 4150 |
<descrip> |
| 4151 |
- <tag/\b/The backspace character. |
| 4152 |
- <tag/\f/The formfeed character. |
| 4153 |
- <tag/\n/The newline character. |
| 4154 |
- <tag/\o###/The three-digit octal representation of a character. |
| 4155 |
- <tag/\r/The carriage return character. |
| 4156 |
- <tag/\s/The space character. |
| 4157 |
- <tag/\t/The horizontal tab character. |
| 4158 |
- <tag/\u####/The four-digit hexadecimal representation of a character. |
| 4159 |
- <tag/\U########/The eight-digit hexadecimal representation of a character. |
| 4160 |
- <tag/\v/The vertical tab character. |
| 4161 |
- <tag/\x##/The two-digit hexadecimal representation of a character. |
| 4162 |
- <tag/\X##/... (the case of the X and of the digits isn't significant) |
| 4163 |
- <tag/\#/A literal number sign. |
| 4164 |
- <tag/\<name>/The Unicode name of a character (use _ for space). |
| 4165 |
- <tag/\\/A literal backslash. |
| 4166 |
</descrip> |
| 4167 |
</itemize> |
| 4168 |
<tag><em/dots/</tag> |
| 4169 |
The braille representation of the Unicode character. |
| 4170 |
It is a sequence of one to eight dot numbers. |
| 4171 |
If the dot number sequence is enclosed within parentheses |
| 4172 |
then the dot numbers may be separated from one another by white-space. |
| 4173 |
A dot number is a digit within the range <tt/1/-<tt/8/ as defined by the |
| 4174 |
<ref id="dots" name="Standard Braille Dot Numbering Convention">. |
| 4175 |
The special dot number <tt/0/ is recognized |
| 4176 |
when not enclosed within parentheses, |
| 4177 |
and means no dots; |
| 4178 |
it may not be used in conjunction with any other dot number. |
| 4179 |
</descrip> |
| 4180 |
|
| 4181 |
Examples: |
| 4182 |
<itemize> |
| 4183 |
<item><tt/char a 1/ |
| 4184 |
<item><tt/char b (12)/ |
| 4185 |
<item><tt/char c ( 4 1 )/ |
| 4186 |
<item><tt/char \\ 12567/ |
| 4187 |
<item><tt/char \s 0/ |
| 4188 |
<item><tt/char \x20 ()/ |
| 4189 |
<item><tt/char \<LATIN_SMALL_LETTER_D> 145/ |
| 4190 |
</itemize> |
| 4191 |
<tag><tt/glyph/ <em/character/ <em/dots/ # <em/comment/</tag> |
| 4192 |
Use the <tt/glyph/ directive to specify |
| 4193 |
how a Unicode character is to be represented in braille. |
| 4194 |
Characters defined with this directive are output-only. |
| 4195 |
They cannot be entered from a braille keyboard. |
| 4196 |
|
| 4197 |
See the <tt/char/ directive for syntax details and for examples. |
| 4198 |
<tag><tt/byte/ <em/byte/ <em/dots/ # <em/comment/</tag> |
| 4199 |
Use the <tt/byte/ directive to specify how |
| 4200 |
a character in the local character set |
| 4201 |
is to be represented in braille. |
| 4202 |
It has been retained for backward compatibility but should not be used. |
| 4203 |
Unicode characters should be defined |
| 4204 |
(via the <tt/char/ directive) |
| 4205 |
so that the text table remains valid |
| 4206 |
regardless of what the local character set is. |
| 4207 |
|
| 4208 |
<descrip> |
| 4209 |
<tag><em/byte/</tag> |
| 4210 |
The local character being defined. |
| 4211 |
It may be specified in the same ways |
| 4212 |
as the <em/character/ operand of the <tt/char/ directive |
| 4213 |
except that the Unicode-specific forms |
| 4214 |
(\u, \U, \<) |
| 4215 |
may not be used. |
| 4216 |
<tag><em/dots/</tag> |
| 4217 |
The braille representation of the local character. |
| 4218 |
It may be specified in the same ways |
| 4219 |
as the <em/dots/ operand of the <tt/char/ directive. |
| 4220 |
</descrip> |
| 4221 |
<tag><tt/include/ <em/file/ # <em/comment/</tag> |
| 4222 |
Use the <tt/include/ directive to include the content of a text subtable. |
| 4223 |
It is recursive, which means that |
| 4224 |
any text subtable can itself include yet another text subtable. |
| 4225 |
Care must be taken to ensure that an "include loop" is not created. |
| 4226 |
|
| 4227 |
<descrip> |
| 4228 |
<tag><em/file/</tag> |
| 4229 |
The file to be included. |
| 4230 |
It may be either a relative or an absolute path. |
| 4231 |
If relative, it is anchored at the directory containing the including file. |
| 4232 |
</descrip> |
| 4233 |
</descrip> |
| 4234 |
|
| 4235 |
<sect1>Attributes Tables<label id="table-attributes"><p> |
| 4236 |
Files with names of the form *.atb are attributes tables, |
| 4237 |
and with names of the form *.ati are attributes subtables. |
| 4238 |
They are used when BRLTTY |
| 4239 |
is displaying screen attributes rather than screen content |
| 4240 |
(see the <ref id="command-DISPMD" name="DISPMD"> command). |
| 4241 |
Each of the eight braille dots represents |
| 4242 |
one of the eight <tt/VGA/ attribute bits. |
| 4243 |
|
| 4244 |
The following attributes tables are provided: |
| 4245 |
<descrip> |
| 4246 |
<tag/left_right/ |
| 4247 |
The lefthand column represents the foreground colours: |
| 4248 |
<descrip> |
| 4249 |
<tag/Dot 1/Blue |
| 4250 |
<tag/Dot 2/Green |
| 4251 |
<tag/Dot 3/Red |
| 4252 |
<tag/Dot 7/Bright |
| 4253 |
</descrip> |
| 4254 |
The righthand column represents the background colours: |
| 4255 |
<descrip> |
| 4256 |
<tag/Dot 4/Blue |
| 4257 |
<tag/Dot 5/Green |
| 4258 |
<tag/Dot 6/Red |
| 4259 |
<tag/Dot 8/Blink |
| 4260 |
</descrip> |
| 4261 |
A dot is raised when its corresponding attribute bit is on. |
| 4262 |
This is the default attributes table |
| 4263 |
because it's the most intuitive. |
| 4264 |
One of its problems, though, is that it's difficult to discern |
| 4265 |
the difference between normal (white on black) |
| 4266 |
and reverse (black on white) video. |
| 4267 |
<tag/invleft_right/ |
| 4268 |
The lefthand column represents the foreground colours: |
| 4269 |
<descrip> |
| 4270 |
<tag/Dot 1/Blue |
| 4271 |
<tag/Dot 2/Green |
| 4272 |
<tag/Dot 3/Red |
| 4273 |
<tag/Dot 7/Bright |
| 4274 |
</descrip> |
| 4275 |
The righthand column represents the background colours: |
| 4276 |
<descrip> |
| 4277 |
<tag/Dot 4/Blue |
| 4278 |
<tag/Dot 5/Green |
| 4279 |
<tag/Dot 6/Red |
| 4280 |
<tag/Dot 8/Blink |
| 4281 |
</descrip> |
| 4282 |
A background bit being on triggers its corresponding dot, |
| 4283 |
whereas a foreground bit being off triggers its corresponding dot. |
| 4284 |
This unintuitive logic actually makes it easier |
| 4285 |
to read the most commonly used attribute combinations. |
| 4286 |
<tag/upper_lower/ |
| 4287 |
The upper square represents the foreground colours: |
| 4288 |
<descrip> |
| 4289 |
<tag/Dot 1/Red |
| 4290 |
<tag/Dot 4/Green |
| 4291 |
<tag/Dot 2/Blue |
| 4292 |
<tag/Dot 5/Bright |
| 4293 |
</descrip> |
| 4294 |
The lower square represents the background colours: |
| 4295 |
<descrip> |
| 4296 |
<tag/Dot 3/Red |
| 4297 |
<tag/Dot 6/Green |
| 4298 |
<tag/Dot 7/Blue |
| 4299 |
<tag/Dot 8/Blink |
| 4300 |
</descrip> |
| 4301 |
A dot is raised when its corresponding attribute bit is on. |
| 4302 |
</descrip> |
| 4303 |
See the <ref id="options-attributes-table" name="-a"> command line option, |
| 4304 |
the <ref id="configure-attributes-table" name="attributes-table"> configuration file directive, |
| 4305 |
and the <ref id="build-attributes-table" name="--with-attributes-table"> build option |
| 4306 |
for details regarding how to use an alternate attributes table. |
| 4307 |
|
| 4308 |
<sect2>Attributes Table Format<p> |
| 4309 |
An attributes table consists of a sequence of directives, one per line, |
| 4310 |
which define how combinations of <tt/VGA/ attributes |
| 4311 |
are to be represented in braille. |
| 4312 |
<tt/UTF-8/ character encoding must be used. |
| 4313 |
White-space (blanks, tabs) at the beginning of a line, |
| 4314 |
as well as before and/or after any operand of any directive, |
| 4315 |
is ignored. |
| 4316 |
Lines containing only white-space are ignored. |
| 4317 |
If the first non-white-space character of a line is "#" |
| 4318 |
then that line is a comment and is ignored. |
| 4319 |
|
| 4320 |
<sect2>Attributes Table Directives<p> |
| 4321 |
The following directives are provided: |
| 4322 |
<descrip> |
| 4323 |
<tag><tt/dot/ <em/dot/ <em/state/ # <em/comment/</tag> |
| 4324 |
Use the <tt/dot/ directive to specify |
| 4325 |
what a specific dot represents. |
| 4326 |
|
| 4327 |
<descrip> |
| 4328 |
<tag><em/dot/</tag> |
| 4329 |
The dot being defined. |
| 4330 |
It is a single digit within the range <tt/1/-<tt/8/ as defined by the |
| 4331 |
<ref id="dots" name="Standard Braille Dot Numbering Convention">. |
| 4332 |
<tag><em/state/</tag> |
| 4333 |
What the dot represents. |
| 4334 |
It may be: |
| 4335 |
<descrip> |
| 4336 |
<tag><tt/=/<em/attribute/</tag>The dot is raised if the named attribute is on. |
| 4337 |
<tag><tt/˜/<em/attribute/</tag>The dot is raised if the named attribute is off. |
| 4338 |
</descrip> |
| 4339 |
|
| 4340 |
The names of the attribute bits are: |
| 4341 |
<descrip> |
| 4342 |
<tag/0X01/<tt/fg-blue/ |
| 4343 |
<tag/0X02/<tt/fg-green/ |
| 4344 |
<tag/0X04/<tt/fg-red/ |
| 4345 |
<tag/0X08/<tt/fg-bright/ |
| 4346 |
<tag/0X10/<tt/bg-blue/ |
| 4347 |
<tag/0X20/<tt/bg-green/ |
| 4348 |
<tag/0X40/<tt/bg-red/ |
| 4349 |
<tag/0X80/<tt/blink/ |
| 4350 |
</descrip> |
| 4351 |
</descrip> |
| 4352 |
|
| 4353 |
Examples: |
| 4354 |
<itemize> |
| 4355 |
<item><tt/dot 1 =fg-red/ |
| 4356 |
<item><tt/dot 2 ˜bg-blue/ |
| 4357 |
</itemize> |
| 4358 |
<tag><tt/include/ <em/file/ # <em/comment/</tag> |
| 4359 |
Use the <tt/include/ directive to include the content of an attributes subtable. |
| 4360 |
It is recursive, which means that |
| 4361 |
any attributes subtable can itself include yet another attributes subtable. |
| 4362 |
Care must be taken to ensure that an "include loop" is not created. |
| 4363 |
|
| 4364 |
<descrip> |
| 4365 |
<tag><em/file/</tag> |
| 4366 |
The file to be included. |
| 4367 |
It may be either a relative or an absolute path. |
| 4368 |
If relative, it is anchored at the directory containing the including file. |
| 4369 |
</descrip> |
| 4370 |
</descrip> |
| 4371 |
|
| 4372 |
<sect1>Contraction Tables<label id="table-contraction"><p> |
| 4373 |
Files with names of the form <tt/*.ctb/ are contraction tables, |
| 4374 |
and with names of the form <tt/*.cti/ are contraction subtables. |
| 4375 |
They are used by BRLTTY to translate character sequences on the screen |
| 4376 |
into their corresponding contracted braille representations. |
| 4377 |
|
| 4378 |
BRLTTY presents contracted braille if: |
| 4379 |
<itemize> |
| 4380 |
<item> |
| 4381 |
A contraction table has been selected. |
| 4382 |
See the <ref id="options-contraction-table" name="-c"> command line option |
| 4383 |
and the <ref id="configure-contraction-table" name="contraction-table"> configuration file directive |
| 4384 |
for details. |
| 4385 |
<item> |
| 4386 |
The 6-dot braille feature has been activated. |
| 4387 |
See the <ref id="command-SIXDOTS" name="SIXDOTS"> command |
| 4388 |
and the <ref id="preference-text-style" name="Text Style"> preference |
| 4389 |
for details. |
| 4390 |
</itemize> |
| 4391 |
This feature isn't available if the |
| 4392 |
<ref id="build-contracted-braille" name="--disable-contracted-braille"> build option was specified. |
| 4393 |
|
| 4394 |
The following contraction tables are provided: |
| 4395 |
<table loc="h"> |
| 4396 |
<tabular ca="ll"> |
| 4397 |
Name|Language@ |
| 4398 |
&ContractionTables |
| 4399 |
</tabular> |
| 4400 |
</table> |
| 4401 |
See the <ref id="options-contraction-table" name="-c"> command line option, |
| 4402 |
and the <ref id="configure-contraction-table" name="contraction-table"> configuration file directive |
| 4403 |
for details regarding how to use a contraction table. |
| 4404 |
|
| 4405 |
<sect2>Contraction Table Format<p> |
| 4406 |
A contraction table consists of a sequence of entries, one per line, |
| 4407 |
which define how character sequences are to be represented in braille. |
| 4408 |
<tt/UTF-8/ character encoding must be used. |
| 4409 |
White-space (blanks, tabs) at the beginning of a line, |
| 4410 |
as well as before and/or after any operand, |
| 4411 |
is ignored. |
| 4412 |
Lines containing only white-space are ignored. |
| 4413 |
If the first non-white-space character of a line is "#" |
| 4414 |
then that line is a comment and is ignored. |
| 4415 |
|
| 4416 |
The format of a contraction table entry is: |
| 4417 |
<tscreen><em/directive/ <em/operand/ ... [<em/comment/]</tscreen> |
| 4418 |
Each directive has a specific number of operands. |
| 4419 |
Any text beyond the last operand of a directive is interpreted as a comment. |
| 4420 |
The order of the entries within a contraction table is, in general, |
| 4421 |
anything that is convenient for its maintainer(s). |
| 4422 |
An entry which defines an entity, e.g. <tt/class/, |
| 4423 |
must precede all references to that entity. |
| 4424 |
|
| 4425 |
Entries which match character sequences |
| 4426 |
are automatically rearranged from longest to shortest |
| 4427 |
so that longer matches are always preferred. |
| 4428 |
If more than one entry matches the same character sequence |
| 4429 |
then their original table ordering is maintained. |
| 4430 |
Thus, the same sequence may be translated differently under different circumstances. |
| 4431 |
|
| 4432 |
<sect2>Contraction Table Operands<p> |
| 4433 |
<descrip> |
| 4434 |
<tag><em/characters/</tag> |
| 4435 |
The first operand of a character sequence matching directive |
| 4436 |
is the character sequence to be matched. |
| 4437 |
Each character within the sequence may be: |
| 4438 |
<itemize> |
| 4439 |
<item> |
| 4440 |
Any single character other than a backslash or a white-space character. |
| 4441 |
<item> |
| 4442 |
A backslash-prefixed special character. |
| 4443 |
These are: |
| 4444 |
<descrip> |
| 4445 |
- <tag/\b/The backspace character. |
| 4446 |
- <tag/\f/The formfeed character. |
| 4447 |
- <tag/\n/The newline character. |
| 4448 |
- <tag/\o###/The three-digit octal representation of a character. |
| 4449 |
- <tag/\r/The carriage return character. |
| 4450 |
- <tag/\s/The space character. |
| 4451 |
- <tag/\t/The horizontal tab character. |
| 4452 |
- <tag/\u####/The four-digit hexadecimal representation of a character. |
| 4453 |
- <tag/\U########/The eight-digit hexadecimal representation of a character. |
| 4454 |
- <tag/\v/The vertical tab character. |
| 4455 |
- <tag/\x##/The two-digit hexadecimal representation of a character. |
| 4456 |
- <tag/\X##/... (the case of the X and of the digits isn't significant) |
| 4457 |
- <tag/\#/A literal number sign. |
| 4458 |
- <tag/\<name>/The Unicode name of a character (use _ for space). |
| 4459 |
- <tag/\\/A literal backslash. |
| 4460 |
</descrip> |
| 4461 |
</itemize> |
| 4462 |
<tag><em/representation/</tag> |
| 4463 |
The second operand of those character sequence matching directives which have one |
| 4464 |
is the braille representation of the sequence. |
| 4465 |
Each braille cell is specified as a sequence of one to eight dot numbers. |
| 4466 |
A dot number is a digit within the range <tt/1/-<tt/8/ as defined by the |
| 4467 |
<ref id="dots" name="Standard Braille Dot Numbering Convention">. |
| 4468 |
The special dot number <tt/0/, |
| 4469 |
which may not be used in conjunction with any other dot number, |
| 4470 |
means no dots. |
| 4471 |
</descrip> |
| 4472 |
|
| 4473 |
<sect2>Opcodes<label id="contraction-opcodes"><p> |
| 4474 |
An opcode is a keyword which tells the translator how to interpret the operands. |
| 4475 |
The opcodes are grouped here by function. |
| 4476 |
|
| 4477 |
<sect3>Table Administration<label id="contraction-opcodes-administration"><p> |
| 4478 |
These opcodes make it easier to write contraction tables. |
| 4479 |
They have no direct effect on the character translation. |
| 4480 |
<descrip> |
| 4481 |
<tag><tt/include/ <em/path/<label id="contraction-opcode-include"></tag> |
| 4482 |
Include the contents of another file. |
| 4483 |
Nesting can be to any depth. |
| 4484 |
Relative paths are anchored at the directory of the including file. |
| 4485 |
<tag><tt/locale/ <em/locale/<label id="contraction-opcode-locale"></tag> |
| 4486 |
Define the locale for character interpretation |
| 4487 |
(lowercase, uppercase, numeric, etc.). |
| 4488 |
The locale may be specified as: |
| 4489 |
<descrip> |
| 4490 |
<tag><em/language/[<tt/_/<em/country/][<tt/./<em/charset/][<tt/@/<em/modifier/]</tag> |
| 4491 |
The <em/language/ component is required and should be a two-letter <tt/ISO-639/ language code. |
| 4492 |
The <em/country/ component is optional and should be a two-letter <tt/ISO-3166/ country code. |
| 4493 |
The <em/charset/ component is optional and should be a character set name, e.g. <tt/ISO-8859-1/. |
| 4494 |
<tag/C/ |
| 4495 |
7-bit ASCII. |
| 4496 |
<tag/-/ |
| 4497 |
No locale. |
| 4498 |
</descrip> |
| 4499 |
The last locale specification applies to the entire table. |
| 4500 |
If this opcode isn't used then the <tt/C/ locale is assumed. |
| 4501 |
</descrip> |
| 4502 |
|
| 4503 |
<sect3>Special Symbol Definition<label id="contraction-opcodes-symbols"><p> |
| 4504 |
These opcodes define special symbols which must be |
| 4505 |
inserted into the braille text in order to clarify it. |
| 4506 |
<descrip> |
| 4507 |
<tag><tt/capsign/ <em/dots/<label id="contraction-opcode-capsign"></tag> |
| 4508 |
The symbol which capitalizes a single letter. |
| 4509 |
<tag><tt/begcaps/ <em/dots/<label id="contraction-opcode-begcaps"></tag> |
| 4510 |
The symbol which begins a block of capital letters within a word. |
| 4511 |
<tag><tt/endcaps/ <em/dots/<label id="contraction-opcode-endcaps"></tag> |
| 4512 |
The symbol which ends a block of capital letters within a word. |
| 4513 |
<tag><tt/letsign/ <em/dots/<label id="contraction-opcode-letsign"></tag> |
| 4514 |
The symbol which marks a letter which isn't part of a word. |
| 4515 |
<tag><tt/numsign/ <em/dots/<label id="contraction-opcode-numsign"></tag> |
| 4516 |
The symbol which marks the beginning of a number. |
| 4517 |
</descrip> |
| 4518 |
|
| 4519 |
<sect3>Character Translation<label id="contraction-opcodes-translation"><p> |
| 4520 |
These opcodes define the braille representations for character sequences. |
| 4521 |
Each of them defines an entry within the contraction table. |
| 4522 |
These entries may be defined in any order except, as noted below, |
| 4523 |
when they define alternate representations for the same character sequence. |
| 4524 |
|
| 4525 |
Each of these opcodes has |
| 4526 |
a <em/characters/ operand (which must be specified as a <em/string/), |
| 4527 |
and a built-in condition governing its eligibility for use. |
| 4528 |
The text is processed strictly from left to right, character by character, |
| 4529 |
with the most eligible entry for each position being used. |
| 4530 |
If there's more than one eligible entry for a given position, |
| 4531 |
then the one with the longest character string is used. |
| 4532 |
If there's more than one eligible entry for the same character string, |
| 4533 |
then the one defined nearest to the beginning of the table is used |
| 4534 |
(this is the only order dependency). |
| 4535 |
|
| 4536 |
Many of these opcodes have a <em/dots/ operand |
| 4537 |
which defines the braille representation for its <em/characters/ operand. |
| 4538 |
It may also be specified as an equals sign (<tt/=/), |
| 4539 |
in which case it means one of two things. |
| 4540 |
If the entry is for a single character, |
| 4541 |
then it means that the currently selected computer braille representation |
| 4542 |
(see the <ref id="options-text-table" name="-t"> command line option |
| 4543 |
and the <ref id="configure-text-table" name="text-table"> configuration file directive) |
| 4544 |
for that character is to be used. |
| 4545 |
If it's for a multi-character sequence, |
| 4546 |
then the default representation for each character |
| 4547 |
(see <ref id="contraction-opcode-always" name="always">) |
| 4548 |
within the sequence is to be used. |
| 4549 |
|
| 4550 |
Some special terms are used within the descriptions of these opcodes. |
| 4551 |
<descrip> |
| 4552 |
<tag/word/ |
| 4553 |
A maximal sequence of one or more consecutive letters. |
| 4554 |
</descrip> |
| 4555 |
|
| 4556 |
Now, finally, here are the opcode descriptions themselves: |
| 4557 |
<descrip> |
| 4558 |
<tag><tt/literal/ <em/characters/<label id="contraction-opcode-literal"></tag> |
| 4559 |
Translate the entire white-space-bounded containing character sequence into computer braille |
| 4560 |
(see the <ref id="options-text-table" name="-t"> command line option |
| 4561 |
and the <ref id="configure-text-table" name="text-table"> configuration file directive). |
| 4562 |
<tag><tt/replace/ <em/characters/ <em/characters/<label id="contraction-opcode-replace"></tag> |
| 4563 |
Replace the first set of characters, no matter where they appear, with the second. |
| 4564 |
The replaced characters aren't reprocessed. |
| 4565 |
<tag><tt/always/ <em/characters/ <em/dots/<label id="contraction-opcode-always"></tag> |
| 4566 |
Translate the characters no matter where they appear. |
| 4567 |
If there's only one character, then, in addition, |
| 4568 |
define the default representation for that character. |
| 4569 |
<tag><tt/repeatable/ <em/characters/ <em/dots/<label id="contraction-opcode-repeatable"></tag> |
| 4570 |
Translate the characters no matter where they appear. |
| 4571 |
Ignore any consecutive repetitions of the same sequence. |
| 4572 |
<tag><tt/largesign/ <em/characters/ <em/dots/<label id="contraction-opcode-largesign"></tag> |
| 4573 |
Translate the characters no matter where they appear. |
| 4574 |
Remove white-space between consecutive words matched by this opcode. |
| 4575 |
<tag><tt/lastlargesign/ <em/characters/ <em/dots/<label id="contraction-opcode-lastlargesign"></tag> |
| 4576 |
Translate the characters no matter where they appear. |
| 4577 |
Remove preceding white-space if the previous word was matched by the |
| 4578 |
<ref id="contraction-opcode-largesign" name="largesign"> opcode. |
| 4579 |
<tag><tt/word/ <em/characters/ <em/dots/<label id="contraction-opcode-word"></tag> |
| 4580 |
Translate the characters if they're a word. |
| 4581 |
<tag><tt/joinword/ <em/characters/ <em/dots/<label id="contraction-opcode-joinword"></tag> |
| 4582 |
Translate the characters if they're a word. |
| 4583 |
Remove the following white-space if the first character after it is a letter. |
| 4584 |
<tag><tt/lowword/ <em/characters/ <em/dots/<label id="contraction-opcode-lowword"></tag> |
| 4585 |
Translate the characters if they're a white-space-bounded word. |
| 4586 |
<tag><tt/contraction/ <em/characters/<label id="contraction-opcode-contraction"></tag> |
| 4587 |
Prefix the characters with a letter sign |
| 4588 |
(see <ref id="contraction-opcode-letsign" name="letsign">) |
| 4589 |
if they're a word. |
| 4590 |
<tag><tt/sufword/ <em/characters/ <em/dots/<label id="contraction-opcode-sufword"></tag> |
| 4591 |
Translate the characters if they're either a word or at the beginning of a word. |
| 4592 |
<tag><tt/prfword/ <em/characters/ <em/dots/<label id="contraction-opcode-prfword"></tag> |
| 4593 |
Translate the characters if they're either a word or at the end of a word. |
| 4594 |
<tag><tt/begword/ <em/characters/ <em/dots/<label id="contraction-opcode-begword"></tag> |
| 4595 |
Translate the characters if they're at the beginning of a word. |
| 4596 |
<tag><tt/begmidword/ <em/characters/ <em/dots/<label id="contraction-opcode-begmidword"></tag> |
| 4597 |
Translate the characters if they're either at the beginning or in the middle of a word. |
| 4598 |
<tag><tt/midword/ <em/characters/ <em/dots/<label id="contraction-opcode-midword"></tag> |
| 4599 |
Translate the characters if they're in the middle of a word. |
| 4600 |
<tag><tt/midendword/ <em/characters/ <em/dots/<label id="contraction-opcode-midendword"></tag> |
| 4601 |
Translate the characters if they're either in the middle or at the end of a word. |
| 4602 |
<tag><tt/endword/ <em/characters/ <em/dots/<label id="contraction-opcode-endword"></tag> |
| 4603 |
Translate the characters if they're at the end of a word. |
| 4604 |
<tag><tt/prepunc/ <em/characters/ <em/dots/<label id="contraction-opcode-prepunc"></tag> |
| 4605 |
Translate the characters if they're part of punctuation at the beginning of a word. |
| 4606 |
<tag><tt/postpunc/ <em/characters/ <em/dots/<label id="contraction-opcode-postpunc"></tag> |
| 4607 |
Translate the characters if they're part of punctuation at the end of a word. |
| 4608 |
<tag><tt/begnum/ <em/characters/ <em/dots/<label id="contraction-opcode-begnum"></tag> |
| 4609 |
Translate the characters if they're at the beginning of a number. |
| 4610 |
<tag><tt/midnum/ <em/characters/ <em/dots/<label id="contraction-opcode-midnum"></tag> |
| 4611 |
Translate the characters if they're in the middle of a number. |
| 4612 |
<tag><tt/endnum/ <em/characters/ <em/dots/<label id="contraction-opcode-endnum"></tag> |
| 4613 |
Translate the characters if they're at the end of a number. |
| 4614 |
</descrip> |
| 4615 |
|
| 4616 |
<sect3>Character Classes<label id="contraction-opcodes-classes"><p> |
| 4617 |
These opcodes define and use character classes. |
| 4618 |
A character class associates a set of characters with a name. |
| 4619 |
The name then refers to any character within the class. |
| 4620 |
A character may belong to more than one class. |
| 4621 |
|
| 4622 |
The following character classes are automatically predefined |
| 4623 |
based on the selected locale: |
| 4624 |
<descrip> |
| 4625 |
<tag/digit/ |
| 4626 |
Numeric characters. |
| 4627 |
<tag/letter/ |
| 4628 |
Both uppercase and lowercase alphabetic characters. |
| 4629 |
Some locales have additional letters which are neither uppercase nor lowercase. |
| 4630 |
<tag/lowercase/ |
| 4631 |
Lowercase alphabetic characters. |
| 4632 |
<tag/punctuation/ |
| 4633 |
Printable characters which are neither white-space nor alphanumeric. |
| 4634 |
<tag/space/ |
| 4635 |
White-space characters. |
| 4636 |
In the default locale these are: |
| 4637 |
space, horizontal tab, vertical tab, carriage return, new line, form feed. |
| 4638 |
<tag/uppercase/ |
| 4639 |
Uppercase alphabetic characters. |
| 4640 |
</descrip> |
| 4641 |
|
| 4642 |
The opcodes which define and use character classes are: |
| 4643 |
<descrip> |
| 4644 |
<tag><tt/class/ <em/name/ <em/characters/<label id="contraction-opcode-class"></tag> |
| 4645 |
Define a new character class. |
| 4646 |
The <em/characters/ operand must be specified as a <em/string/. |
| 4647 |
A character class may not be used until it's been defined. |
| 4648 |
<tag><tt/after/ <em/class/ <em/opcode/ ...<label id="contraction-opcode-after"></tag> |
| 4649 |
The specified opcode is further constrained in that |
| 4650 |
the matched character sequence must be immediately preceded by |
| 4651 |
a character belonging to the specified class. |
| 4652 |
If this opcode is used more than once on the same line |
| 4653 |
then the union of the characters in all the classes is used. |
| 4654 |
<tag><tt/before/ <em/class/ <em/opcode/ ...<label id="contraction-opcode-before"></tag> |
| 4655 |
The specified opcode is further constrained in that |
| 4656 |
the matched character sequence must be immediately followed by |
| 4657 |
a character belonging to the specified class. |
| 4658 |
If this opcode is used more than once on the same line |
| 4659 |
then the union of the characters in all the classes is used. |
| 4660 |
</descrip> |
| 4661 |
|
| 4662 |
<sect1>Key Tables<label id="table-key"><p> |
| 4663 |
Files with names of the form <tt/*.ktb/ are key tables, |
| 4664 |
and with names of the form <tt/*.kti/ are key subtables. |
| 4665 |
They are used by BRLTTY to bind |
| 4666 |
braille display and keyboard key combinations |
| 4667 |
to BRLTTY commands. |
| 4668 |
|
| 4669 |
The names of braille display key table files begin with <tt/brl-/<em/xx/<tt/-/", |
| 4670 |
where <em/xx/ is the two-letter |
| 4671 |
<ref id="drivers" name="driver identification code">. |
| 4672 |
The rest of the name identifies the model(s) |
| 4673 |
for which the key table is used. |
| 4674 |
|
| 4675 |
The names of keyboard table files begin with <tt/kbd-/. |
| 4676 |
The rest of the name describes the kind of keyboard |
| 4677 |
for which the keyboard table has been designed. |
| 4678 |
|
| 4679 |
The following keyboard tables are provided: |
| 4680 |
<descrip> |
| 4681 |
<tag/braille/bindings for braille keyboards |
| 4682 |
<tag/desktop/bindings for full keyboards |
| 4683 |
<tag/keypad/bindings for keypad-based navigation |
| 4684 |
<tag/laptop/bindings for keyboards without a keypad |
| 4685 |
<tag/sun_type6/bindings for Sun Type 6 keyboards |
| 4686 |
</descrip> |
| 4687 |
See the <ref id="options-keyboard-table" name="-k"> command line option, |
| 4688 |
and the <ref id="configure-keyboard-table" name="keyboard-table"> configuration file directive |
| 4689 |
for details regarding how to select a keyboard table. |
| 4690 |
|
| 4691 |
<sect2>Key Table Directives<p> |
| 4692 |
A key table consists of a sequence of directives, one per line, |
| 4693 |
which define how keys and key combinations are to be interpreted. |
| 4694 |
<tt/UTF-8/ character encoding must be used. |
| 4695 |
White-space (blanks, tabs) at the beginning of a line, |
| 4696 |
as well as before and/or after any operand, |
| 4697 |
is ignored. |
| 4698 |
Lines containing only white-space are ignored. |
| 4699 |
If the first non-white-space character of a line is a number (<tt/#/) sign |
| 4700 |
then that line is a comment and is ignored. |
| 4701 |
|
| 4702 |
The precedence for resolving each key press/release event is as follows: |
| 4703 |
<enum> |
| 4704 |
<item> |
| 4705 |
A hotkey press or release defined within the current context. |
| 4706 |
See the |
| 4707 |
<ref id="key-table-hotkey" name="hotkey"> |
| 4708 |
directive for details. |
| 4709 |
<item> |
| 4710 |
A key combination defined within the current context. |
| 4711 |
See the |
| 4712 |
<ref id="key-table-bind" name="bind"> |
| 4713 |
directive for details. |
| 4714 |
<item> |
| 4715 |
A braille keyboard command defined within the current context. |
| 4716 |
See the |
| 4717 |
<ref id="key-table-map" name="map"> |
| 4718 |
and |
| 4719 |
<ref id="key-table-superimpose" name="superimpose"> |
| 4720 |
directives for details. |
| 4721 |
<item> |
| 4722 |
A key combination defined within the default context. |
| 4723 |
See the |
| 4724 |
<ref id="key-table-bind" name="bind"> |
| 4725 |
directive for details. |
| 4726 |
</enum> |
| 4727 |
|
| 4728 |
The following directives are provided: |
| 4729 |
|
| 4730 |
<sect3>The Assign Directive<label id="key-table-assign"><p> |
| 4731 |
Create or update a variable associated with the current include level. |
| 4732 |
The variable is visible to the current and to lower include levels, |
| 4733 |
but not to higher include levels. |
| 4734 |
|
| 4735 |
<tt/assign/ <em/variable/ [<em/value/] |
| 4736 |
<descrip> |
| 4737 |
<tag><em/variable/</tag> |
| 4738 |
The name of the variable. |
| 4739 |
If the variable doesn't already exist at the current include level |
| 4740 |
then it is created. |
| 4741 |
<tag><em/value/</tag> |
| 4742 |
The value which is to be assigned to the variable. |
| 4743 |
If it's not supplied then a zero-length (null) value is assigned. |
| 4744 |
</descrip> |
| 4745 |
|
| 4746 |
The escape sequence \{variable} is substituted |
| 4747 |
with the value of the variable named within the braces. |
| 4748 |
The variable must have been defined |
| 4749 |
at the current or at a higher include level. |
| 4750 |
|
| 4751 |
Examples: |
| 4752 |
<itemize> |
| 4753 |
<item><tt/assign nullValue/ |
| 4754 |
<item><tt/assign ReturnKey Key1/ |
| 4755 |
<item><tt/bind \{ReturnKey} RETURN/ |
| 4756 |
</itemize> |
| 4757 |
|
| 4758 |
<sect3>The Bind Directive<label id="key-table-bind"><p> |
| 4759 |
Define which BRLTTY command is executed |
| 4760 |
when a particular combination of one or more keys is pressed. |
| 4761 |
The binding is defined within the current context. |
| 4762 |
|
| 4763 |
<tt/bind/ <em/keys/ <em/command/ |
| 4764 |
<descrip> |
| 4765 |
<tag><em/keys/</tag> |
| 4766 |
The key combination which is to be bound. |
| 4767 |
It's a sequence of one or more key names |
| 4768 |
separated by plus (<tt/+/) signs. |
| 4769 |
The final (or only) key name may be optionally prefixed |
| 4770 |
with an exclamation (<tt/!/) point. |
| 4771 |
The keys may be pressed in any order, with the exception that |
| 4772 |
if the final key name is prefixed with an exclamation point |
| 4773 |
then it must be pressed last. |
| 4774 |
The exclamation point prefix means that |
| 4775 |
the command is executed as soon as that key is pressed. |
| 4776 |
If not used, |
| 4777 |
the command is executed as soon as any of the keys is released. |
| 4778 |
<tag><em/command/</tag> |
| 4779 |
The name of a BRLTTY command. |
| 4780 |
One or more modifiers may be optionally appended to the command name |
| 4781 |
by using a plus (<tt/+/) sign as the separator. |
| 4782 |
<itemize> |
| 4783 |
<item> |
| 4784 |
For commands which enable/disable a feature: |
| 4785 |
<itemize> |
| 4786 |
<item> |
| 4787 |
If the modifier <tt/+on/ is specified |
| 4788 |
then the feature is enabled. |
| 4789 |
<item> |
| 4790 |
If the modifier <tt/+off/ is specified |
| 4791 |
then the feature is disabled. |
| 4792 |
<item> |
| 4793 |
If neither <tt/+on/ nor <tt/+off/ is specified |
| 4794 |
then the state of the feature is toggled on/off. |
| 4795 |
</itemize> |
| 4796 |
<item> |
| 4797 |
For commands which move the braille window: |
| 4798 |
<itemize> |
| 4799 |
<item> |
| 4800 |
If the modifier <tt/+route/ is specified |
| 4801 |
then, if necessary, the cursor is automatically routed |
| 4802 |
so that it's always visible on the braille display. |
| 4803 |
</itemize> |
| 4804 |
<item> |
| 4805 |
For commands which move the braille window to a specific line on the screen: |
| 4806 |
<itemize> |
| 4807 |
<item> |
| 4808 |
If the modifier <tt/+toleft/ is specified |
| 4809 |
then the braille window is also moved |
| 4810 |
to the beginning of that line. |
| 4811 |
<item> |
| 4812 |
If the modifier <tt/+scaled/ is specified |
| 4813 |
then the set of keys bound to the command |
| 4814 |
is interpreted as though it were a scroll bar. |
| 4815 |
If it isn't, |
| 4816 |
then there's a one-to-one correspondence |
| 4817 |
between keys and lines. |
| 4818 |
</itemize> |
| 4819 |
<item> |
| 4820 |
For commands which require an offset: |
| 4821 |
<itemize> |
| 4822 |
<item> |
| 4823 |
The modifier +<em/offset/, |
| 4824 |
where <em/offset/ is a non-negative integer, |
| 4825 |
may be specified. |
| 4826 |
If it isn't supplied then <tt/+0/ is assumed. |
| 4827 |
</itemize> |
| 4828 |
</itemize> |
| 4829 |
</descrip> |
| 4830 |
|
| 4831 |
Examples: |
| 4832 |
<itemize> |
| 4833 |
<item><tt/bind Key1 CSRTRK/ |
| 4834 |
<item><tt/bind Key1+Key2 CSRTRK+off/ |
| 4835 |
<item><tt/bind Key1+Key3 CSRTRK+on/ |
| 4836 |
<item><tt/bind Key4 TOP/ |
| 4837 |
<item><tt/bind Key5 TOP+route/ |
| 4838 |
<item><tt/bind VerticalSensor GOTOLINE+toleft+scaled/ |
| 4839 |
<item><tt/bind Key6 CONTEXT+1/ |
| 4840 |
</itemize> |
| 4841 |
|
| 4842 |
<sect3>The Context Directive<label id="key-table-context"><p> |
| 4843 |
Define alternate ways to interpret certain key events and/or combinations. |
| 4844 |
A context contains definitions created by the |
| 4845 |
<ref id="key-table-bind" name="bind">, |
| 4846 |
<ref id="key-table-hotkey" name="hotkey">, |
| 4847 |
<ref id="key-table-ignore" name="ignore">, |
| 4848 |
<ref id="key-table-map" name="map">, |
| 4849 |
and |
| 4850 |
<ref id="key-table-superimpose" name="superimpose"> |
| 4851 |
directives. |
| 4852 |
|
| 4853 |
<tt/context/ <em/name/ [<em/title/] |
| 4854 |
<descrip> |
| 4855 |
<tag><em/name/</tag> |
| 4856 |
Which context subsequent definitions are to be created within. |
| 4857 |
These special contexts are predefined: |
| 4858 |
<descrip> |
| 4859 |
<tag/default/ |
| 4860 |
The default context. |
| 4861 |
If a key combination hasn't been defined within the current context |
| 4862 |
then its definition within the default context is used. |
| 4863 |
This only applies to definitions created by |
| 4864 |
the <ref id="key-table-bind" name="bind"> directive. |
| 4865 |
<tag/menu/ |
| 4866 |
This context is used when within BRLTTY's preferences menu. |
| 4867 |
</descrip> |
| 4868 |
<tag><em/title/</tag> |
| 4869 |
A person-readable description of the context. |
| 4870 |
It may contain spaces, |
| 4871 |
and standard capitalization conventions should be used. |
| 4872 |
This operand is optional. |
| 4873 |
If supplied when selecting a context which already has a title |
| 4874 |
then the two must match. |
| 4875 |
Special contexts already have internally-assigned titles. |
| 4876 |
</descrip> |
| 4877 |
|
| 4878 |
A context is created the first time it's selected. |
| 4879 |
It may be reselected any number of times thereafter. |
| 4880 |
|
| 4881 |
All subsequent definitions until |
| 4882 |
either the next <ref id="key-table-context" name="context"> directive |
| 4883 |
or the end of the current include level |
| 4884 |
are created within the selected context. |
| 4885 |
The initial context of the top-level key table is <tt/default/. |
| 4886 |
The initial context of an included key subtable |
| 4887 |
is the context which was selected when it was included. |
| 4888 |
Context changes within included key subtables |
| 4889 |
don't affect the context of the including key table or subtable. |
| 4890 |
|
| 4891 |
If a context has a title |
| 4892 |
then it is persistent. |
| 4893 |
When a key event causes a persistent context to be activated, |
| 4894 |
that context remains current until a subsequent key event |
| 4895 |
causes a different persistent context to be activated. |
| 4896 |
|
| 4897 |
If a context doesn't have a title |
| 4898 |
then it is temporary. |
| 4899 |
When a key event causes a temporary context to be activated, |
| 4900 |
that context is only used to interpret the very next key event. |
| 4901 |
|
| 4902 |
Examples: |
| 4903 |
<itemize> |
| 4904 |
<item><tt/context menu/ |
| 4905 |
<item><tt/context braille Braille Input/ |
| 4906 |
<item><tt/context DESCCHAR/ |
| 4907 |
</itemize> |
| 4908 |
|
| 4909 |
<sect3>The Hide Directive<label id="key-table-hide"><p> |
| 4910 |
Specify whether or not certain definitions (see the |
| 4911 |
<ref id="key-table-bind" name="bind">, |
| 4912 |
<ref id="key-table-hotkey" name="hotkey">, |
| 4913 |
<ref id="key-table-map" name="map">, |
| 4914 |
and |
| 4915 |
<ref id="key-table-superimpose" name="superimpose"> |
| 4916 |
directives) and notes (see the |
| 4917 |
<ref id="key-table-note" name="note"> |
| 4918 |
directive) are included within the key table's help text. |
| 4919 |
|
| 4920 |
<tt/hide/ <em/state/ |
| 4921 |
<descrip> |
| 4922 |
<tag><em/state/</tag> |
| 4923 |
One of these keywords: |
| 4924 |
<descrip> |
| 4925 |
<tag/on/They're excluded. |
| 4926 |
<tag/off/They're included. |
| 4927 |
</descrip> |
| 4928 |
</descrip> |
| 4929 |
|
| 4930 |
The specified state applies to all subsequent definitions and notes |
| 4931 |
until either the next <tt/hide/ directive |
| 4932 |
or the end of the current include level. |
| 4933 |
The initial state of the top-level key table is <tt/off/. |
| 4934 |
The initial state of an included key subtable |
| 4935 |
is the state which was selected when it was included. |
| 4936 |
State changes within included key subtables |
| 4937 |
don't affect the state of the including key table or subtable. |
| 4938 |
|
| 4939 |
Examples: |
| 4940 |
<itemize> |
| 4941 |
<item><tt/hide on/ |
| 4942 |
</itemize> |
| 4943 |
|
| 4944 |
<sect3>The Hotkey Directive<label id="key-table-hotkey"><p> |
| 4945 |
Bind the press and release events of a specific key |
| 4946 |
to two separate BRLTTY commands. |
| 4947 |
The bindings are defined within the current context. |
| 4948 |
|
| 4949 |
<tt/hotkey/ <em/key/ <em/press/ <em/release/ |
| 4950 |
<descrip> |
| 4951 |
<tag><em/key/</tag> |
| 4952 |
The name of the key which is to be bound. |
| 4953 |
<tag><em/press/</tag> |
| 4954 |
The name of the BRLTTY command |
| 4955 |
which is to be executed whenever the key is pressed. |
| 4956 |
<tag><em/release/</tag> |
| 4957 |
The name of the BRLTTY command |
| 4958 |
which is to be executed whenever the key is released. |
| 4959 |
</descrip> |
| 4960 |
|
| 4961 |
Modifiers may be appended to the command names. |
| 4962 |
See the <em/command/ operand |
| 4963 |
of the <ref id="key-table-bind" name="bind"> directive |
| 4964 |
for details. |
| 4965 |
|
| 4966 |
Specify <tt/NOOP/ if no command is to be executed. |
| 4967 |
Specifying <tt/NOOP/ for both commands |
| 4968 |
effectively disables the key. |
| 4969 |
|
| 4970 |
Examples: |
| 4971 |
<itemize> |
| 4972 |
<item><tt/hotkey Key1 CSRVIS+off CSRVIS+on/ |
| 4973 |
<item><tt/hotkey Key2 NOOP NOOP/ |
| 4974 |
</itemize> |
| 4975 |
|
| 4976 |
<sect3>The IfKey Directive<label id="key-table-ifkey"><p> |
| 4977 |
Conditionally process a key table directive |
| 4978 |
only if the device has a particular key. |
| 4979 |
|
| 4980 |
<tt/ifkey/ <em/key/ <em/directive/ |
| 4981 |
<descrip> |
| 4982 |
<tag><em/key/</tag> |
| 4983 |
The name of the key whose availability is to be tested. |
| 4984 |
<tag><em/directive/</tag> |
| 4985 |
The key table directive which is to be conditionally processed. |
| 4986 |
</descrip> |
| 4987 |
|
| 4988 |
Examples: |
| 4989 |
<itemize> |
| 4990 |
<item><tt/ifkey Key1 ifkey Key2 bind Key1+Key2 HOME/ |
| 4991 |
</itemize> |
| 4992 |
|
| 4993 |
<sect3>The Include Directive<label id="key-table-include"><p> |
| 4994 |
Process the directives within a key subtable. |
| 4995 |
It's recursive, which means that |
| 4996 |
any key subtable can itself include yet another key subtable. |
| 4997 |
Care must be taken to ensure that an "include loop" is not created. |
| 4998 |
|
| 4999 |
<tt/include/ <em/file/ |
| 5000 |
<descrip> |
| 5001 |
<tag><em/file/</tag> |
| 5002 |
The key subtable which is to be included. |
| 5003 |
It may be either a relative or an absolute path. |
| 5004 |
If relative, it's anchored at |
| 5005 |
the directory containing the including key table or subtable. |
| 5006 |
</descrip> |
| 5007 |
|
| 5008 |
Examples: |
| 5009 |
<itemize> |
| 5010 |
<item><tt/include common.kti/ |
| 5011 |
<item><tt>include /path/to/my/keys.kti</tt> |
| 5012 |
</itemize> |
| 5013 |
|
| 5014 |
<sect3>The Ignore Directive<label id="key-table-ignore"><p> |
| 5015 |
Ignore a specific key while within the current context. |
| 5016 |
|
| 5017 |
<tt/ignore/ <em/key/ |
| 5018 |
<descrip> |
| 5019 |
<tag><em/key/</tag> |
| 5020 |
The name of the key which is to be ignored. |
| 5021 |
</descrip> |
| 5022 |
|
| 5023 |
Examples: |
| 5024 |
<itemize> |
| 5025 |
<item><tt/ignore Key1/ |
| 5026 |
</itemize> |
| 5027 |
|
| 5028 |
<sect3>The Map Directive<label id="key-table-map"><p> |
| 5029 |
Map a key to a braille keyboard function. |
| 5030 |
The mapping is defined within the current context. |
| 5031 |
|
| 5032 |
<tt/map/ <em/key/ <em/function/ |
| 5033 |
<descrip> |
| 5034 |
<tag><em/key/</tag> |
| 5035 |
The name of the key which is to be mapped. |
| 5036 |
More than one key may be mapped to the same braille keyboard function. |
| 5037 |
<tag><em/function/</tag> |
| 5038 |
The name of the braille keyboard function. |
| 5039 |
It may be one of the following keywords: |
| 5040 |
<descrip> |
| 5041 |
<tag/DOT1/The upper-left standard braille dot. |
| 5042 |
<tag/DOT2/The middle-left standard braille dot. |
| 5043 |
<tag/DOT3/The lower-left standard braille dot. |
| 5044 |
<tag/DOT4/The upper-right standard braille dot. |
| 5045 |
<tag/DOT5/The middle-right standard braille dot. |
| 5046 |
<tag/DOT6/The lower-right standard braille dot. |
| 5047 |
<tag/DOT7/The lower-left computer braille dot. |
| 5048 |
<tag/DOT8/The lower-right computer braille dot. |
| 5049 |
<tag/SPACE/The space bar. |
| 5050 |
<tag/SHIFT/The shift key. |
| 5051 |
<tag/UPPER/ |
| 5052 |
If a lowercase letter is being entered |
| 5053 |
then translate it to its uppercase equivalent. |
| 5054 |
<tag/CONTROL/The control key. |
| 5055 |
<tag/META/The left alt key. |
| 5056 |
</descrip> |
| 5057 |
</descrip> |
| 5058 |
|
| 5059 |
If a key combination consists only of keys |
| 5060 |
which have been mapped to braille keyboard functions, |
| 5061 |
and if those functions when combined form a valid braille keyboard command, |
| 5062 |
then that command is executed as soon as any of the keys is released. |
| 5063 |
A valid braille keyboard command must include |
| 5064 |
either any combination of dot keys or the space bar (but not both). |
| 5065 |
If at least one dot key is included |
| 5066 |
then the braille keyboard functions specified by the |
| 5067 |
<ref id="key-table-superimpose" name="superimpose"> |
| 5068 |
directives within the same context are also implicitly included. |
| 5069 |
|
| 5070 |
Examples: |
| 5071 |
<itemize> |
| 5072 |
<item><tt/map Key1 DOT1/ |
| 5073 |
</itemize> |
| 5074 |
|
| 5075 |
<sect3>The Note Directive<label id="key-table-note"><p> |
| 5076 |
Add a person-readable explanation to the key table's help text. |
| 5077 |
Notes are commonly used, for example, |
| 5078 |
to describe the placement, sizes, and shapes of the keys on the device. |
| 5079 |
|
| 5080 |
<tt/note/ <em/text/ |
| 5081 |
<descrip> |
| 5082 |
<tag><em/text/</tag> |
| 5083 |
The explanation which is to be added. |
| 5084 |
It may contain spaces, |
| 5085 |
and should be grammatically correct. |
| 5086 |
</descrip> |
| 5087 |
|
| 5088 |
Each note specifies exactly one line of explanatory text. |
| 5089 |
Leading space is ignored so indentation cannot be specified. |
| 5090 |
|
| 5091 |
There's no limit to the number of notes which may be specified. |
| 5092 |
All of them are gathered together |
| 5093 |
and presented in a single block |
| 5094 |
at the start of the key table's help text. |
| 5095 |
|
| 5096 |
Examples: |
| 5097 |
<itemize> |
| 5098 |
<item><tt/note Key1 is the round key at the far left on the front surface./ |
| 5099 |
</itemize> |
| 5100 |
|
| 5101 |
<sect3>The Superimpose Directive<label id="key-table-superimpose"><p> |
| 5102 |
Implicitly include a braille keyboard function whenever |
| 5103 |
a braille keyboard command consisting of at least one dot is executed. |
| 5104 |
The implicit inclusion is defined within the current context. |
| 5105 |
Any number of them may be specified. |
| 5106 |
|
| 5107 |
<tt/superimpose/ <em/function/ |
| 5108 |
<descrip> |
| 5109 |
<tag><em/function/</tag> |
| 5110 |
The name of the braille keyboard function. |
| 5111 |
See the <em/function/ operand |
| 5112 |
of the <ref id="key-table-map" name="map"> directive |
| 5113 |
for details. |
| 5114 |
</descrip> |
| 5115 |
|
| 5116 |
Examples: |
| 5117 |
<itemize> |
| 5118 |
<item><tt/superimpose DOT7/ |
| 5119 |
</itemize> |
| 5120 |
|
| 5121 |
<sect3>The Title Directive<label id="key-table-title"><p> |
| 5122 |
Provide a person-readable summary of the key table's purpose. |
| 5123 |
|
| 5124 |
<tt/title/ <em/text/ |
| 5125 |
<descrip> |
| 5126 |
<tag><em/text/</tag> |
| 5127 |
A one-line summary of what the key table is used for. |
| 5128 |
It may contain spaces, |
| 5129 |
and standard capitalization conventions should be used. |
| 5130 |
</descrip> |
| 5131 |
|
| 5132 |
The title of the key table may be specified only once. |
| 5133 |
|
| 5134 |
Examples: |
| 5135 |
<itemize> |
| 5136 |
<item><tt/title Bindings for Keypad-based Navigation/ |
| 5137 |
</itemize> |
| 5138 |
|
| 5139 |
<sect2>Keyboard Properties<label id="keyboard-properties"><p> |
| 5140 |
The default is that all keyboards are monitored. |
| 5141 |
A subset of the keyboards may be selected by specifying one or more of the following properties |
| 5142 |
(see the <ref id="options-keyboard-properties" name="-K"> command line option, |
| 5143 |
and the <ref id="configure-keyboard-properties" name="keyboard-properties"> configuration file directive): |
| 5144 |
<descrip> |
| 5145 |
<tag/type/ |
| 5146 |
The bus type, specified as one of the following keywords: |
| 5147 |
<tt/any/, |
| 5148 |
<tt/ps2/, |
| 5149 |
<tt/usb/, |
| 5150 |
<tt/bluetooth/. |
| 5151 |
<tag/vendor/ |
| 5152 |
The vendor identifier, specified as a 16-bit unsigned integer. |
| 5153 |
<tag/product/ |
| 5154 |
The product identifier, specified as a 16-bit unsigned integer. |
| 5155 |
</descrip> |
| 5156 |
|
| 5157 |
The vendor and product identifiers may be specified in |
| 5158 |
decimal (no prefix), |
| 5159 |
octal (prefixed by <tt/0/), |
| 5160 |
or hexadecimal (prefixed by <tt/0x/). |
| 5161 |
Specifying <tt/0/ means match any value |
| 5162 |
(as if the property weren't specified). |
| 5163 |
|
| 5164 |
<sect>Advanced Topics<p> |
| 5165 |
|
| 5166 |
<sect1>Installing Multiple Versions<label id="multiple"><p> |
| 5167 |
It's easy to have more than one version of BRLTTY |
| 5168 |
installed on the same system at the same time. |
| 5169 |
This capability allows you to test a new version before removing the old one. |
| 5170 |
|
| 5171 |
The <ref id="build-execute-root" name="--with-execute-root"> build option allows you |
| 5172 |
to install the complete <ref id="hierarchy" name="installed file hierarchy"> |
| 5173 |
anywhere you want such that it's entirely self-contained. |
| 5174 |
Remembering that it's best to keep all of BRLTTY's components |
| 5175 |
within the root file system, you can build it like this: |
| 5176 |
<tscreen><verb> |
| 5177 |
./configure --with-execute-root=/brltty-3.1 |
| 5178 |
make install |
| 5179 |
</verb></tscreen> |
| 5180 |
You can then run it like this: |
| 5181 |
<tscreen>/brltty-3.1/bin/brltty</tscreen> |
| 5182 |
When version 3.2 is released, just install it in a different location |
| 5183 |
and run the new executable from there. |
| 5184 |
<tscreen><verb> |
| 5185 |
./configure --with-execute-root=/brltty-3.2 |
| 5186 |
make install |
| 5187 |
/brltty-3.2/bin/brltty |
| 5188 |
</verb></tscreen> |
| 5189 |
|
| 5190 |
So far, this paradigm is somewhat awkward for at least two reasons. |
| 5191 |
One is that these long path names are too hard to type, |
| 5192 |
and the other is that you don't want to fiddle with your system's boot sequence |
| 5193 |
each time you want to switch to a different version of BRLTTY. |
| 5194 |
These problems are easily solved by adding a symbolic link for the executable. |
| 5195 |
<tscreen>ln -s /brltty-3.1/bin/brltty /bin/brltty</tscreen> |
| 5196 |
When it's time to switch to the newer version, just repoint the symbolic link. |
| 5197 |
<tscreen>ln -s /brltty-3.2/bin/brltty /bin/brltty</tscreen> |
| 5198 |
|
| 5199 |
If you'd like to get really fancy, then introduce another level of indirection |
| 5200 |
in order to make all of BRLTTY's files for any given version |
| 5201 |
look like they're in all of the standard places. |
| 5202 |
First, create a symbolic link through a common repointable location |
| 5203 |
from each of BRLTTY's standard locations. |
| 5204 |
<tscreen><verb> |
| 5205 |
ln -s /brltty/bin/brltty /bin/brltty |
| 5206 |
ln -s /brltty/etc/brltty /etc/brltty |
| 5207 |
ln -s /brltty/lib/brltty /lib/brltty |
| 5208 |
</verb></tscreen> |
| 5209 |
Then all you need to do is to point <tt>/brltty</> to the desired version. |
| 5210 |
<tscreen>ln -s /brltty-3.1 /brltty</tscreen> |
| 5211 |
|
| 5212 |
<sect1>Installation/Rescue Root Disks for Linux<p> |
| 5213 |
BRLTTY can run as a stand-alone executable. |
| 5214 |
Everything it needs to know can be explicitly configured at build-time |
| 5215 |
(see <ref id="build" name="Build Options">). |
| 5216 |
If the data directory |
| 5217 |
(see the <ref id="build-data-directory" name="--with-data-directory"> |
| 5218 |
and <ref id="build-execute-root" name="--with-execute-root"> build options) |
| 5219 |
doesn't exist, then BRLTTY looks in <tt>/etc</> for the files it needs. |
| 5220 |
Even if any of these files don't exist at all, BRLTTY still works! |
| 5221 |
|
| 5222 |
If, for some reason, you ever create the data directory |
| 5223 |
(usually <tt>/etc/brltty</>) by hand, it's important |
| 5224 |
to set its permissions so that only root can create files within it. |
| 5225 |
<tscreen>chmod 755 /etc/brltty</tscreen> |
| 5226 |
|
| 5227 |
The screen content inspection device (usually <tt>/dev/vcsa</>) is required. |
| 5228 |
It should already exist unless your Linux distribution is quite old. |
| 5229 |
If necessary, you can create it with: |
| 5230 |
<tscreen><verb> |
| 5231 |
mknod /dev/vcsa c 7 128 |
| 5232 |
chmod 660 /dev/vcsa |
| 5233 |
chown root.tty /dev/vcsa |
| 5234 |
</verb></tscreen> |
| 5235 |
|
| 5236 |
One problem often encountered when trying to use BRLTTY |
| 5237 |
in an uncertain environment like a root disk or an incomplete system is |
| 5238 |
that it might not find the shared libraries (or parts thereof) which it needs. |
| 5239 |
Root disks often use subset and/or outdated versions of the libraries |
| 5240 |
which may be inadequate. |
| 5241 |
The solution is to configure BRLTTY with the |
| 5242 |
<ref id="build-standalone-programs" name="--enable-standalone-programs"> build option. |
| 5243 |
This removes all dependencies on shared libraries, |
| 5244 |
but, unfortunately, also creates a larger executable. |
| 5245 |
There are a number of build options which can be used |
| 5246 |
to selectively remove unneeded features from BRLTTY |
| 5247 |
in order to somewhat mitigate this problem |
| 5248 |
(see section <ref id="build-features" name="Build Features">). |
| 5249 |
|
| 5250 |
The executable is stripped during the <ref id="make-install" name="make install">. |
| 5251 |
This significantly reduces its size by removing its symbol table. |
| 5252 |
You'll get a much smaller executable, therefore, |
| 5253 |
if you complete the full build procedure, |
| 5254 |
and then copy it from its installed location. |
| 5255 |
If, however, you copy it from the build directory, it'll be way too big. |
| 5256 |
Don't forget to strip it. |
| 5257 |
<tscreen>strip brltty</tscreen> |
| 5258 |
|
| 5259 |
<sect1>Future Enhancements<p> |
| 5260 |
Apart from fixing bugs and supporting more types of braille displays, |
| 5261 |
we hope, time permitting, to work on the following: |
| 5262 |
<descrip> |
| 5263 |
<tag/Better Attribute Handling/ |
| 5264 |
<itemize> |
| 5265 |
<item>Attribute tracking. |
| 5266 |
<item>Mixed text and attribute mode. |
| 5267 |
</itemize> |
| 5268 |
<tag/Scroll Tracking/ |
| 5269 |
Locking the braille window to one line as it scrolls on the screen. |
| 5270 |
<tag/Better Speech Support/ |
| 5271 |
<itemize> |
| 5272 |
<item>Mixed braille and speech for faster reading of text. |
| 5273 |
<item>Better speech navigation. |
| 5274 |
<item>More speech synthesizers. |
| 5275 |
</itemize> |
| 5276 |
<tag/Screen Subregions/ |
| 5277 |
Ignore cursor motion outside the region, |
| 5278 |
and set soft navigational boundaries at the edges of the region. |
| 5279 |
</descrip> |
| 5280 |
See the file <tt/TODO/ for a more complete list. |
| 5281 |
|
| 5282 |
<sect1>Known Bugs<p> |
| 5283 |
At the time of writing (December 2001), the following problems are known: |
| 5284 |
|
| 5285 |
Cursor routing is implemented as a looping sub-process |
| 5286 |
which runs at reduced priority to avoid using too much cpu time. |
| 5287 |
Different system loads require different settings of its parameters. |
| 5288 |
The defaults work very well |
| 5289 |
in a typical Unix editor on a fairly lightly loaded system, |
| 5290 |
but very poorly in some other situations, |
| 5291 |
e.g. over a slow serial link to a remote host. |
| 5292 |
|
| 5293 |
<appendix> |
| 5294 |
|
| 5295 |
<sect>Supported Braille Displays<label id="displays"><p> |
| 5296 |
BRLTTY supports the following braille displays: |
| 5297 |
<table loc="h"> |
| 5298 |
<tabular ca="ll"> |
| 5299 |
Name|Models@<hline> |
| 5300 |
&BrailleDrivers |
| 5301 |
</tabular> |
| 5302 |
</table> |
| 5303 |
|
| 5304 |
<sect>Supported Speech Synthesizers<label id="synthesizers"><p> |
| 5305 |
BRLTTY supports the following speech synthesizers: |
| 5306 |
<table loc="h"> |
| 5307 |
<tabular ca="ll"> |
| 5308 |
Name|Models@<hline> |
| 5309 |
&SpeechDrivers |
| 5310 |
</tabular> |
| 5311 |
</table> |
| 5312 |
|
| 5313 |
<sect>Driver Identification Codes<label id="drivers"><p> |
| 5314 |
<table loc="h"> |
| 5315 |
<tabular ca="ll"> |
| 5316 |
Code|Name@<hline> |
| 5317 |
&DriverCodes |
| 5318 |
</tabular> |
| 5319 |
</table> |
| 5320 |
|
| 5321 |
<sect>Supported Screen Drivers<label id="screen"><p> |
| 5322 |
BRLTTY supports the following screen drivers: |
| 5323 |
<descrip> |
| 5324 |
<tag/as/ |
| 5325 |
AT-SPI |
| 5326 |
<tag/hd/ |
| 5327 |
This driver provides direct access to the Hurd console screen. |
| 5328 |
It's only selectable, and is the default, on Hurd systems. |
| 5329 |
<tag/lx/ |
| 5330 |
This driver provides direct access to the Linux console screen. |
| 5331 |
It's only selectable, and is the default, on Linux systems. |
| 5332 |
<tag/sc/ |
| 5333 |
This driver provides access to the <tt/screen/ program. |
| 5334 |
It's selectable on all systems, |
| 5335 |
and is the default if no native screen driver is available. |
| 5336 |
The patch for <tt/screen/ which we provide |
| 5337 |
(see the <tt/Patches/ subdirectory) |
| 5338 |
must be applied. |
| 5339 |
Use of this driver, |
| 5340 |
due to the fact that <tt/screen/ must be concurrently running, |
| 5341 |
makes BRLTTY effectively useful only after the user has logged in. |
| 5342 |
<tag/wn/ |
| 5343 |
This driver provides direct access to the Windows console screen. |
| 5344 |
It's only selectable, and is the default, on Windows/Cygwin systems. |
| 5345 |
</descrip> |
| 5346 |
|
| 5347 |
<sect>Operand Syntax<p> |
| 5348 |
|
| 5349 |
<sect1>Driver Specification<label id="operand-driver"><p> |
| 5350 |
A braille display or speech synthesizer driver must be specified |
| 5351 |
via its two-letter <ref id="drivers" name="driver identification code">. |
| 5352 |
|
| 5353 |
A comma-delimited list of drivers may be specified. |
| 5354 |
If this is done then autodetection is performed using each listed driver in sequence. |
| 5355 |
You may need to experiment in order to determine the most reliable order |
| 5356 |
since some drivers autodetect better than others. |
| 5357 |
|
| 5358 |
If the single word <tt/auto/ is specified then autodetection is performed |
| 5359 |
using only those drivers which are known to be reliable for this purpose. |
| 5360 |
|
| 5361 |
<sect1>Braille Device Specification<label id="operand-braille-device"><p> |
| 5362 |
The general form of a braille device specification |
| 5363 |
(see the <ref id="options-braille-device" name="-d"> command line option, |
| 5364 |
the <ref id="configure-braille-device" name="braille-device"> configuration file directive, |
| 5365 |
and the <ref id="build-braille-device" name="--with-braille-device"> build option) |
| 5366 |
is <tt/qualifier:/<em/data/. |
| 5367 |
For backward compatibility with earlier releases, |
| 5368 |
if the qualifier is omitted then <tt/serial:/ is assumed. |
| 5369 |
|
| 5370 |
The following device types are supported: |
| 5371 |
<descrip> |
| 5372 |
<tag/Bluetooth/ |
| 5373 |
For a bluetooth device, specify <tt/bluetooth:/<em/address/. |
| 5374 |
The address must be six two-digit hexadecimal numbers separated by colons, |
| 5375 |
e.g. <tt/01:23:45:67:89:AB/. |
| 5376 |
<tag/Serial/ |
| 5377 |
For a serial device, specify <tt/serial:/<em>/path/to/device</>. |
| 5378 |
The <tt/serial:/ qualifier is optional (for backward compatibility). |
| 5379 |
If a relative path is given then it's anchored at <tt>/dev</> |
| 5380 |
(the usual location where devices are defined on a Unix-like system). |
| 5381 |
The following device specifications all refer |
| 5382 |
to the first serial device on Linux: |
| 5383 |
<itemize> |
| 5384 |
<item><tt>serial:/dev/ttyS0</> |
| 5385 |
<item><tt>serial:ttyS0</> |
| 5386 |
<item><tt>/dev/ttyS0</> |
| 5387 |
<item><tt>ttyS0</> |
| 5388 |
</itemize> |
| 5389 |
<tag/USB/ |
| 5390 |
For a USB device, specify <tt/usb:/. |
| 5391 |
BRLTTY will search for the first USB device which |
| 5392 |
matches the braille display driver being used. |
| 5393 |
If this is inadequate, |
| 5394 |
e.g. if you have more than one USB braille display which requires the same driver, |
| 5395 |
then you can refine the device specification |
| 5396 |
by appending the serial number of the display to it, |
| 5397 |
e.g. <tt/usb:12345/. |
| 5398 |
N.B.: The "identification by serial number" feature |
| 5399 |
doesn't work for some models because some manufacturers |
| 5400 |
either don't set the USB serial number descriptor at all |
| 5401 |
or do set it but not to a unique value. |
| 5402 |
</descrip> |
| 5403 |
|
| 5404 |
A comma-delimited list of braille devices may be specified. |
| 5405 |
If this is done then autodetection is performed on each listed device in sequence. |
| 5406 |
This feature is particularly useful if you have |
| 5407 |
a braille display with more than one interface, |
| 5408 |
e.g. both a serial and a USB port. |
| 5409 |
In this case it's usually better to list the USB port first, |
| 5410 |
e.g. <tt>usb:,serial:/dev/ttyS0</tt>, |
| 5411 |
since the former tends to autodetect more reliably than the latter. |
| 5412 |
|
| 5413 |
<sect1>PCM Device Specification<label id="operand-pcm-device"><p> |
| 5414 |
In most cases the PCM device is |
| 5415 |
the full path to an appropriate system device. |
| 5416 |
Exceptions are: |
| 5417 |
<descrip> |
| 5418 |
<tag/ALSA/ |
| 5419 |
The name of and arguments for the physical or logical device, |
| 5420 |
i.e. <em/name/[<tt/:/<em/argument/<tt/,/...]. |
| 5421 |
</descrip> |
| 5422 |
|
| 5423 |
The default PCM device is: |
| 5424 |
<table loc="h"> |
| 5425 |
<tabular ca="ll"> |
| 5426 |
Platform|Device@<hline> |
| 5427 |
FreeBSD|/dev/dsp@ |
| 5428 |
Linux/ALSA|hw:0,0@ |
| 5429 |
Linux/OSS|/dev/dsp@ |
| 5430 |
NetBSD|/dev/audio@ |
| 5431 |
OpenBSD|/dev/audio@ |
| 5432 |
Qnx|preferred PCM output device@ |
| 5433 |
Solaris|/dev/audio@ |
| 5434 |
</tabular> |
| 5435 |
</table> |
| 5436 |
|
| 5437 |
<sect1>MIDI Device Specification<label id="operand-midi-device"><p> |
| 5438 |
In most cases the MIDI device is |
| 5439 |
the full path to an appropriate system device. |
| 5440 |
Exceptions are: |
| 5441 |
<descrip> |
| 5442 |
<tag/ALSA/ |
| 5443 |
The client and port separated by a colon, |
| 5444 |
i.e. <em/client/<tt/:/<em/port/. |
| 5445 |
Each may be specified |
| 5446 |
either as a number |
| 5447 |
or as a case-sensitive substring of its name. |
| 5448 |
</descrip> |
| 5449 |
|
| 5450 |
The default MIDI device is: |
| 5451 |
<table loc="h"> |
| 5452 |
<tabular ca="ll"> |
| 5453 |
Platform|Device@<hline> |
| 5454 |
Linux/ALSA|the first available MIDI output port@ |
| 5455 |
Linux/OSS|/dev/sequencer@ |
| 5456 |
</tabular> |
| 5457 |
</table> |
| 5458 |
|
| 5459 |
<sect>Standard Braille Dot Numbering Convention<label id="dots"><p> |
| 5460 |
A standard braille cell consists of six dots |
| 5461 |
arranged in three rows and two columns. |
| 5462 |
Each dot can be specifically identified by its number as follows: |
| 5463 |
<descrip> |
| 5464 |
<tag/1/Top-left (row 1, column 1). |
| 5465 |
<tag/2/Middle-left (row 2, column 1). |
| 5466 |
<tag/3/Bottom-left (row 3, column 1). |
| 5467 |
<tag/4/Top-right (row 1, column 2). |
| 5468 |
<tag/5/Middle-right (row 2, column 2). |
| 5469 |
<tag/6/Bottom-right (row 3, column 2). |
| 5470 |
</descrip> |
| 5471 |
|
| 5472 |
Computer braille has introduced a fourth row at the bottom. |
| 5473 |
<descrip> |
| 5474 |
<tag/7/Below-left (row 4, column 1). |
| 5475 |
<tag/8/Below-right (row 4, column 2). |
| 5476 |
</descrip> |
| 5477 |
|
| 5478 |
Perhaps a picture will make this numbering convention easier to understand. |
| 5479 |
<tscreen><verb> |
| 5480 |
1 o o 4 |
| 5481 |
2 o o 5 |
| 5482 |
3 o o 6 |
| 5483 |
7 o o 8 |
| 5484 |
</verb></tscreen> |
| 5485 |
|
| 5486 |
<sect>North American Braille Computer Code<label id="nabcc"><p> |
| 5487 |
<tscreen><verb> |
| 5488 |
Num Hex Dots Description |
| 5489 |
+-----------------------------------------------------------------+ |
| 5490 |
| 0 00 [7 4 8] NUL (null) | |
| 5491 |
| 1 01 [7 1 8] SOH (start of header) | |
| 5492 |
| 2 02 [7 21 8] STX (start of text) | |
| 5493 |
| 3 03 [7 14 8] ETX (end of text) | |
| 5494 |
| 4 04 [7 145 8] EOT (end of transmission) | |
| 5495 |
| 5 05 [7 1 5 8] ENQ (enquiry) | |
| 5496 |
| 6 06 [7 214 8] ACK (acknowledge) | |
| 5497 |
| 7 07 [7 2145 8] BEL (bell) | |
| 5498 |
| 8 08 [7 21 5 8] BS (back space) | |
| 5499 |
| 9 09 [7 2 4 8] HT (horizontal tab) | |
| 5500 |
| 10 0A [7 2 45 8] LF (line feed) | |
| 5501 |
| 11 0B [73 1 8] VT (vertical tab) | |
| 5502 |
| 12 0C [7321 8] FF (form feed) | |
| 5503 |
| 13 0D [73 14 8] CR (carriage return) | |
| 5504 |
| 14 0E [73 145 8] SO (shift out) | |
| 5505 |
| 15 0F [73 1 5 8] SI (shift in) | |
| 5506 |
| 16 10 [73214 8] DLE (data link escape) | |
| 5507 |
| 17 11 [732145 8] DC1 (direct control 1) | |
| 5508 |
| 18 12 [7321 5 8] DC2 (direct control 2) | |
| 5509 |
| 19 13 [732 4 8] DC3 (direct control 3) | |
| 5510 |
| 20 14 [732 45 8] DC4 (direct control 4) | |
| 5511 |
| 21 15 [73 1 68] NAK (negative acknowledge) | |
| 5512 |
| 22 16 [7321 68] SYN (synchronize) | |
| 5513 |
| 23 17 [7 2 4568] ETB (end of text block) | |
| 5514 |
| 24 18 [73 14 68] CAN (cancel) | |
| 5515 |
| 25 19 [73 14568] EM (end of medium) | |
| 5516 |
| 26 1A [73 1 568] SUB (substitute) | |
| 5517 |
| 27 1B [7 2 4 68] ESC (escape) | |
| 5518 |
| 28 1C [7 21 568] FS (file separator) | |
| 5519 |
| 29 1D [7 214568] GS (group separator) | |
| 5520 |
| 30 1E [7 45 8] RS (record separator) | |
| 5521 |
| 31 1F [7 4568] US (unit separator) | |
| 5522 |
| 32 20 [ ] space | |
| 5523 |
| 33 21 [ 32 4 6 ] exclamation point | |
| 5524 |
| 34 22 [ 5 ] quotation mark | |
| 5525 |
| 35 23 [ 3 456 ] number sign | |
| 5526 |
| 36 24 [ 214 6 ] dollar sign | |
| 5527 |
| 37 25 [ 14 6 ] percent sign | |
| 5528 |
| 38 26 [ 3214 6 ] ampersand | |
| 5529 |
| 39 27 [ 3 ] acute accent | |
| 5530 |
| 40 28 [ 321 56 ] left parenthesis | |
| 5531 |
| 41 29 [ 32 456 ) right parenthesis | |
| 5532 |
| 42 2A [ 1 6 ] asterisk | |
| 5533 |
| 43 2B [ 3 4 6 ] plus sign | |
| 5534 |
| 44 2C [ 6 ] comma | |
| 5535 |
| 45 2D [ 3 6 ] minus sign | |
| 5536 |
| 46 2E [ 4 6 ] period | |
| 5537 |
| 47 2F [ 3 4 ] forward slash | |
| 5538 |
| 48 30 [ 3 56 ] zero | |
| 5539 |
| 49 31 [ 2 ] one | |
| 5540 |
| 50 32 [ 32 ] two | |
| 5541 |
| 51 33 [ 2 5 ] three | |
| 5542 |
| 52 34 [ 2 56 ] four | |
| 5543 |
| 53 35 [ 2 6 ] five | |
| 5544 |
| 54 36 [ 32 5 ] six | |
| 5545 |
| 55 37 [ 32 56 ] seven | |
| 5546 |
| 56 38 [ 32 6 ] eight | |
| 5547 |
| 57 39 [ 3 5 ] nine | |
| 5548 |
| 58 3A [ 1 56 ] colon | |
| 5549 |
| 59 3B [ 56 ] semicolon | |
| 5550 |
| 60 3C [ 21 6 ] less-than sign | |
| 5551 |
| 61 3D [ 321456 ] equals sign | |
| 5552 |
| 62 3E [ 3 45 ] greater-than sign | |
| 5553 |
| 63 3F [ 1456 ] question mark | |
| 5554 |
| 64 40 [7 4 ] commercial at | |
| 5555 |
| 65 41 [7 1 ] capital a | |
| 5556 |
| 66 42 [7 21 ] capital b | |
| 5557 |
| 67 43 [7 14 ] capital c | |
| 5558 |
| 68 44 [7 145 ] capital d | |
| 5559 |
| 69 45 [7 1 5 ] capital e | |
| 5560 |
| 70 46 [7 214 ] capital f | |
| 5561 |
| 71 47 [7 2145 ] capital g | |
| 5562 |
| 72 48 [7 21 5 ] capital h | |
| 5563 |
| 73 49 [7 2 4 ] capital i | |
| 5564 |
| 74 4A [7 2 45 ] capital j | |
| 5565 |
| 75 4B [73 1 ] capital k | |
| 5566 |
| 76 4C [7321 ] capital l | |
| 5567 |
| 77 4D [73 14 ] capital m | |
| 5568 |
| 78 4E [73 145 ] capital n | |
| 5569 |
| 79 4F [73 1 5 ] capital o | |
| 5570 |
| 80 50 [73214 ] capital p | |
| 5571 |
| 81 51 [732145 ] capital q | |
| 5572 |
| 82 52 [7321 5 ] capital r | |
| 5573 |
| 83 53 [732 4 ] capital s | |
| 5574 |
| 84 54 [732 45 ] capital t | |
| 5575 |
| 85 55 [73 1 6 ] capital u | |
| 5576 |
| 86 56 [7321 6 ] capital v | |
| 5577 |
| 87 57 [7 2 456 ] capital w | |
| 5578 |
| 88 58 [73 14 6 ] capital x | |
| 5579 |
| 89 59 [73 1456 ] capital y | |
| 5580 |
| 90 5A [73 1 56 ] capital z | |
| 5581 |
| 91 5B [7 2 4 6 ] left bracket | |
| 5582 |
| 92 5C [7 21 56 ] backward slash | |
| 5583 |
| 93 5D [7 21456 ] right bracket | |
| 5584 |
| 94 5E [7 45 ] circumflex accent | |
| 5585 |
| 95 5F [ 456 ] underscore | |
| 5586 |
| 96 60 [ 4 ] grave accent | |
| 5587 |
| 97 61 [ 1 ] small a | |
| 5588 |
| 98 62 [ 21 ] small b | |
| 5589 |
| 99 63 [ 14 ] small c | |
| 5590 |
| 100 64 [ 145 ] small d | |
| 5591 |
| 101 65 [ 1 5 ] small e | |
| 5592 |
| 102 66 [ 214 ] small f | |
| 5593 |
| 103 67 [ 2145 ] small g | |
| 5594 |
| 104 68 [ 21 5 ] small h | |
| 5595 |
| 105 69 [ 2 4 ] small i | |
| 5596 |
| 106 6A [ 2 45 ] small j | |
| 5597 |
| 107 6B [ 3 1 ] small k | |
| 5598 |
| 108 6C [ 321 ] small l | |
| 5599 |
| 109 6D [ 3 14 ] small m | |
| 5600 |
| 110 6E [ 3 145 ] small n | |
| 5601 |
| 111 6F [ 3 1 5 ] small o | |
| 5602 |
| 112 70 [ 3214 ] small p | |
| 5603 |
| 113 71 [ 32145 ] small q | |
| 5604 |
| 114 72 [ 321 5 ] small r | |
| 5605 |
| 115 73 [ 32 4 ] small s | |
| 5606 |
| 116 74 [ 32 45 ] small t | |
| 5607 |
| 117 75 [ 3 1 6 ] small u | |
| 5608 |
| 118 76 [ 321 6 ] small v | |
| 5609 |
| 119 77 [ 2 456 ] small w | |
| 5610 |
| 120 78 [ 3 14 6 ] small x | |
| 5611 |
| 121 79 [ 3 1456 ] small y | |
| 5612 |
| 122 7A [ 3 1 56 ] small z | |
| 5613 |
| 123 7B [ 2 4 6 ] left brace | |
| 5614 |
| 124 7C [ 21 56 ] vertical bar | |
| 5615 |
| 125 7D [ 21456 ] right brace | |
| 5616 |
| 126 7E [ 45 ] tilde accent | |
| 5617 |
| 127 7F [7 456 ] DEL (delete) | |
| 5618 |
| 128 80 [ 4 8] <control> | |
| 5619 |
| 129 81 [ 1 8] <control> | |
| 5620 |
| 130 82 [ 21 8] BPH (break permitted here) | |
| 5621 |
| 131 83 [ 14 8] NBH (no break here) | |
| 5622 |
| 132 84 [ 145 8] <control> | |
| 5623 |
| 133 85 [ 1 5 8] NL (next line) | |
| 5624 |
| 134 86 [ 214 8] SSA (start of selected area) | |
| 5625 |
| 135 87 [ 2145 8] ESA (end of selected area) | |
| 5626 |
| 136 88 [ 21 5 8] CTS (character tabulation set) | |
| 5627 |
| 137 89 [ 2 4 8] CTJ (character tabulation justification) | |
| 5628 |
| 138 8A [ 2 45 8] LTS (line tabulation set) | |
| 5629 |
| 139 8B [ 3 1 8] PLD (partial line down) | |
| 5630 |
| 140 8C [ 321 8] PLU (partial line up) | |
| 5631 |
| 141 8D [ 3 14 8] RLF (reverse line feed) | |
| 5632 |
| 142 8E [ 3 145 8] SS2 (single shift two) | |
| 5633 |
| 143 8F [ 3 1 5 8] SS3 (single shift three) | |
| 5634 |
| 144 90 [ 3214 8] DCS (device control string) | |
| 5635 |
| 145 91 [ 32145 8] PU1 (private use one) | |
| 5636 |
| 146 92 [ 321 5 8] PU2 (private use two) | |
| 5637 |
| 147 93 [ 32 4 8] STS (set transmit state) | |
| 5638 |
| 148 94 [ 32 45 8] CC (cancel character) | |
| 5639 |
| 149 95 [ 3 1 68] MW (message waiting) | |
| 5640 |
| 150 96 [ 321 68] SGA (start of guarded area) | |
| 5641 |
| 151 97 [ 2 4568] EGA (end of guarded area) | |
| 5642 |
| 152 98 [ 3 14 68] SS (start of string) | |
| 5643 |
| 153 99 [ 3 14568] <control> | |
| 5644 |
| 154 9A [ 3 1 568] SCI (single character introducer) | |
| 5645 |
| 155 9B [ 2 4 68] CSI (control sequence introducer) | |
| 5646 |
| 156 9C [ 21 568] ST (string terminator) | |
| 5647 |
| 157 9D [ 214568] OSC (operating system command) | |
| 5648 |
| 158 9E [ 45 8] PM (privacy message) | |
| 5649 |
| 159 9F [ 4568] APC (application program command) | |
| 5650 |
| 160 A0 [7 8] no-break space | |
| 5651 |
| 161 A1 [732 4 6 ] inverted exclamation mark | |
| 5652 |
| 162 A2 [7 214 6 ] cent sign | |
| 5653 |
| 163 A3 [73 456 ] pound sign | |
| 5654 |
| 164 A4 [7 14 6 ] currency sign | |
| 5655 |
| 165 A5 [73214 6 ] yen sign | |
| 5656 |
| 166 A6 [7 1 56 ] broken bar | |
| 5657 |
| 167 A7 [73 5 ] section sign | |
| 5658 |
| 168 A8 [7 5 ] diaeresis | |
| 5659 |
| 169 A9 [732 56 ] copyright sign | |
| 5660 |
| 170 AA [ 8] feminine ordinal indicator | |
| 5661 |
| 171 AB [7 21 6 ] left-pointing double angle quotation mark | |
| 5662 |
| 172 AC [7 2 56 ] not sign | |
| 5663 |
| 173 AD [73 6 ] soft hyphen | |
| 5664 |
| 174 AE [732 6 ] registered sign | |
| 5665 |
| 175 AF [7 2 6 ] macron | |
| 5666 |
| 176 B0 [73 56 ] degree sign | |
| 5667 |
| 177 B1 [73 4 6 ] plus-minus sign | |
| 5668 |
| 178 B2 [732 ] superscript two | |
| 5669 |
| 179 B3 [7 2 5 ] superscript three | |
| 5670 |
| 180 B4 [73 ] acute accent | |
| 5671 |
| 181 B5 [7 56 ] micro sign | |
| 5672 |
| 182 B6 [732 5 ] pilcrow sign | |
| 5673 |
| 183 B7 [7 4 6 ] middle dot | |
| 5674 |
| 184 B8 [7 6 ] cedilla | |
| 5675 |
| 185 B9 [7 2 ] superscript one | |
| 5676 |
| 186 BA [7 ] masculine ordinal indicator | |
| 5677 |
| 187 BB [73 45 ] right-pointing double angle quotation mark | |
| 5678 |
| 188 BC [7321 56 ] vulgar fraction one quarter | |
| 5679 |
| 189 BD [7321456 ] vulgar fraction one half | |
| 5680 |
| 190 BE [732 456 ] vulgar fraction three quarters | |
| 5681 |
| 191 BF [7 1456 ] inverted question mark | |
| 5682 |
| 192 C0 [732 5 8] capital a grave | |
| 5683 |
| 193 C1 [7 1 68] capital a acute | |
| 5684 |
| 194 C2 [7 2 8] capital a circumflex | |
| 5685 |
| 195 C3 [7 5 8] capital a tilde | |
| 5686 |
| 196 C4 [73214 68] capital a diaeresis | |
| 5687 |
| 197 C5 [73 45 8] capital a ring above | |
| 5688 |
| 198 C6 [73 8] capital ae | |
| 5689 |
| 199 C7 [73 4 68] capital c cedilla | |
| 5690 |
| 200 C8 [732 568] capital e grave | |
| 5691 |
| 201 C9 [7 21 68] capital e acute | |
| 5692 |
| 202 CA [732 8] capital e circumflex | |
| 5693 |
| 203 CB [73214568] capital e diaeresis | |
| 5694 |
| 204 CC [732 68] capital i grave | |
| 5695 |
| 205 CD [7 14 68] capital i acute | |
| 5696 |
| 206 CE [7 2 5 8] capital i circumflex | |
| 5697 |
| 207 CF [7321 568] capital i diaeresis | |
| 5698 |
| 208 D0 [7 68] capital eth | |
| 5699 |
| 209 D1 [7 4 68] capital n tilde | |
| 5700 |
| 210 D2 [73 5 8] capital o grave | |
| 5701 |
| 211 D3 [7 14568] capital o acute | |
| 5702 |
| 212 D4 [7 2 568] capital o circumflex | |
| 5703 |
| 213 D5 [7 568] capital o tilde | |
| 5704 |
| 214 D6 [732 4 68] capital o diaeresis | |
| 5705 |
| 215 D7 [7 1 6 ] multiplication sign | |
| 5706 |
| 216 D8 [73 4 8] capital o stroke | |
| 5707 |
| 217 D9 [73 568] capital u grave | |
| 5708 |
| 218 DA [7 1 568] capital u acute | |
| 5709 |
| 219 DB [7 2 68] capital u circumflex | |
| 5710 |
| 220 DC [732 4568] capital u diaeresis | |
| 5711 |
| 221 DD [7 214 68] capital y acute | |
| 5712 |
| 222 DE [73 68] capital thorn | |
| 5713 |
| 223 DF [73 4568] small sharp s | |
| 5714 |
| 224 E0 [ 32 5 8] small a grave | |
| 5715 |
| 225 E1 [ 1 68] small a acute | |
| 5716 |
| 226 E2 [ 2 8] small a circumflex | |
| 5717 |
| 227 E3 [ 5 8] small a tilde | |
| 5718 |
| 228 E4 [ 3214 68] small a diaeresis | |
| 5719 |
| 229 E5 [ 3 45 8] small a ring above | |
| 5720 |
| 230 E6 [ 3 8] small ae | |
| 5721 |
| 231 E7 [ 3 4 68] small c cedilla | |
| 5722 |
| 232 E8 [ 32 568] small e grave | |
| 5723 |
| 233 E9 [ 21 68] small e acute | |
| 5724 |
| 234 EA [ 32 8] small e circumflex | |
| 5725 |
| 235 EB [ 3214568] small e diaeresis | |
| 5726 |
| 236 EC [ 32 68] small i grave | |
| 5727 |
| 237 ED [ 14 68] small i acute | |
| 5728 |
| 238 EE [ 2 5 8] small i circumflex | |
| 5729 |
| 239 EF [ 321 568] small i diaeresis | |
| 5730 |
| 240 F0 [ 68] small eth | |
| 5731 |
| 241 F1 [ 4 68] small n tilde | |
| 5732 |
| 242 F2 [ 3 5 8] small o grave | |
| 5733 |
| 243 F3 [ 14568] small o acute | |
| 5734 |
| 244 F4 [ 2 568] small o circumflex | |
| 5735 |
| 245 F5 [ 568] small o tilde | |
| 5736 |
| 246 F6 [ 32 4 68] small o diaeresis | |
| 5737 |
| 247 F7 [73 4 ] division sign | |
| 5738 |
| 248 F8 [ 3 4 8] small o stroke | |
| 5739 |
| 249 F9 [ 3 568] small u grave | |
| 5740 |
| 250 FA [ 1 568] small u acute | |
| 5741 |
| 251 FB [ 2 68] small u circumflex | |
| 5742 |
| 252 FC [ 32 4568] small u diaeresis | |
| 5743 |
| 253 FD [ 214 68] small y acute | |
| 5744 |
| 254 FE [ 3 68] small thorn | |
| 5745 |
| 255 FF [ 3 4568] small y diaeresis | |
| 5746 |
+-----------------------------------------------------------------+ |
| 5747 |
</verb></tscreen> |
| 5748 |
|
| 5749 |
<sect>MIDI Instrument Table<label id="midi"><p> |
| 5750 |
<table loc="h"> |
| 5751 |
<tabular ca="lrl"> |
| 5752 |
<hline>Piano |
| 5753 |
|0|Acoustic Grand Piano@ |
| 5754 |
|1|Bright Acoustic Piano@ |
| 5755 |
|2|Electric Grand Piano@ |
| 5756 |
|3|Honkytonk Piano@ |
| 5757 |
|4|Electric Piano 1@ |
| 5758 |
|5|Electric Piano 2@ |
| 5759 |
|6|Harpsichord@ |
| 5760 |
|7|Clavi@ |
| 5761 |
<hline>Chromatic Percussion |
| 5762 |
|8|Celesta@ |
| 5763 |
|9|Glockenspiel@ |
| 5764 |
|10|Music Box@ |
| 5765 |
|11|Vibraphone@ |
| 5766 |
|12|Marimba@ |
| 5767 |
|13|Xylophone@ |
| 5768 |
|14|Tubular Bells@ |
| 5769 |
|15|Dulcimer@ |
| 5770 |
<hline>Organ |
| 5771 |
|16|Drawbar Organ@ |
| 5772 |
|17|Percussive Organ@ |
| 5773 |
|18|Rock Organ@ |
| 5774 |
|19|Church Organ@ |
| 5775 |
|20|Reed Organ@ |
| 5776 |
|21|Accordion@ |
| 5777 |
|22|Harmonica@ |
| 5778 |
|23|Tango Accordion@ |
| 5779 |
<hline>Guitar |
| 5780 |
|24|Nylon Acoustic Guitar@ |
| 5781 |
|25|Steel Acoustic Guitar@ |
| 5782 |
|26|Jazz Electric Guitar@ |
| 5783 |
|27|Clean Electric Guitar@ |
| 5784 |
|28|Muted Electric Guitar@ |
| 5785 |
|29|Overdriven Guitar@ |
| 5786 |
|30|Distortion Guitar@ |
| 5787 |
|31|Guitar Harmonics@ |
| 5788 |
<hline>Bass |
| 5789 |
|32|Acoustic Bass@ |
| 5790 |
|33|Finger Electric Bass@ |
| 5791 |
|34|Pick Electric Bass@ |
| 5792 |
|35|Fretless Bass@ |
| 5793 |
|36|Slap Bass 1@ |
| 5794 |
|37|Slap Bass 2@ |
| 5795 |
|38|Synth Bass 1@ |
| 5796 |
|39|Synth Bass 2@ |
| 5797 |
<hline>Strings |
| 5798 |
|40|Violin@ |
| 5799 |
|41|Viola@ |
| 5800 |
|42|Cello@ |
| 5801 |
|43|Contrabass@ |
| 5802 |
|44|Tremolo Strings@ |
| 5803 |
|45|Pizzicato Strings@ |
| 5804 |
|46|Orchestral Harp@ |
| 5805 |
|47|Timpani@ |
| 5806 |
<hline>Ensemble |
| 5807 |
|48|String Ensemble 1@ |
| 5808 |
|49|String Ensemble 2@ |
| 5809 |
|50|Synth Strings 1@ |
| 5810 |
|51|Synth Strings 2@ |
| 5811 |
|52|Choir Aahs@ |
| 5812 |
|53|Voice Oohs@ |
| 5813 |
|54|Synth Voice@ |
| 5814 |
|55|Orchestra Hit@ |
| 5815 |
<hline>Brass |
| 5816 |
|56|Trumpet@ |
| 5817 |
|57|Trombone@ |
| 5818 |
|58|Tuba@ |
| 5819 |
|59|Muted Trumpet@ |
| 5820 |
|60|French Horn@ |
| 5821 |
|61|Brass Section@ |
| 5822 |
|62|Synth Brass 1@ |
| 5823 |
|63|Synth Brass 2@ |
| 5824 |
<hline>Reed |
| 5825 |
|64|Soprano Saxophone@ |
| 5826 |
|65|Alto Saxophone@ |
| 5827 |
|66|Tenor Saxophone@ |
| 5828 |
|67|Baritone Saxophone@ |
| 5829 |
|68|Oboe@ |
| 5830 |
|69|English Horn@ |
| 5831 |
|70|Bassoon@ |
| 5832 |
|71|Clarinet@ |
| 5833 |
<hline>Pipe |
| 5834 |
|72|Piccolo@ |
| 5835 |
|73|Flute@ |
| 5836 |
|74|Recorder@ |
| 5837 |
|75|Pan Flute@ |
| 5838 |
|76|Blown Bottle@ |
| 5839 |
|77|Shakuhachi@ |
| 5840 |
|78|Whistle@ |
| 5841 |
|79|Ocarina@ |
| 5842 |
<hline>Synth Lead |
| 5843 |
|80|Lead 1 (square)@ |
| 5844 |
|81|Lead 2 (sawtooth)@ |
| 5845 |
|82|Lead 3 (calliope)@ |
| 5846 |
|83|Lead 4 (chiff)@ |
| 5847 |
|84|Lead 5 (charang)@ |
| 5848 |
|85|Lead 6 (voice)@ |
| 5849 |
|86|Lead 7 (fifths)@ |
| 5850 |
|87|Lead 8 (bass + lead)@ |
| 5851 |
<hline>Synth Pad |
| 5852 |
|88|Pad 1 (new age)@ |
| 5853 |
|89|Pad 2 (warm)@ |
| 5854 |
|90|Pad 3 (polysynth)@ |
| 5855 |
|91|Pad 4 (choir)@ |
| 5856 |
|92|Pad 5 (bowed)@ |
| 5857 |
|93|Pad 6 (metallic)@ |
| 5858 |
|94|Pad 7 (halo)@ |
| 5859 |
|95|Pad 8 (sweep)@ |
| 5860 |
<hline>Synth FM |
| 5861 |
|96|FX 1 (rain)@ |
| 5862 |
|97|FX 2 (soundtrack)@ |
| 5863 |
|98|FX 3 (crystal)@ |
| 5864 |
|99|FX 4 (atmosphere)@ |
| 5865 |
|100|FX 5 (brightness)@ |
| 5866 |
|101|FX 6 (goblins)@ |
| 5867 |
|102|FX 7 (echoes)@ |
| 5868 |
|103|FX 8 (science-fiction)@ |
| 5869 |
<hline>Ethnic |
| 5870 |
|104|Sitar@ |
| 5871 |
|105|Banjo@ |
| 5872 |
|106|Shamisen@ |
| 5873 |
|107|Koto@ |
| 5874 |
|108|Kalimba@ |
| 5875 |
|109|Bag Pipe@ |
| 5876 |
|110|Fiddle@ |
| 5877 |
|111|Shanai@ |
| 5878 |
<hline>Percussive |
| 5879 |
|112|Tinkle Bell@ |
| 5880 |
|113|Agogo@ |
| 5881 |
|114|Steel Drum@ |
| 5882 |
|115|Wooden Block@ |
| 5883 |
|116|Taiko Drum@ |
| 5884 |
|117|Melodic Tom@ |
| 5885 |
|118|Synth Drum@ |
| 5886 |
|119|Reverse Cymbal@ |
| 5887 |
<hline>Sound Effects |
| 5888 |
|120|Guitar Fret Noise@ |
| 5889 |
|121|Breath Noise@ |
| 5890 |
|122|Seashore@ |
| 5891 |
|123|Bird Tweet@ |
| 5892 |
|124|Telephone Ring@ |
| 5893 |
|125|Helicopter@ |
| 5894 |
|126|Applause@ |
| 5895 |
|127|Gunshot@ |
| 5896 |
</tabular> |
| 5897 |
</table> |
| 5898 |
|
| 5899 |
</article> |