On 04/07/11 23:33:16 -0400 (EDT), Benjamin R. Haskell wrote:
> Is nano consistent for you under gnome-terminal? Did you try the sample
> from the previous thread¹?

I've attached a screenshot (also at http://imagebin.org/161344) showing that both editors actually corrupt the script in the same way visually, as you have observed.

gedit displays fine.

The difference with nano is that unlike vim, I can reliably position my cursor within the text and the movement, user input is rendered in an unsurprising way.

Of course, the script is still rendered wrong in nano, I'm just talking about the mis-match between my user input and the rendered result.

The simplest consistency test is just seeing where each editor thinks the "end of line" is. The screenshot shows nano's cursor at the end of the rendered line. Vim's idea of where the end of line is, falls short of the rendered text.

It's almost as if vim's behaviour indicates its "internal" understanding of the character grid (if that's what you call it) is correct (the cursor seems to move over the correct number of chars), but some of those chars are taking up more than one cell each when rendered.

~$ fc-list :lang=hi | sort
FreeSans:style=Medium,obyčejné,Mittel,µεσαία,Normal,Medio,Gemiddeld,odmiana zwykła,Обычный,navadno,Vừa
gargi:style=Medium
Lohit Hindi:style=Regular
Have you tried this with gvim? Its still rendered improperly (but consistently!); however, using "$" sends the cursor to the semicolon at the end of the line. I do see that the cursor does not go to the end of line with vim running under either gnome-terminal or xterm.

Regards,
Chip Campbell

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui