On Tue, Jul 1, 2008 at 7:34 PM, Marc Haisenko <[EMAIL PROTECTED]> wrote:

>
> As you can see, the UNIX way of handling output is severely broken and
> always
> has been because there's just no way that the terminal can tell the system
> and/or application what it CAN support.


Wrong.
Vt* terminals, xterm, konsole, uterm all have ESC Z query.
Vim makes use of ESC Z query. But there's more to it.

konsole and uterm have more query sequences. You can query colors
and current codepage.But Vim does not implement terminal-specific quering
currently.

Maybe somebody can make plugin or patch to define and use terminal-specific
queries, especially for konsole and uterm.

If vim had support for terminal-specific queries (even if by vimscript), vim
would
automatically run better in those terminals.

It is pity that vim does not make use of terminal-specific queries. That
would
give terminal developers incentive to standardize and expand, queries.

Yakov

[1] And even switch codepages. Thst makes it possible to
automatically synchronize vim's encoding and  terminals
codepage. Or at least detect and report inconsistency to the user.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui