Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just installed Cygwin with OpenSSH on my computer, and would like to have a speech program that I can run from a SSH session in a console, similar to the say command in Mac OS X.

I have tried this one but whenever I try to run it in an SSH session on my iPhone, i get the message This application has requested the Runtime to terminate it in an unusual way.

I am using the app called 'SSH Terminal', if it is possible that it is the app that makes a difference.

share|improve this question
up vote 2 down vote accepted

My solution was to have a loop running on the computer that keeps checking for the existence of say.txt and if it exists, then say it and then delete the file. I then just put what I wanted to say in say.txt from my iPhone.

sayloop.sh:

#!/bin/sh
while [ 1 -eq 1 ]
do
if [ -f say.txt ]; then
    say `cat say.txt`
    rm -f say.txt
    sleep 1
fi
done

In an SSH session:

echo "say this" > say.txt
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .