home *** CD-ROM | disk | FTP | other *** search
- //////////////////////////////////////////////////////////
- // PROGRAM: SOUNDOFF.SLT //
- // AUTHOR: Christopher Saunders //
- // DATE: April 25th 1992 //
- // //
- // INFORMATION //
- // ~~~~~~~~~~~ //
- // Are you annoyed by some BBSs that think it is "cute" //
- // to blast you with beeps (CTRL-Gs)? Well, here is //
- // your defense! Execute this script and your speaker //
- // is silenced! Run SOUNDON.SLT and your speaker is //
- // immediately turned on! Not only will this script //
- // filter out CTRL-Gs, it will silence the alarm that //
- // goes off when Telix connects to a system, or a file //
- // transfer is completed! //
- //////////////////////////////////////////////////////////
-
- int old_sound;
-
- main()
- {
- old_sound = _sound_on;
- _sound_on = 0;
- status_wind("Sound is off!",30);
- }
-