[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: [Fwd: Emacspeak with doubletalk LT. "process speaker not running" on gentoo]





Thank you for the information. We are providing Emacspeak to students on our Red Hat Linux lab machines at North Carolina State University and we use doubletalk LT. here with it because they could still be purchased from the manufacturer. This information might be useful to us when RHEL 5 comes out.

(Running RHEL 4 this semester)

Cheers,

On Wed, 28 Feb 2007, gary fox wrote:

On Wed, 2007-02-28 at 18:47 +1100, Tim Cross wrote:
Tim:

Thanks!  I have it talking now!  I was able to keep Tcl version 8.4 by
doing the fix described below.  I really did not want to be mixing
versions on my system because I was afraid of the other dependencies.

The final fix was:
in etc/profile
added:
	export DTK_PROGRAM=doubletalk
	export DTK_PORT=/dev/ttyS0

the last statement probably not necessary for this port but didn't hurt
anything.

in /usr/share/emacs/site-lisp/emacspeak/servers/doubletalk
added:
	#!/usr/bin/tclsh
	package require Tclx

note capital letter T in Tclx

Make sure to make this program executable by changing permissions to
-rwxr-xr-x  (chmod 755).

in usr/bin/emacspeak

added
unset DTK_TCL
in the line just before
exec emacs -q
-l /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el $INITSTR
$CL_ALL

I am not sure this was necessary because the programed worked with and
without it, but it could have been the enviroment at the time so to be
sure I kept this line.

The only other thing which may or may not be necesary is I added the
normal user to group uucp so there would not be a problem talking
to /dev/ttyS0.

Although this now works it does have some problems.  For example it
talks very fast, but those are fixable.  For right now this rat is gonna
rub his noggin' and enjoy the cheeze I have found at the end of this
maze.

Since it sounds like doubletalk has not been used in a while I will
provide you all with updates once I get past the learning curve of emacs
and emacspeak and understand what it is susposed to do and then make it
do it.

Again... thanks for the help.

Gary Fox

From: gary fox <garyfox@xxxxxxxxxxx>
Subject: [Fwd: Emacspeak with doubletalk LT. "process speaker not running" on gentoo]
Date: Tue, 27 Feb 2007 23:16:52 -0600

Gary,

note that there is a difference between standard TCL and Extended TCL.
Emacspeak requires extended TCL, often packaged as Tclx. You will probably also
need version 8.3 because version 8.4 no longer includes a tclx shell.

Also, I'm not sure how good the support for DoubleTalk LT is. The last time I
tried it out, I found it was a bit out of date and did not work correctly with
more recent versions of Emacspeak. The support for the DoubleTalk LT was
written some time back and I'm not sure to what extent it has been maintained.
As it is not a standard component of emacspeak, but rather work contributed by
a user. you may need to tweak it a bit. From memory, it didn't handle
processing of control strings used in other servers (notably the Double Talk
Express) correctly. However, it was some time ago when I tried it, so things
may have been updated. At the time, I think I did enough diagnosis to determine
it wouldn't be too difficult to fix, but I got distracted on other things and
didn't go any further.

regards,

Tim

I have done a little more digging into this problem.

After following the instructions in the TROUBLESHOOT file I found that
my distro's version of tcl does not implement the fcntl command used in
doubletalk.

I have some work ahead of me determining what should be installed to get
tcl working right.  In anycase the problem is with my distro of Linux
and I will be working through the problem with gentoo and not bothering
you all until I can describe the final fix because you will probably run
into it again.

Gary Fox


-------- Forwarded Message --------
From: gary fox <garyfox@xxxxxxxxxxx>
To: emacspeak@xxxxxxxxxxx
Subject: Emacspeak with doubletalk LT. "process speaker not running" on
gentoo
Date: Sun, 25 Feb 2007 21:27:13 -0600

HELLO ALL:

I have burned up the net wires trying to find an answer to what is
probably a simple problem (just not simple to me!)

Emacspeak with doubletalk LT. "process speaker not running"

Any suggestions to try to get this thing running are welcomed... I am
trying to set up a computer for my blind father.

Gentoo distribution with the following software
kernel version 2.6.18
emacs version 21.4
emacspeak version 24
emacspeak-ss version 1.9.1

Initial problem was "The speech server is not running".
per suggestions on emacspeak forum thread to "problems with emacspeak
installation on gentoo" (2004) question I did the following.

Modified emacspeak in /usr/bin by adding the following lines
export DTK_PROGRAM=doubletalk
export DTK_PORT=/dev/ttyS0
unset DTK_TCL

Modified doubletalk in /usr/share/emacs/site-lisp/servers
set permissions to make executable. (chmod 755)
added first line:
#!/usr/bin/tclsh

error changed to "process speaker not running" and it looks as if the
speach server is running.

again following some suggestions from that forum I did the following.
to check permissions on /dev/ttyS0 did the following
stty -F /dev/ttyS0 sane
echo "Happy happy joy joy" > /dev/ttyS0
and the doubletalk worked!!!! while in root

added standard user to group uucp and now works with normal user.

However once running emacspeak still get the same error and
doubletalk will not work with the echo command without first running
the stty command which tells me somehow emacspeak is changing the ttyS0
setting

I tried running strace per some other suggestions and quickly determined
I am in over my head. Help!



-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"



Gary Gatling      | ITECS Systems
ITECS, BOX 7901   | Technology Support Analyst
NCSU, Raleigh, NC | Email: gsgatlin@xxxxxxxxxxx
27695-7901        | Phone: (919) 513-4572 (5B Page Hall)

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog