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

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



yes, doing a package require of Tclx is the right thing to do
long term; I just haven't had the time to test that fully which
is why emacspeak still uses 8.3 as the default --- since it's
known to work.



>>>>> "gary" == gary fox <garyfox@scottsboro.org> writes:
    gary> On Wed, 2007-02-28 at 18:47 +1100, Tim Cross wrote:
    gary> Tim:
    gary> 
    gary> Thanks!  I have it talking now!  I was able to keep Tcl
    gary> version 8.4 by doing the fix described below.  I really
    gary> did not want to be mixing versions on my system because
    gary> I was afraid of the other dependencies.
    gary> 
    gary> The final fix was: in etc/profile added: export
    gary> DTK_PROGRAM=doubletalk export DTK_PORT=/dev/ttyS0
    gary> 
    gary> the last statement probably not necessary for this port
    gary> but didn't hurt anything.
    gary> 
    gary> in
    gary> /usr/share/emacs/site-lisp/emacspeak/servers/doubletalk
    gary> added: #!/usr/bin/tclsh package require Tclx
    gary> 
    gary> note capital letter T in Tclx
    gary> 
    gary> Make sure to make this program executable by changing
    gary> permissions to -rwxr-xr-x (chmod 755).
    gary> 
    gary> in usr/bin/emacspeak
    gary> 
    gary> added unset DTK_TCL in the line just before exec emacs
    gary> -q -l
    gary> /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el
    gary> $INITSTR $CL_ALL
    gary> 
    gary> I am not sure this was necessary because the programed
    gary> worked with and without it, but it could have been the
    gary> enviroment at the time so to be sure I kept this line.
    gary> 
    gary> The only other thing which may or may not be necesary
    gary> is I added the normal user to group uucp so there would
    gary> not be a problem talking to /dev/ttyS0.
    gary> 
    gary> Although this now works it does have some problems.
    gary> For example it talks very fast, but those are fixable.
    gary> For right now this rat is gonna rub his noggin' and
    gary> enjoy the cheeze I have found at the end of this maze.
    gary> 
    gary> Since it sounds like doubletalk has not been used in a
    gary> while I will provide you all with updates once I get
    gary> past the learning curve of emacs and emacspeak and
    gary> understand what it is susposed to do and then make it
    gary> do it.
    gary> 
    gary> Again... thanks for the help.
    gary> 
    gary> Gary Fox
    gary> 
    >> From: gary fox <garyfox@scottsboro.org> 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@scottsboro.org> > To: emacspeak@cs.vassar.edu >
    >> 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@cs.vassar.edu" 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@cs.vassar.edu" 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@cs.vassar.edu" with a subject of
    >> "unsubscribe" or "help"
    >> 
    gary> 
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on
    gary> the emacspeak list send mail to
    gary> "emacspeak-request@cs.vassar.edu" with a subject of
    gary> "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

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



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

priestdo@cs.vassar.edu No Soliciting!

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

Emacspeak Files | Emacspeak Blog | Search the archive