Re: debian package 2.8.0-1

Alexander Zangerl <[email protected]> Sun, 06 Apr 2014 19:01:02 +1000
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
On Sat, 05 Apr 2014 09:27:05 -0500, Dale Alspach writes:
>I have now turned off every setting that seems to refer to sound.
>exmh will now open and run even if started as exmh &

that's good to know - i haven't had exmh set to ding for decades; 
i find it too distracting.

>I am not a developer, but it would seem that there is a design flaw or
>perhaps there has been a change in expected behavior from a subsystem.

not in the last 10 years.

>Making a sound is not a critical part of a mail program so it should not
>wait forever for an exit response from a child process that has no effect on
>continuing the program.

not waiting wouldn't really help much in this case, as we'd just
accumulate stuck braindamaged sound player processes. exmh expects the
sound player to do its job and return immediately; if the sound player
doesn't do that properly then all bets are off and i'd call that a broken 
player.

(as far as i can tell from looking at the code exmh fires up the player
in the background, but tries to catch the result - a combo that doesn't
quite make sense to me.)

however, i've just checked play (the sox wrapper), and it's fubar and 
simply doesn't run in the background (which is how exmh starts it).
try this:

play /usr/lib/exmh/drip.au &
no sound, no return, stuffed, your shell will tell you the process is stopped.

play -q /usr/lib/exmh/drip.au &
works, but it prints some nuisance error messages.

i'd recommend you change your sound cmd to play -q, or possibly even
better aplay (if running under plain alsa) or paplay (if you use
pulseaudio). i'll adjust the default play command for the next debian release.

regards
az


-- 
Alexander Zangerl + GPG Key 0xB963BD5F (or 0x42BD645D) + http://snafu.priv.at/
Fachbegriffe der Informatik, Firewall: Firewalls schützen vor Viren, 
Trojanern, Kettenbriefen und Taubenscheiße auf dem Autodach. -- Martin Schmitt

_______________________________________________
Exmh-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-users
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJTQRfOAAoJED06g4g30PqNmBYP/RSQmMFAVIYDNyMkwKmpE4LR
+rR85Rxp8MvU6U+e7eKluskZXjqnZdzf0iNBpsf4X4xPpz6bjwF4ph3ocZQG24bu
a4eHOfPnU7Qv/Rgtrm2SrXnYDbJev+j4YSjVYf51WjNgdrmFmR7rDy5YBAkXyDYY
CGCq6jjsL1X63X1AZAkDGSrED7DpKJam3GNVpmc2ZUrkyrr9S+bN/Ya4RxsKju9N
vSvQN/GwGrNrDCJKK/yD3K0EV5QFq0VZqBqbnlJ7nVfO9QlMvP1fG5He17hepMTA
5ZOhDz1YJzH4g+hDO/uFLuaAKztgRiGMyhmBNf+19CZSJ2K1oxHAYts8QWuTHRWc
MGXiTEf3nqv6eZlLX3X/NW+fQx0htDIiQtMWpmAeakDZ0zHW7mQk4gMw0gghifGB
EawZ4gAluKgTQSm6ulaOMo1gsBSVYXsG0bHfVXGd79L7nhhZ2CpI+I/E+f4S0kw5
FgXxAhtnMH1NTFzw5d22ebXOOjDqa1f4bqeh1DXmb30YKNsp/QZYh4rC9rB8eRkj
qUV4sQJHrT0fuVWzkt0kIFCpXhfFo7FF9oLw4R5LV2oo4PDef6FaQsPZDXLLJDe2
GVC2fsdPbBKocIbHFM8/HPsEdFISwY9mveF1k6EltzPxCBfxgVAuFK/1RbtfIH4p
QhjymT+81aXuZc1fn2IP
=g3xi
-----END PGP SIGNATURE-----