Thursday, June 4, 2009, 8:50pm
You are correct that Apple did not supply an X11 with
with OS X 10.1, though I did not say it did. I simply said
all this worked from 10.1 onwards, but did not say it was
Apple's X11 at first. Indeed, I specifically said this was
not the case in my original email.
Shortly after I got 10.1, in early 2002, I got an X11 from
Tenon Systems, which I used until the beta version of
Apple's X11 was announced, which I immediately grabbed,
which even with bugs was a lot better than Tenon's version.
I am pretty sure Apple's beta X11 came out while I was on
Jaguar, though the release version may not have been
until Panther. But anyway, I have been using X11 on my
Macs, in form or another, since 10.1, using the same nedit
binary on all.
You asked, "Do you happen to have proxy on select
enabled in your clipboard settings?" I presume you mean
the X11 Preferences Pasteboard option that says
Update Pasteboard immediately when new text is selected.
I did have this turned on, so I just turned it off, and I no longer
get the beep in nedit or in xterm when I type text after selecting
text.
So I guess this solves the problem, but I have to wonder why
having this option turned on should cause the beep.
Under this option, I see the note that it may not work with some
applications.
However, I just turned the option above back on, and it actually
does seem to work in nedit and xterm. That is, if I select some
text in nedit or xterm with this option turned on, I can then
immediately paste the selected text into Terminal or TextEdit,
without having to do a copy first.
This is a very nice feature, which I would hate to lose by
having to turn off this option in order to stop the silly beeping.
Playing with this a bit, I am guessing the programmer decided
to put the beep in once the selection was deselected (which
typing text will of course do), as a signal that the formerly
selected text might no longer still be available to the
Pasteboard (though my testing shows it still is available,
until something else fills the Pasteboard).
In fact, I have just verified that this is the case. I selected
some text in nedit (with the above option turned on), then
just clicked anywhere in the text area (which deselected
the selected text), and I got a beep.
So, now we know what the problem is. When this option
is turned on, a deselection callback is doing a beep. The
solution is simple. Find this callback, or just do a search
on the beep routine (it can't be called in too many places)
and rip the bloody call out.
The beep should go away, if nobody can guess what it
means, and if things still work properly anyway, as they
seem to.
After all, I, a very experienced computer user and
programmer, could not readily figure out what it was
about, and neither could you, who probably has more
experience with Apple X11 than anybody, which means
a naive user would have no hope at all of figuring it out.
Thanks a lot for the tip that allowed me to make sense of
this thing.
Vernon Williams
On Jun 4, 2009, at 8:27 PM, Jeremy Huddleston wrote:
On Jun 4, 2009, at 18:10, Vernon Williams wrote:
It did this on 10.1, Jaguar, Panther, Tiger, and now Leopard.
It also did this on Sun work stations for many years.
Really? X11 was available for OS X 10.1? I always thought Panther
was the first. I guess I need a better history teacher. ;)
It is almost like selecting text is triggering some new event
handler or translation or something.
Do you happen to have proxy on select enabled in your clipboard
settings? That would be the only thing I can think of.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden