Emacspeak has supported Cloud Computing since 1995, i.e., long before the term was invented. I have used Emacs with Emacspeak running on remote servers (called cloud-top in the rest of this article) since that time, with a local speech server on my client machine providing spoken feedback. The underlying ssh-based scripts have changed over time; this article documents what I have been using for the last 7 years or more. As with everything else Linux, you should not use this without understanding how it works. All of the relevant code is checked into GitHub, but if you use it without understanding, you are likely to get 2 for the price of 1😀.
espeak
is your TTS engine, running the speech-server
cloud-espeak
on the cloud-top connects back to your client to
produce spoken output.
So you need to start the relevant speech server on your client
before you ssh
to your cloud-top — in the case of espeak
,
this is ssh-espeak
.
See directory bash-utils
in your emacspeak Git checkout for the
relevant Bash scripts.
Here is what the workflow looks like, again, use this only if you have read and understood the previous section. SeeBash Utils for the scripts mentioned below. Everything below assumes a Bash Shell.
On your cloud-top, specify the speech-server to use by running
export DTK_PROGRAM=cloud-espeak
You can put the above in your .bash_profile
on your cloud-top.
On your client device, run
. <emacspeak_dir>/bash-utils/remote
This need be done only once per interactive shell.It defines bash
functions remote and rtts.
Next, run Bash function remote defined in the script you just loaded.
remote host.example.com speech-server espeak
This does the following:
espeak
.sox
) to cue completion.screen
on the
cloud-top and run Emacs within that screen
session; this will let
you persist a running Emacs across multiple login/logout.On a well-configured setup, you typically need only do: