saving settings

Kerry Hoath kerry at gotss.eu.org
Wed Feb 14 12:27:52 EST 2001


Actually copying the files is likely to use up more file handles than echoing values,
so from a puritanical point of view echo 8 >/proc/speakup/rate will be faster than
the copy method because there are less fopen and fclose calls. Each time you fopen a file
you need to create a file handle structure for it. Echo is also
a shell builtin so it is likely to execute fast.
On Wed, Feb 14, 2001 at 06:36:48AM -0700, Steve Holmes wrote:
> <hmmm> that is an interesting idea.  What I've been doing is to run a
> shell script that "echos" my desired values into the /proc files..  This
> file copy method sounds like it might be more efficient though.  Haven't
> done much of anything with the /proc file system; so much to learn:).
> 
> On Tue, 13 Feb 2001, William F. Acker WB2FLW +1-303-777-8123 wrote:
> 
> > Hi Raul,
> > 
> >      Loadspk doesn't work any more.  The speech parameters are all
> > controlled from files in /proc/speakup.  I created a directory called
> > /etc/speakup and put my settings in that directory.  I made a file for
> > rate and put 6 in it and so on.  Then, in my rc.local, I put a line that
> > says:
> > cp -R /etc/speakup /proc
> > note the uppercase R.
> > 
> > 
> > 
> >           HTH.
> >           Bill
> > 
> > 
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

-- 
--
Kerry Hoath: kerry at gotss.eu.org
Alternates: kerry at emusys.com.au kerry at gotss.spice.net.au or khoath at lis.net.au
ICQ UIN: 8226547





More information about the Speakup mailing list