Anyone know what to do?
Thanks!
jlc
With the lack of details, it's really hard to say, but - that sounds
like what would happen if $LINES or $COLUMNS were set incorrectly and
vim wasn't able to ask the terminal what the correct number of lines
and columns are.
~Matt
Well, that is flat out wrong on Solaris. Solaris definitely doesn't
provide any terminals that would qualify as $TERM == 'linux'
> syntax on
>
> set nocompatible
Probably not related to your problem, but 'set nocompatible' should be
the first line in your vimrc. Toggling "compatible" changes a lot of
other options as a side effect, so putting it anywhere other than the
very beginning of your user settings can override things that you set
earlier.
Nothing else in your vimrc looks particularly suspect, though. Do you
see the same problem with
vim -u NONE -N
Are $COLUMNS and $LINES set to the correct numbers? What type of
terminal *are* you running? Do other full-screen curses applications
behave in it?
~Matt
I guess it would be unusual to assign to term inside vim. Try comment
out these 3 lines.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
Well, no change :(
It opens fine, I get to the bottom, then only the last line updates as I scroll...
Well, check the values that $LINES and $COLUMNS have in a shell, and
make sure that they match the actual number of lines and columns that
the terminal has. You didn't answer the question about other
full-screen curses apps. What's the terminal emulator you're running?
What do you launch to bring it up? What's the name of the
application?
~Matt
I believe this is the first time you mentioned that you were using the
console, and not a GUI. :) But, that said - note that the console is
still considered a terminal emulator; pretty much anything but a
*real* vt220 teletype is. Many have never seen a non-emulated
terminal except in pictures, myself included.
> Sorry, I was confused:) Its set to VT100 at boot:
> root@host:~# export |grep TERM
> declare -x TERM="xterm"
FWIW, I would never have guessed that "sun-color" was the correct
$TERM setting for a sun console. I've learned something here, too!
:-)
~Matt
What about the console used at boot time to pass parameters to the
kernel? Its only drivers are in ROM, and it's always in QWERTY, which is
annoying if (like mine) your keyboard has its keys labeled differently
(mine is AZERTY but I shudder when thinking of Dvorak). The console used
by Ms-Dos wasn't much emulated except that it usually did have a
software keyboard driver. And then there was the tty35 on the mainframe
of my first job (1970) which was definitely unemulated (and could type
exactly 64 different characters including the space). But I didn't own
it of course, the company did (or was that computer leased? I never knew
the details.).
Best regards,
Tony.
--
A consultant is a person who borrows your watch, tells you what time it
is, pockets the watch, and sends you a bill for it.