GNU bug report logs -
#57434
28.1.91; Terminal Emacs Mac OS flickering.
Previous Next
Full log
Message #265 received at 57434 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> So you are saying at this point only my last alternative, i.e. a
> variable exposed to Lisp, is a reasonable way ahead? Until, that is,
> those emulators get their act together and agree on some standard way
> of detecting the need for synchronized updates?
Yes, I think an option is currently all we can do. And somehow define
what to send to the terminal, P1 or P2.
I installed iTerm2 just now, which implements P2 at least. iTerm2 has a
preference options to switch GPU acceleration on/off. iTerm2 uses
TERM=xterm256-color, independent of the GPU setting. So matching TERM
wouldn't work with iTerm2. The query control sequence of P2 seems to
return if GPU accel is on or off on iTerm2.
>
>> >> BTW, tmux uses the sync update for their own TUI and they check "Sync" terminal capability. Do we need to
>> >> do the same or we can just send the escapes and hope the unsupported terminal would just recover?
>> >
>> > What is that Sync capability, what is its value for tmux, and how is
>> > it supposed to be used? Is there any documentation I could read about
>> > that?
>>
>> I know Sync as an xterm extension, although I don't remember what it is
>> for. It's a non-standard terminfo capability which is only shown with
>> infocmp -x.
>>
>> Neither P1 nor P2 mention Sync in any way.
>
> Does terminfo return the Sync capability on those terminals, as it
> returns the standard ones? That is, can we test for it inside
> init_tty?
I think so.
BTW, iTerm2 doesn't seem to define Sync. Kitty does. It's a mess.
This bug report was last modified 170 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.