Thursday, March 1, 2012

Re: Which runtime files for console vim?

On Mar 1, 7:05 pm, Gary Johnson <garyj...@spocom.com> wrote:
> On 2012-03-01, howardb21 wrote:

>     Vim can display the matches in a simplistic popup menu.
>
>     The menu is used when:
>     - The 'completeopt' option contains "menu" or "menuone".
>     - The terminal supports at least 8 colors.
>     - There are at least two matches.  One if "menuone" is used.
>
> We know that the first and third conditions are satisfied.  Are you
> using a monochromatic terminal?  What does
>
>     :set t_Co?

Yes, I know about that. I set completeopt=menu,menuone
Intereestingly t_Co? gives an empty value, although my samsung monitor
has plenty of colors. Something I omitted: Vim runs the menus fine on
my local computer. I was asking about vim that resides on a university
computer running redhat linux, that I secure telnet into. There - no
menu. However, the spell check when I :set spell does give a numbered
menu, which appears to happen by vim cleaing the current screen and
replacing it with the menu of spelling suggestions.

The telnet session tells redhat to use vt100 emulation. I had trouble
with vim's screen behaviour under emulations like vt102 vt360, ansi,
linux etc.

Perhaps it is hard to send popup screen info. to a remote computer
over the internet? Or, the standard vt100 terminfo entries probably do
not include colors. Why I wonder are colors needed to display a menu?

It is always hard for me to pick an emulation that vim likes for most
functions. Any suggestions?

--
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

No comments:

Post a Comment