[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
Re: dectalk giving invalid command parameter
- To: "James R. Van Zandt" <jrv@xxxxxxxxxxx>
- Subject: Re: dectalk giving invalid command parameter
- From: John Covici <covici@xxxxxxxxxxx>
- Date: Thu, 15 May 2003 16:55:55 -0400
- In-Reply-To: <15846.49170.670552.492083@xxxxxxxxxxx> (John covici'smessage of "Thu, 28 Nov 2002 20:17:06 -0500")
- Resent-Date: Thu, 15 May 2003 17:00:11 -0400 (EDT)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <"glveZB.A.fQC.n7_w-"@hub>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
- User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)
I finally did the trace and I discovered that my hardware Dectalk
doesn't like the following sequence:
[:i r 1 _.][:to 250 75][_.]
When I took out the _. where it first appears in the function t of
dtk-exp, my synth was happy, but I am wondering what is going on?
on Thu, 28 Nov 2002 20:17:06 -0500 John covici <covici@xxxxxxxxxxx> wrote:
> Thanks, I was thinking of doing something like that as the only way
> to get what was actually sent. I'll try this and let everyone know
> what happened.
>
> on Thursday 11/28/2002 James R. Van Zandt(jrv@xxxxxxxxxxx) wrote
> >
> > John -
> >
> > I think you should try strace, which will run a program and generate a
> > trace of every system call. It's a very powerful debugging tool.
> >
> > I suggest you run emacspeak under strace, to get a record of exactly
> > what gets written to the device. Something like this:
> >
> > strace -o log -ff -F -s 120 emacspeak
> >
> > Run it just long enough to generate the error message. You'll get
> > several files (some pretty large) named log.XXX where XXX is a process
> > number. One of them will be for tcl, which reads from emacs and
> > writes to the DECtalk. Grep for the error message with something like
> > this:
> >
> > grep -n invalid log.*
> >
> > Then visit that file, and look at the preceding few lines to find what
> > was written to the device.
> >
> > - Jim Van Zandt
>
--
John Covici
covici@xxxxxxxxxxx
-----------------------------------------------------------------------------
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"
Emacspeak Files |
Subscribe |
Unsubscribe | Search