Kevin Brosius on Sat, 2 Feb 2002 00:10:17 +0100 |
gabriel rosenkoetter wrote: > > On Fri, Feb 01, 2002 at 12:32:18PM -0500, Bill Jonas wrote: > > From xset(1): > > b The b option controls bell volume, pitch and dura > > tion. > > ... > > > > Don't know if that's what you're looking for or not. If you don't want > > to call xset repeatedly from your Perl script, you could look at the > > source for xset to find out what it's doing. > > Hopefully, despite the x in its name, it's doing things in a POSIX-y > way rather than through X calls. > > (Unless X/Open actually feels that they shouldn't be tied to *any* > OS, in which case they will have wrapped these functions and you'll > have to do some tracing to find the right place.) The x in it's name implies it sets properties in the X-server, which has very little to do with whether or not it's POSIX compliant. It's an x client app. Of course, the neat thing is you could set your DISPLAY variable, and with the proper access to the server you ought to be able to turn the bell on and off at a remote location (from your headless box)... -- Kevin Brosius ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|