summaryrefslogtreecommitdiff
path: root/.w3m/cgi-bin/fn_tts_espeak_page.cgi
diff options
context:
space:
mode:
Diffstat (limited to '.w3m/cgi-bin/fn_tts_espeak_page.cgi')
-rwxr-xr-x.w3m/cgi-bin/fn_tts_espeak_page.cgi9
1 files changed, 9 insertions, 0 deletions
diff --git a/.w3m/cgi-bin/fn_tts_espeak_page.cgi b/.w3m/cgi-bin/fn_tts_espeak_page.cgi
new file mode 100755
index 0000000..72c390a
--- /dev/null
+++ b/.w3m/cgi-bin/fn_tts_espeak_page.cgi
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+echo "w3m-control: BACK"
+echo "w3m-control: READ_SHELL killall espeak-ng"
+echo "w3m-control: BACK"
+echo "w3m-control: READ_SHELL rm /tmp/espeak-ng.txt"
+echo "w3m-control: BACK"
+echo "w3m-control: PRINT /tmp/espeak-ng.txt"
+echo "w3m-control: READ_SHELL espeak-ng -f /tmp/espeak-ng.txt &"
+echo "w3m-control: BACK"