public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Re: Progress reports
@  pj
   ` Chuck Hallenbeck
  0 siblings, 1 reply; 8+ messages in thread
From: pj @  UTC (permalink / raw)
  To: speakup

Greetings,

I wrote:
> Lots of important applications display rapidly-updating
> progress-report lines, which I find annoying when using speakup.
> For example,  wget, or mplayer f.mp3, or aptitude safe-upgrade.
> ... Does someone have a collection of appropriate aliasses or
> wrapper-scripts ?

Chuck Hallenbeck wrote:
> Much simpler. Press the combination speakup+keypad-enter to
> silence spontaneous speech from speakup. The review mode still
> works. Press the combination again to restore full operation.

True.  But, being a newbie, naively reasoning that since this is
a computer it might as well do it automatically, I've written
a little Perl script:   http://www.pjb.com.au/blin/free/quiet
Documentation: http://www.pjb.com.au/blin/quiet.html

  quiet is a wrapper which, if the environment variable QUIET_PLEASE is
  set, silences speakup. Then it runs the system-installed program of
  the same name with the same arguments, then it switches speakup back on.

To install:
 1. Copy it into somewhere in your $PATH which is ahead of the system
    directories which contain the programs you wish were quieter
 2. Make it executable
 3. Link it to names identical to all the noisy programs you wish to wrap.
 4. When you're running speakup, set the environment variable QUIET_PLEASE

It works for me, so may it be useful...

Peter Billam

http://www.pjb.com.au       pj@pjb.com.au      (03) 6278 9410
"Was der Meister nicht kann,   vermöcht es der Knabe, hätt er
 ihm immer gehorcht?"   Siegfried to Mime, from Act 1 Scene 2


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Progress reports
   Progress reports pj
@  ` Chuck Hallenbeck
     ` Gregory Nowak
  0 siblings, 1 reply; 8+ messages in thread
From: Chuck Hallenbeck @  UTC (permalink / raw)
  To: pj, Speakup is a screen review system for Linux.

On Wed, Dec 01, 2010 at 03:41:45PM +1000, pj@pjb.com.au wrote:
> True.  But, being a newbie, naively reasoning that since this is
> a computer it might as well do it automatically, I've written
> a little Perl script:   http://www.pjb.com.au/blin/free/quiet
> Documentation: http://www.pjb.com.au/blin/quiet.html
> 

Very nice. I haven't tried it yet, but it does look interesting. Is the
default for ln to make hard links or soft? Would either style work in
this setup?

Chuck


-- 
The Moon is Waning Crescent (22% of Full)
      Website: hallenbeck.ftml.net, Jabber ID: chuckh1@jabber.org
                                --------
         You're not an alcoholic unless you go to the meetings.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Progress reports
   ` Chuck Hallenbeck
@    ` Gregory Nowak
       ` Zachary Kline
  0 siblings, 1 reply; 8+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Dec 01, 2010 at 06:30:26AM -0500, Chuck Hallenbeck wrote:
> Is the
> default for ln to make hard links or soft?

I believe ln makes hard links by default.

> Would either style work in
> this setup?

I don't see why not, but I could be wrong.

Greg


- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkz2j50ACgkQ7s9z/XlyUyArxQCeMlPxXHLc1kWCqUiU18XQdL52
0usAn0wgYJMHJaGfRxATkpiSQRIqE83R
=GLhG
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Progress reports
     ` Gregory Nowak
@      ` Zachary Kline
  0 siblings, 0 replies; 8+ messages in thread
From: Zachary Kline @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.




On Wed, 1 Dec 2010, Gregory Nowak wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, Dec 01, 2010 at 06:30:26AM -0500, Chuck Hallenbeck wrote:
>> Is the
>> default for ln to make hard links or soft?
>
> I believe ln makes hard links by default.
>
>> Would either style work in
>> this setup?
>
> I don't see why not, but I could be wrong.
Technically, symlinks can cross filesystem boundaries, whereas hard links 
cannot.  Beyond that, for this particular situation I think they're pretty 
much equivalent.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Progress reports
@  pj
  0 siblings, 0 replies; 8+ messages in thread
From: pj @  UTC (permalink / raw)
  To: speakup

