Re: Xterm's pointerMode
Re: Xterm's pointerMode
- Subject: Re: Xterm's pointerMode
- From: Jeremy Huddleston Sequoia <email@hidden>
- Date: Mon, 25 Aug 2014 19:14:17 -0700
I'd rather not revert the patch. It was a short term workaround for a regression in xterm and it ended up preventing the original bug from being fixed for 6 years. I'd rather take a patch for the underlying issue if one can be determined in the next couple months.
--Jeremy
On Aug 25, 2014, at 18:14, Ken Preslan <email@hidden> wrote:
> So, I figured out why the patch was there. :-(
>
> To test something, I switched back from my usual 3rd-party window
> manager (fvwm) to xquartz-wm. Under xquartz-wm, a hidden pointer reappears
> when text scrolls off the top of the xterm. So, if your screen is full and
> you type a whole bunch of commands, the pointer hides and re-appears in
> an annoying way.
>
> The good news is that you can set the pointerMode resource to 0, which
> accomplishes the same thing as the patch -- the pointer never disappears.
> Maybe we should just make that the default in
> /opt/X11/share/X11/app-defaults/XTerm, or something?
>
> Sorry I didn't test that earlier.
>
>
>
> On Fri, Jul 11, 2014 at 11:58:54AM -0700, Jeremy Huddleston Sequoia wrote:
>> The patch has been removed in r121922 in MacPorts' xterm. It will also be removed in the next beta of XQuartz.
>>
>> Thanks,
>> Jeremy
>>
>> On Jul 11, 2014, at 11:33, Jeremy Huddleston Sequoia <email@hidden> wrote:
>>
>>> great, so something in the past 6 years has fixed the issue for us ;)
>>>
>>> I'll remove the patch.
>>>
>>> --Jeremy
>>>
>>> Sent from my iPad
>>>
>>>> On Jul 11, 2014, at 07:38, Ken Preslan <email@hidden> wrote:
>>>>
>>>> I've used remote xterms from Linux boxes for a long time. They hide their
>>>> pointer and I haven't seen any problems. I have had any problems since
>>>> I started using my hacked xterm MacPort. It all seems to work.
>>>>
>>>>
>>>>> On Fri, Jul 11, 2014 at 12:45:46AM -0700, Jeremy Huddleston Sequoia wrote:
>>>>> That patch dates back to April 2008 to address an issue where the mouse pointer wasn't becoming visible again after xterm lost focus. See the attached email for reference. It was apparently meant as a stop-gap, and we never got around to figuring out the underlying issue.
>>>>>
>>>>> So... with current xterm, does the pointer become visible when xterm looses focus? If so, I can just remove the patch.
>>>>>
>>>>> --Jeremy
>>>>
>>>>> Date: Tue, 22 Apr 2008 08:28:59 -0400
>>>>> From: Thomas Dickey <email@hidden>
>>>>> Subject: Re: ANN: xterm patch #235
>>>>> To: Jeremy Huddleston <email@hidden>
>>>>>
>>>>>> On Mon, Apr 21, 2008 at 06:10:09PM -0700, Jeremy Huddleston wrote:
>>>>>> Thanks. I have this on my stack to take a look at... for now, we're
>>>>>> just disabling the hiding in our builds, but I should have a proper
>>>>>> fix (or atleast more debugging info) for you in a few weeks.
>>>>>
>>>>> thanks -
>>>>>
>>>>>>
>>>>>> Thanks again,
>>>>>> Jeremy
>>>>>>
>>>>>>> On Apr 21, 2008, at 17:17, Thomas Dickey wrote:
>>>>>>>
>>>>>>>> On Mon, Apr 21, 2008 at 04:13:07PM -0700, Jeremy Huddleston wrote:
>>>>>>>>
>>>>>>>>> On Apr 20, 2008, at 17:09, Thomas Dickey wrote:
>>>>>>>>>
>>>>>>>>> * modify unselectwindow() to ensure that the mouse pointer is
>>>>>>>>> not
>>>>>>>>> hidden after xterm loses focus (report by Jeremy Huddleston).
>>>>>>>>
>>>>>>>> We're still not getting the mouse to unhide itself when the xterm
>>>>>>>> looses focus... =/
>>>>>>>
>>>>>>> hmm - that was a guess, based on your comment that the text-cursor is
>>>>>>> being set to an outline (this is done by clearing "screen->select").
>>>>>>> Either there's a case where the call generates X-events that have to
>>>>>>> be
>>>>>>> serviced, or my guess was wrong (i.e., there's someplace where the
>>>>>>> text-cursor is reset that I'm not seeing). But I'm only "seeing"
>>>>>>> screen->select being cleared in this one place.
>>>>>>>
>>>>>>> I'm not sure how I could reproduce the effect here.
>>>>>>>
>>>>>>> I think it's possible to get a little insight on this by seeing if
>>>>>>> xterm's really getting to unselectwindow() at the point where you're
>>>>>>> seeing the cursor go away. For instance, adding a
>>>>>>>
>>>>>>> fprintf(stderr, "unselectwindow\n");
>>>>>>>
>>>>>>> at the beginning of that function in misc.c should print that
>>>>>>> immediately on a window from which xterm was started
>>>>>>> (for the test of course).
>>>>>>>
>>>>>>> --
>>>>>>> Thomas E. Dickey
>>>>>>> http://invisible-island.net
>>>>>>> ftp://invisible-island.net
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thomas E. Dickey
>>>>> http://invisible-island.net
>>>>> ftp://invisible-island.net
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>>> On Jul 10, 2014, at 01:12, Thomas Dickey <email@hidden> wrote:
>>>>>>
>>>>>> ----- Original Message -----
>>>>>> | From: "Brandon Allbery" <email@hidden>
>>>>>> | To: "Ken Preslan" <email@hidden>
>>>>>> | Cc: "Apple X11 Users' List" <email@hidden>
>>>>>> | Sent: Wednesday, July 9, 2014 10:11:13 PM
>>>>>> | Subject: Re: Xterm's pointerMode
>>>>>> |
>>>>>> | On Wed, Jul 9, 2014 at 9:33 PM, Ken Preslan < email@hidden >
>>>>>> | wrote:
>>>>>> |
>>>>>> | Since the X11 stuff in MacPorts is so similar to the XQuartz stuff, I
>>>>>> | looked at the xterm port. There's a patch called
>>>>>> | xterm-nohide-pointer.patch.
>>>>>> | So, it seems to be deliberate. I wonder why.
>>>>>> | If this is deliberate, perhaps mention of the resource should be
>>>>>> | removed from its manpage also.
>>>>>>
>>>>>> Jeremy may be able to clarify:
>>>>>>
>>>>>> http://trac.macports.org/changeset/71926
>>>>>>
>>>>>> --
>>>>>> Thomas E. Dickey <email@hidden>
>>>>>> http://invisible-island.net
>>>>>> ftp://invisible-island.net
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> X11-users mailing list (email@hidden)
>>>>>>
>>>>>> This email sent to email@hidden
>>>>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> X11-users mailing list (email@hidden)
>>>>>
>>>>> This email sent to email@hidden
>>>>
>>>>
>>>> --
>>>> Ken Preslan <email@hidden>
>>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> X11-users mailing list (email@hidden)
>>>
>>> This email sent to email@hidden
>
> --
> Ken Preslan <email@hidden>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden