>![]() |
Note: You need a current version of GNU Emacs for using newer versions of Emacspeak.
The speech server for the Dectalk is written in TclX. (For example, see the source file dtk-exp).
Once you have decided on the appropriate directory, make it if necessary
and unpack the distribution .tar
file there.
Configure the source files by typing ‘make config’. At this point you can check that the speech server is correctly configured by typing
tcl dtk-exp
(assuming you are using the Dectalk Express). You should hear the Dectalk speak and get a TCL prompt if everything is okay.
If you're feeling paranoid, you can perform a couple of additional tests at this point. Execute the following commands in the running tcl session you just started above. (Most users will not need to do this; it is a sanity check and is useful in tracking problems, especially if you find emacspeak beginning to talk and then immediately fall silent.)
q "this is a test." d
You should hear the Dectalk speak the text.
In the case of incorrect stty settings please report the problem. The following UNIX command can be used to report the stty settings:
stty -a < serial_port
Quit this TCL session by typing C-D.
Next, compile the elisp files by typing
make emacspeak
Finally, install the documentation and executable files by typing
make PREFIX=<prefix> install
The speech server program and/or output port can also be specified at run time by
setting the shell environment variables DTK_PROGRAM and DTK_PORT.
Examples: If using csh
or tcsh
setenv DTK_PROGRAM "dtk-exp"
if using sh
or bash
DTK_PROGRAM=dtk-exp export DTK_PROGRAM
Similarly,
DTK_PORT=/dev/ttyS0
You can always set these variables from a running Emacs session by executing the Emacs setenv command.