On Mon, Feb 03, 2003 at 07:59:49PM -0500, D. Hugh Redelmeier wrote:
> Might be worth doing an strace. On RHL8.0, I get:
>
> select(5, [3 4], [], NULL, {0, 0}) = 1 (in [3], left {0, 0})
> select(4, [3], [], [], {0, 0}) = 1 (in [3], left {0, 0})
> select(4, [3], [], [], {0, 0}) = 1 (in [3], left {0, 0})
> select(4, [3], [], [], {0, 0}) = 1 (in [3], left {0, 0})
>
> Notice that each of these select calls has a timeout specified, and
> that timeout is 0 seconds. So these calls never block. Besides that,
> there is something available on file descriptor 3 but it is never
> being accessed.
>
> What does strace show on your older system?
I guess the comparable chunks are like this:
select(6, [4 5], [], NULL, {0, 0}) = 1 (in [4], left {0, 0})
select(5, [4], [], [], {0, 0}) = 1 (in [4], left {0, 0})
select(5, [4], [], [], {0, 0}) = 1 (in [4], left {0, 0})
select(5, [4], [], [], {0, 0}) = 1 (in [4], left {0, 0})
> | > | I'm using
> | > | a test-screen in vttest to exercise this feature.
> | >
> | > Do you mean the feature of hanging, or the feature used properly?
> |
> | the latter. With Redhat 8.0, I was able to make it run away with a few
> | dozen clicks in that test screen.
>
> That sounds bad. I have used JOVE full time for almost 20 years and
> usually hit this problem when I lose contact with the machine running
> JOVE (think ssh in an xterm).
I'd not noticed it before, but didn't use it (recently - I did implement
code for that several years ago in vile, but am not using that).
> On the other hand, the ugly echo & click hangs xterm on my machines
> first time every time.
>
> | > What do you think about the approach I suggested (act as if a default
> | > CSI...T sequence had been received until the real one is)? Perhaps
> | > the default should only be used after some timeout.
> |
> | it's not entirely clear to me what the sequence would be here.
>
> Two obvious ones: the whole xterm region, or an empty region at the
> point of the cursor. I'd vote for the empty region: no information
> about a subsequent click is lost (the answer will be forced to be the
> long form).
>
> Clearly func should be non zero in either case: we don't want to
> cancel the mode.
>
> I do suggest that the default only be installed after a brief timeout.
> How long? A tenth of a second feels about right.
>
> I also suggest that the default be replaced if and when the explicit
> CSI...T sequence is received.
It sounds as if you're proposing to make it return a dummy escape sequence -
or make the escape sequence terminate automatically after a short time -
but it's not clear to me
--
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel