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

For anyone that's interested... here's a perl script to show how easy it is
to exit-confirm.  Call this script in a term window when you want to
exit, and it'll ask for a "Y" or an "N" (case insensitive) no is default,
so hitting enter will not kill blackbox)

Caveat:  It'll kill all blackbox instances that you own.

#!/usr/bin/perl
print "Really exit? (y/N): ";
if (<STDIN> =~ m/y/i) { 
        system('killall blackbox');
}


- -- 
[scott] :: "ein kalter Tod für den sprecher von Lügen"

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPAy+Y2kF5Bwr8hiXEQIZaQCgl3xCzN2C0wZhApnyetCpBiEsmTkAnivV
zV5/bwols97YLKwlhyUFMywV
=xXb0
-----END PGP SIGNATURE-----

Reply via email to