From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dsl092-170-086.wdc1.dsl.speakeasy.net ([66.92.170.86] helo=cantata.rednote.net) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 18owd9-0004e1-00 for ; Fri, 28 Feb 2003 21:21:39 -0500 Received: from cantata.rednote.net (localhost.localdomain [127.0.0.1]) by cantata.rednote.net (8.12.3/8.12.3/Debian -4) with ESMTP id h212LZtH018125 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Fri, 28 Feb 2003 21:21:36 -0500 Received: (from janina@localhost) by cantata.rednote.net (8.12.3/8.12.3/Debian -4) id h212LZM6018123 for speakup@braille.uwo.ca; Fri, 28 Feb 2003 21:21:35 -0500 Date: Fri, 28 Feb 2003 21:21:34 -0500 From: Janina Sajka To: speakup@braille.uwo.ca Subject: Re: Configuration Files Message-ID: <20030301022134.GF17748@rednote.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Operating-System: Linux cantata 2.4.20 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 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: I do almost the same thing. But, on my laptops, I find that I need somewhat different settings for different synthesizers, depending on which one I'm using at the moment. So, I keep a directory for each synthesizer in /etc/speakup, using the speakup_synth= string as the directory name, ltlk, dectlk, etc. My initialization command is: cp -r /etc/speakup/`cat /proc/speakup/synth`/* /proc/speakup Actually, I go one step further. I put this in an alias so that I can easily call it again should things get mucked up somehow: alias s="cp -r /etc/speakup/`cat /proc/speakup/synth`/* /proc/speakup" Chuck Hallenbeck writes: > From: Chuck Hallenbeck > > Here is how I do it: > > I maintain a directory under /etc called speakup which contains > all the elements of /proc/speakup which are configurable. Some > elements under /proc/speakup are not configurable; they are > read-only. But such things as rate, pitch, punc_level, and the > strings for some and most punctuation, can be written as well as > read. > > I have a command in my /etc/rc.d/rc.local, and again in > /etc/profile, like this: > > cp -R /etc/speakup /proc > > so that on bootup and whenever a user logs in, speakup is > configured to whatever the values are in the /etc/speakup > directory. > > So to change something I must either write the new value to > /proc/speakup, or else edit the stuff in /etc/speakup and then > execute a command such as shown above. > > This is not particularly user friendly either, but it is a good > starting point. I believe Janina and others who use more than one > synth from time to time have worked out an even more elaborate > but more flexible method of saving and restoring speakup > parameters. > > HTH - > > Chuck > > On Fri, 28 Feb 2003, Luke Davis wrote: > > > Useful knowledge, which I previously did not have. > > > > So should all configuration be handled this way, thus making a > > configuration file approach meaningless, or is there still potential for > > value to that idea, either now or for future configurable options? > > > > I don't particularly mind writing values to /proc entries every time I > > want to change the punctuation level, but I am not all users, and some > > might want a more intuitive way of handling this, such as an rc or other > > such file. > > > > I would like any opinions I can get. > > > > Luke > > > > On Fri, 28 Feb 2003, Chuck Hallenbeck wrote: > > > > > Speakup presently allows punctuation level to be set at none, > > > some, most, or all. The some and most levels can be configured by > > > the user to include or exclude whatever he or she wishes. You > > > select the level by writing a number to /proc/speakup/punc_level, > > > and you can edit and rewrite the some and most strings to that > > > directory too. I am not sure what other functionality would be > > > added by Luke's suggestions. Maybe I am misunderstanding > > > something, but it seems to me the existing features will do > > > pretty much whatever one wishes. > > > > > > > > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > -- > The Moon is Waning Crescent (5% of Full) > So visit me sometime at http://www.mhonline.net/~chuckh > > > _______________________________________________ > 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