Thursday, October 22, 2015

Re: Problem using vim in csh on linux

On 2015-10-22 03:22, Lowell Specht wrote:
> The rain in Spain stays mainly on the plain. <<original line
>
> If I delete the word rain using 4x, the line becomes.
>
> The in Spain stays mainly on the plain.ain. <<new line

I'd normally expect that control+L would refresh to repaint that. I
know legacy vi had a behavior similar to this (and correspondingly,
one of the 'cpoptions' that controls a behavior like this). That said,
it's not what most folks want.

> I did try putty connecting to the hp unix server and then ssh to
> the linux server and vim still works fine. So I don't think it is
> the unix server, I believe that vim is just not supported in
> Hummingbird Exceed CDE. It is a shame since I really like the
> CDE. I will be trying gnome in the near future as a replacement
> for the CDE and hopefully vim will work with that since gnome is
> bundled with linux.

Before completely giving up on Exceed/CDE, I'd try poking around to
see if there are terminal emulator options that might align things so
they work. My first guess would be that Exceed's terminal (or
is it HP's terminal) doesn't fully support $TERM=xterm despite
claiming to. So you might try

lowell@linuxbox> export TERM=vt100
lowell@linuxbox> vim myfile.txt

or

lowell@hpbox> export TERM=vt100
lowell@hpbox> ssh linuxbox
lowell@linuxbox> echo $TERM # ensure it's still vt100 not xterm
vt100
lowell@linuxbox> vim myfile.txt

and then perform your tests. It may help to inform Vim that your
terminal isn't as smart as your terminal thinks it is. It may limit
some things like the range of available colors or the use of the
alternate/backing screen (":help xterm-screens") that an xterm
provides, but it hopefully will prevent the redraw artifacts you're
seeing.

Also, if you test your Exceed->HP->Linux link with other (n)curses
tools like Midnight Commander or ranger, nano, lynx, alsamixer, etc.
do you see similar artifacts?

-tim



--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: