Ted Pavlic wrote:
>>> I know of no Mac Terminal emulator (including iTerm and Terminal) that 
>>> does *not* support 256 colors. As far as I know, all of the popular 
>>> terminal emulators supports 256 colors.
>> O, really? Maybe it's a new thing. I hacked my terminfo a while ago to
>> remove some feature I didn't like, I think, so maybe I didn't notice the
>> colours increase from 16 to 256 when it did. I'm pretty sure when I
>> first investigated it only supported 16. I'll have to look into it
>> again. It would be nice to get better looking colours for Vim (with the
>> help of that magic plugin someone made to make 256-colour terminals
>> mimic gvim, probably).
> 
> They both claim to support xTerm-color, and I've taken them at their 
> word or it.

:r !infocmp xterm-color
#       Reconstructed via infocmp from file:
#       /opt/local/share/terminfo/x/xterm-color
xterm-color|nxterm|generic color xterm,
        am, km, mir, msgr, xenl,
        colors#8, cols#80, it#8, lines#24, ncv@, pairs#64,
...

Doesn't look like 256 colours to me.

But I know 16 colours work, so I guess what's declared definitely isn't
all that accurate...so maybe it still does support 256. You definitely
can't assume that from merely xterm-color support, though. There is
xterm-16color and xterm-256color for greater colour support in xterm.

> I've had no trouble in vim or pine (or ls); they seem to have a "full" 
> spectrum of color available. Of course, I've never really cared that 
> much about having more than 16 colors.
> 
>>> With regard to mouse, all of the Terminal emulators I know support 
>>> SYSTEM PASTEBOARD mousing. That is, I can highlight any text I want, 
>>> right-click-copy (or Cmd+C) and right-click-paste (or Cmd+V). 
>>> (similarly, I can use the pbcopy and pbpaste commands that come with OS X)
>> Yeah, which really is no mouse support.
> 
> I'm not quite sure I understand. Terminal and iTerm provided everything 
> that GPM, the console mode mouse driver, provides. What more could be 
> possible with a *terminal* application? (e.g., is it possible to have a 
> Linux vim (not gvim) respond to the mouse?)

Yep, it sure is.

:help 'mouse'

All you need to do is set the mouse option appropriately (e.g. :set
mouse=a) and you get almost as much in terminal Vim as you get in gvim
(provided you use a terminal/software that supports it such as xterm,
gpm, etc.). Indeed, it works in xterm in X11 on the Mac. Definitely not
in Terminal.app.

Ben.




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to