Next: , Previous: , Up: Customization   [Contents][Index]


2.4.2 Speech Dispatcher Connection Configuration

Connection configuration variables allow you connect to Speech Dispatcher or BRLTTY running on a remote host or a non-default port and to specify other TCP connection parameters.

Speech Dispatcher connection options:

speechd-connection-method

Connection method to Speech Dispatcher. Possible values are symbols unix-socket for Unix domain sockets and inet-socket for Internet sockets on a given host and port.

speechd-host

Name of the host running Speech Dispatcher to connect to, given as a string. Default is either the contents of the shell variable SPEECHD_HOST variable if set, or "localhost". Value of this variable matters only when Internet sockets are used for communication with Speech Dispatcher.

speechd-port

Port number to connect to. Default is either the contents of the shell variable SPEECHD_PORT if set, or the default Speech Dispatcher port. Value of this variable matters only when Internet sockets are used for communication with Speech Dispatcher.

speechd-autospawn

If non-nil, Emacs will attempt to automatically start Speech Dispatcher. This means that if speechd-el gets a speech request and the Speech Dispatcher server is not running already, speechd-el will launch it.

speechd-timeout

Maximum number of seconds to wait for a Speech Dispatcher answer. If it is exceeded, speechd-el closes the connection. Normally, Speech Dispatcher should answer protocol commands immediately, but if you talk to a Speech Dispatcher in a strange way through a lagging network, you may want to increase the limit.

BRLTTY connection options:

brltty-default-host

Name of the host running BRLTTY to connect to, given as a string. Default is "localhost".

brltty-default-port

Port number to connect to. It can be either a single number or a list of numbers; in the latter case the given port numbers are attempted in the order they are given until Emacs connects to something. Default is the list of the standard BrlAPI ports.

brltty-authentication-file

File containing the BrlAPI authentication key. It is important to set the variable properly, otherwise the connection to BRLTTY gets rejected. Default is "/etc/brlapi.key".

brltty-coding

Coding in which texts should be sent to BRLTTY. Default is iso-8859-1; if you use non-Western language, you may need to change it to display its characters correctly on the Braille display.

brltty-tty

Number of the Linux console on which speechd-el runs. If this value is not set correctly, speechd-el may not interact well with other applications communicating with BRLTTY. speechd-el tries to find the correct value itself, if this doesn’t work, set this variable properly or set the CONTROLVT environment variable.

brltty-timeout

Maximum number of seconds to wait for a BRLTTY answer. If it is exceeded, speechd-el closes the connection. Normally, BRLTTY should answer protocol commands immediately, but if you talk to BrlAPI in a strange way through a lagging network, you may want to increase the limit.


Next: , Previous: , Up: Customization   [Contents][Index]