Bug 542521
| Summary: | BELL (ascii 7) on /dev/pts/X does not beep in F12 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Durdanovic <idurdanovic> |
| Component: | libX11 | Assignee: | Søren Sandmann Pedersen <sandmann> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | kem, mcepl, mlichvar, pertusus, ralston, sandmann |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-12-09 08:53:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Igor Durdanovic
2009-11-30 02:00:13 UTC
Not sure what's wrong, but xterm is calling XBell() as it should. I do not think it is xterm or x/emacs problem, the problem is in /dev/pts/X <- it does not interpret "\a" as bell and it does not beep. I checked /etc/inputrc, and ~/.inputrc and visuall bell is not on. Few more things, if I run screen from console, created /dev/pts/X will beep on bell chracter. Starting X and attaching the same screen /dev/pts/X inside an xterm still beeps. But if I start new screen within X (xterm) the newly created /dev/pts/X does not beep. It seems as if X does something to newly created /dev/pts/X devices that turns off beeping? I did strace on X and xterm and it uses ioctl( SNDCTL_TIMER... ) call. Not sure what effect does that have on /dev/pts/X ? maybe that is the problem? Just discovered interesting thing, the beep happens when I am remotely controlling the desktop (via vncviewer)! It seems the check somewhere deep in the bowels of the X server is reversed. Any idea where to look? Igor, bug 520137 might be relevant... Yes, I had a look at it. I solved the problem for the moment by brute force - making a small library that replaces XBell() with XKbBell() and then preloading it. What is most puzzling though is that when vieving the display remotely via vncviewer (+ vine-server) the BELL character produces beep (on the remote machine), same for Ctrl-G in x/emacs. IMO, the behavior should be reversed, can somebody look into that (I have no idea where to look)? *** This bug has been marked as a duplicate of bug 520137 *** |