> > I believe ln makes hard links by default.
> > > Would either style work in this setup?
> > I don't see why not, but I could be wrong.
> Technically, symlinks can cross filesystem boundaries, whereas
> hard links cannot.  Beyond that, for this particular situation
> I think they're pretty much equivalent.

Yup, you'll only notice the difference when you delete one of
the files; with symlinks, if you happen to delete the original
file (e.g. "quiet") then all its symlinks are left pointing
at nothing :-(  So in this example, as someone might easily
decide to delete the file quiet because it doesn't wrap anything,
hard links might be a safer choice; but the stakes aren't high.

A symlink can link to a directory, whereas hard links can't.
Overall, symlinks are more common.  Hard links date from the very
beginning of unix, whereas symlinks were introduced a few years
later; that's the only reason why ln makes hard links by default.

Peter

http://www.pjb.com.au       pj@pjb.com.au      (03) 6278 9410
"Was der Meister nicht kann,   vermöcht es der Knabe, hätt er
 ihm immer gehorcht?"   Siegfried to Mime, from Act 1 Scene 2


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Progress reports
   pj
   ` Chuck Hallenbeck
@  ` Frost
  1 sibling, 0 replies; 8+ messages in thread
From: Frost @  UTC (permalink / raw)
  To: speakup

On Sun, Nov 28, 2010 at 09:01:00PM +1000, pj@pjb.com.au wrote:

	> Lots of important applications display rapidly-updating
> progress-report lines, which I find annoying when using speakup.


And your's truly replied: 

	I use the "beep" package, and because my internal computer 
speaker SUCKS, I normally do a 2600Hz beep, followed by a normal beep, 
followed by another 2600Hz beep.  This is because I'm commonly on IRC 
where if anyone uses my nickname, the system beeps at me.  HTH,

				Michael

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Progress reports
   pj
@  ` Chuck Hallenbeck
   ` Frost
  1 sibling, 0 replies; 8+ messages in thread
From: Chuck Hallenbeck @  UTC (permalink / raw)
  To: pj, Speakup is a screen review system for Linux.

Hi,

On Sun, Nov 28, 2010 at 09:01:00PM +1000, pj@pjb.com.au wrote:
> Does someone have a collection of appropriate aliasses or
> wrapper-scripts ?  Or is there a standard environment variable
> like SPEAKUP_IN_USE that we could campaign to have applications
> respect ?

Much simpler. Press the combination speakup+keypad-enter to silence
spontaneous speech from speakup. The review mode still works. Press the
combination again to restore full operation. 

Chuck

> 
> Peter Billam
> 
> http://www.pjb.com.au       pj@pjb.com.au      (03) 6278 9410
> "Was der Meister nicht kann,   vermöcht es der Knabe, hätt er
>  ihm immer gehorcht?"   Siegfried to Mime, from Act 1 Scene 2
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waning Gibbous (55% of Full)
      Website: hallenbeck.ftml.net, Jabber ID: chuckh1@jabber.org
                                --------
         You're not an alcoholic unless you go to the meetings.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Progress reports
@  pj
   ` Chuck Hallenbeck
   ` Frost
  0 siblings, 2 replies; 8+ messages in thread
From: pj @  UTC (permalink / raw)
  To: speakup

Greetings,

Lots of important applications display rapidly-updating
progress-report lines, which I find annoying when using speakup.
For example,  wget, or mplayer f.mp3, or aptitude safe-upgrade.
Mostly I can't see a way to switch them off, except brute force:
  echo 7 > /sys/accessibility/speakup/silent
  mplayer f.mp3
  echo 4 > /sys/accessibility/speakup/silent
or:
  wget http://somewhere.com/index.html 2>/dev/null 

Does someone have a collection of appropriate aliasses or
wrapper-scripts ?  Or is there a standard environment variable
like SPEAKUP_IN_USE that we could campaign to have applications
respect ?

Peter Billam

http://www.pjb.com.au       pj@pjb.com.au      (03) 6278 9410
"Was der Meister nicht kann,   vermöcht es der Knabe, hätt er
 ihm immer gehorcht?"   Siegfried to Mime, from Act 1 Scene 2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Progress reports pj
 ` Chuck Hallenbeck
   ` Gregory Nowak
     ` Zachary Kline
  -- strict thread matches above, loose matches on Subject: below --
 pj
 pj
 ` Chuck Hallenbeck
 ` Frost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).