From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dsl092-170-086.wdc1.dsl.speakeasy.net ([66.92.170.86] helo=toccata.rednote.net) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 16zoeh-0003Wc-00 for ; Mon, 22 Apr 2002 20:59:39 -0400 Received: from localhost (janina@localhost) by toccata.rednote.net (8.11.6/8.11.6) with ESMTP id g3N0xYm01813 for ; Mon, 22 Apr 2002 20:59:34 -0400 X-Authentication-Warning: toccata.rednote.net: janina owned process doing -bs Date: Mon, 22 Apr 2002 20:59:34 -0400 (EDT) From: Janina Sajka X-X-Sender: janina@toccata.rednote.net To: speakup@braille.uwo.ca Subject: Re: saving rate In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Yes, this will work very well, Igor. I started with this kind of alias too. But I soon discovered that I might want to reset my punctuation level, and my default voice. And, as you suggest, I do have several synths that I might happen to be using. The quotes are important, I think. I have never tried without them, in any case. I think of them as identifying a single entity in the alias--all of the params to the right of the equals sign. On Mon, 22 Apr 2002, Igor Gueths wrote: > Hi Janina. I know this might be stupid, but I would think you leave the > quotes in in this case? Normally I wouldn't be asking this, but judging > from the fact that its a script we're talking about, do the quotes serve > as identifiers to the command itself, and the ` just means a next-command > type function? Based on your alias command, I have derived the following. > Note: Going to leave in quotes for now, bug please correct if wrong. > > alias s="echo 350 >/proc/speakup/rate" > > In Theory, I would think that the above command aliased to s would > reset the rate back to 350. The reason I left out copying the values to > /etc is because I don't have more than one synth (it could be different in > your case), so I figured I'd just leave it in /proc/speakup. > > On Mon, 22 Apr 2002, Janina Sajka wrote: > > > No, not saving. You then have to copy those values into /proc/speakup. Let me go get my alias command ... > > > > alias s="cp /etc/speakup/`cat /proc/speakup/synth`/* /proc/speakup" > > s > > > > The first of these two defines an alias which I call s. The second calls the alias. This is from my .bash_profile. > > > > Thereafter, if my settings go kerflooee, I just issue another s > > > > and all is back as it should be. > > > > > > On Mon, 22 Apr 2002, Igor Gueths wrote: > > > > > Hi Janina. But does saving the settings you have changed in /etc/ actually > > > make it so your rate is set to whatever you set it to instead of the > > > default of 300? > > > > > > On Mon, 22 Apr 2002, Janina Sajka wrote: > > > > > > > Your correct. The answer is in the speakup archive. > > > > > > > > Basically, the best solution seems to be to save the settings to a directory under /etc. My directory is called speakup and I have directories below > > > > that for each synth I use. These contain the settings I may wish to change on the fly. > > > > > > > > Do a search for /etc/speakup in the archive to find the mail on this. > > > > > > > > On Mon, 22 Apr 2002, Igor Gueths wrote: > > > > > > > > > Hi all. I don't remember if this was talked about before, but in any case > > > > > I don't remember what the thread (s) were called. Does anyone know how I > > > > > could save any settings that I made to any parameter in /proc/speakup? I > > > > > changed the default rate from 300 to 350 fine. However, when I have to > > > > > reboot let's say for a kernel recompile like the last time I did it, the > > > > > rate was back at 300. Is there any way to save the current settings? > > > > > Thanks! > > > > > > > > > > > > > > > _______________________________________________ > > > > > Speakup mailing list > > > > > Speakup@braille.uwo.ca > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > > > > > > -- > > > > > > > > Janina Sajka, Director > > > > Technology Research and Development > > > > Governmental Relations Group > > > > American Foundation for the Blind (AFB) > > > > > > > > Email: janina@afb.net Phone: (202) 408-8175 > > > > > > > > Chair, Accessibility SIG > > > > Open Electronic Book Forum (OEBF) > > > > http://www.openebook.org > > > > > > > > > > > > _______________________________________________ > > > > Speakup mailing list > > > > Speakup@braille.uwo.ca > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > > > > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > -- > > > > Janina Sajka, Director > > Technology Research and Development > > Governmental Relations Group > > American Foundation for the Blind (AFB) > > > > Email: janina@afb.net Phone: (202) 408-8175 > > > > Chair, Accessibility SIG > > Open Electronic Book Forum (OEBF) > > http://www.openebook.org > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > -- Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB) Email: janina@afb.net Phone: (202) 408-8175 Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org