Subject: xsrc/7571: "xset b" pitch argument is interpreted backwards
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nathanw@MIT.EDU>
List: netbsd-bugs
Date: 05/12/1999 19:51:02
>Number:         7571
>Category:       xsrc
>Synopsis:       "xset b" pitch argument is interpreted backwards
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager (NetBSD X11 bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 12 19:50:00 1999
>Last-Modified:
>Originator:     Nathan J. Williams
>Organization:
Massachvsetts Institvte of Technology
>Release:        1.4A
>Environment:
	
System: NetBSD road-runner.unseen.edu 1.4A NetBSD 1.4A (ROAD-RUNNER) #209: Sun May 2 16:32:09 EDT 1999 nathanw@road-runner.unseen.edu:/b/nbsd/src/sys/arch/i386/compile/ROAD-RUNNER i386


>Description:
A pitch specified for the X bell with "xset b" is interpreted in some
inverse fashion. That is, larger arguments to "xset b" produce lower-pitch
beeps, and vice versa. 
This behaviour started when I switched to using wscons.

>How-To-Repeat:
This may be i386-specific; I don't have any other systems running X.

run X, get some sort of terminal window that passes beeps.
	echo ^G
	xset q
note bell pitch (typically 400).
	xset b 50 <double reported pitch, say 800>
	echo ^G
note that the bell pitch is lower, not higher.

Check if it's totally or only partially wscons's fault by switching
to a virtual terminal:
	echo ^G
	wsconsctl bell.pitch
	wsconsctl -w bell.pitch=<double whatever was just reported>
	echo ^G
note that the pitch increases as it should.
>Fix:
	Unknown.

>Audit-Trail:
>Unformatted: