Tuesday, April 2, 2013

correctly setting terminal in SunOS for vim

I am trying to use vim in a computer sunos computer
uname -a:
SunOS cmc01 5.10 Generic_142910-17 i86pc i386 i86pc

At this point I was able to compile ncurses, screen and vim.
I can only login to the machine from the work laptop.

If ssh into the machine and use vim with the vim setting t_Co=256 then the colors
are good.

If when on the machine I start screen then after starting vim I cannot see anything. If unset t_Co in my .vimrc then I can see but with no colors.
I also set the variable
export TERMINFO=~/scratch/packages2/lib/terminfo
(I have the packages installed under scratch/packages2/).

I understand that this is not a vim problem since as I mentioned I can use nice colors if I am not inside screen, but I really like to use it with conjunction with screen.
If someone has any ideas on how to fix that please let me know.

Regards,
Jorge

--
--
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/groups/opt_out.

No comments: