saving settings

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

 



I will probably be sticking to the echo/script method then.

-----Original Message-----
From: Kerry Hoath [mailto:kerry@xxxxxxxxxxxx]
Sent: Wednesday, February 14, 2001 10:28 AM
To: speakup at braille.uwo.ca
Subject: Re: saving settings


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


_______________________________________________
Speakup mailing list
Speakup at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux