Wednesday, June 15, 2022

Re: Cursors

On 2022-06-15, 'Grant Taylor' via vim_use wrote:
> On 6/15/22 11:55 AM, Bram Moolenaar wrote:
> >The terminal that I use to run ssh does not support it.
>
> Hum.
>
> This sounds like a potential problem in the terminal. Specifically
> that the terminal should set TERM to the terminal that it's actually
> emulating.
>
> I consider it a bug if a terminal emulator claims that it's emulating
> a terminal that's more capable than it actually is. E.g. claiming
> XTerm when it's really VT100 level capabilities.

Yeah, but...

A problem is that if somebody comes out with a new Whizbang terminal
that does everything an Xterm does but so much more, and they set
TERM=whizbang, then everyone with scripts and configurations looking
for TERM=xterm* complains that their tools don't work anymore. As
far as they're concerned, it looks like an Xterm so they want it to
identify itself as an Xterm. The same goes for terminals that work
mostly but not quite like an Xterm but have some "better" features.

HP had this problem about 40 years ago when they introduced
a successor to the 2645 terminal. Its ID string was something like
"HP2647" and customers raised Cain that their systems did work right
with the new terminal, so HP changed it to report itself as an
"HP2645".

You can't win either way. I don't know what the right answer is.
Some HP products tried to use capability strings instead of product
IDs with limited success.

> I also use answer back for some things like this. I define the
> answer back on specific systems via the ~/.Xdefaults file. I usually
> set the answer back to be the host name that the terminal emulator is
> running on.

That would help a lot. Is that what Vim refers to as the
termresponse? I use that when it matters what the terminal really
is.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20220615204352.GE20513%40phoenix.

No comments: