Matt Wozniski wrote: > On Fri, Jun 19, 2009 at 12:06 PM, Dale Huffman wrote: > >> My console version of vim is acting funny. >> It starts up with the status line displaying >> ,0-1 All <snip> and then a zero at the end of >> the line. >> > > Interesting. The correct thing would be something like > > 0,0-1 All > > Your vim is displaying the wrong thing... In particular, the 0 that's > at the end of your line should really be in the beginning. This makes > me think that vim has the wrong number of columns - *and* that your > terminal is of the autowrap kind, and automatically scrolls down a > line whenever something is written to the last column of the line. > > >> I can go into insert mode but then every keypress generates a newline >> and the screen shifts up. >> > > because the ruler is redrawn, causing something to be written in the > last column of the line, causing the terminal to scroll down. > > >> the status line gets moved up the screen >> >> For example here I entered insert mode and typed "help me" and this is >> what the bottom of my screen looks like. >> And I see none of my typing. I'm sure how to start debugging this. >> > > How about this - do you see similar problems in other terminal > emulators? Say, xterm? tty1? Does the same thing happen if you > launch > > vim -u NONE -N > That command has vim working as expected. > Likewise, does it still happen if you launch as > > vim -u NORC -N > So does that. > What does this print out in a shell? > > echo $LINES $COLUMNS > 52 118 > Does the output of the above correctly match up with the output of the below? > > vim -c 'set lines?' -c 'set columns?' > Nope...
lines=999 columns=164 Press ENTER or type command to continue > Are you running inside gnu screen? If so, try running outside of it. > No - I am running compiz if that would have any effect. > Then report back with your findings, and we should be able to track > down exactly what's going wrong. > > ~Matt > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
