Re: cursor fix binary
Re: cursor fix binary
- Subject: Re: cursor fix binary
- From: Sameer Al-Abdul-Wahid <email@hidden>
- Date: Wed, 31 Oct 2007 09:21:09 -0400
Hi Ben
1. I can confirm that the xterm yellow cursor is no more on my system,
thanks for the binary. However, it appears to have introduced a new
bug with xterm's printing of characters: if I move my xterm window
around a few times, I get a black bar at the left of every character
that I type. Characters printed by the terminal seem to be missing one
or two pixels on the left. See here:
http://www.utm.utoronto.ca/~wahidmoh/xterm.png
2. Yes, the "mouse button fix" is acting weirdly. Here is some data,
and a possible suggestion for a solution
Using the MBP trackpad:
In xev, an option-click registers button three, while command-click
registers as button two.
In xterm and vi, a command-click pastes, while an option-click
highlights text
Using my Logitech scroll mouse (with the middle button configured as
"button number 3" in Logitech Control Center), or using my Microsoft
scroll mouse:
In xev, a middle-click registers as button two and a right-click as
button three.
In xterm and vi, middle-click pastes and right-click highlights text.
In NMRDraw (the only reason I use X11, actually), an option-click does
what the right mouse button does, while a command-click does what the
left mouse does.
Looks to me like option-click should be mapped to button two, and
command-click to button three, and then option-click would always
behave as middle-click, and command-click would behave as right-click.
Sameer
On 31-Oct-07, at 7:54 AM, Ben Byer wrote:
I though that crash looked familiar -- I fixed it in the version that
shipped with Leopard, but missed it in making that binary.
Please give the file I just announced on the X11-users list, and let
me know if you still see that crash.
-b
On Oct 30, 2007, at 12:38 PM, Sameer Al-Abdul-Wahid wrote:
Hi Ben,
I don't get yellow cursors on local xterms (which I start by running
"xterm" in a terminal window), but I do get them in the following
case:
ssh -XY our.fedora.core.4.server 'xterm'
The xterm that is spawned from this SSH command has a yellow cursor
to go with it. I'd imagine you tried this already, but I figured
I'd send it along just in case.
The binary you linked to does not fix the yellow cursor problem for
me, but thank you for working at these issues! The binary actually
crashes X11 when I try the command above.
I'd compile it myself but I don't quite know how to include the
patch in the compile process. I'm happy to help "test" anything for
you, but I should let you know I don't know much about coding (I use
X11 primarily for viewing scientific data).
Cheers,
Sameer
On 29-Oct-07, at 9:31 PM, Ben Byer wrote:
The following steps should work to build the Xquartz that comes with
Leopard, assuming you're on a Leopard system. (It's possible to do
this on Tiger, too, but is much more difficult and the subject for
another conversation.)
curl -LO http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz
curl -LO http://downloads.sourceforge.net/mesa3d/MesaLib-6.5.2.tar.bz2
curl -LO http://people.freedesktop.org/~bbyer/x11app/xorg-server-1.2.0a1.tar.bz2
tar zxf pkg-config-0.22.tar.gz
tar jxf MesaLib-6.5.2.tar.bz2
tar jxf xorg-server-1.2.0a1.tar.bz2
cd pkg-config-0.22
./configure && make && sudo make install
export PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig
export CFLAGS="-arch ppc -arch i386 -pipe"
export LDFLAGS="-arch ppc -arch i386 -pipe"
cd ../xorg-server-1.2.0
./configure --prefix=/usr/X11 --with-mesa-source=`pwd`/../
Mesa-6.5.2/ --disable-dependency-tracking
make
sudo mv /usr/X11/bin/Xquartz /usr/X11/bin/Xquartz.old
sudo cp hw/darwin/Xquartz /usr/X11/bin
As an added bonus, I applied the yellow-cursor-fix patch that I
dropped on the floor and it's present in that source tree. A
compiled version of that binary is available at http://people.freedesktop.org/~bbyer/x11app/Xquartz-cursorfix.bz2
.
I'd be interested in hearing if that binary fixes the cursor problem
(I still have never successfully reproduced the problem, and not for
lack of trying). I would also like to hear if those instructions
work, and I would love any other patches thrown my way, too.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
--
Sameer Al-Abdul-Wahid, Ph.D. Candidate
Department of Chemical and Physical Sciences
University of Toronto Mississauga
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
--
Sameer Al-Abdul-Wahid, Ph.D. Candidate
Department of Chemical and Physical Sciences
University of Toronto Mississauga
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden