Loading ...
Sorry, an error occurred while loading the content.

137035Re: correctly setting terminal in SunOS for vim

Expand Messages
  • Thomas E. Dickey
    Apr 3, 2013
    • 0 Attachment
      On Wednesday, April 3, 2013 12:51:57 AM UTC-4, skeept wrote:
      > 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.

      bash works for the "~" expansion - but it depends on the shell whether that works.

      Also, it's possible that screen is linked to the legacy termcap library on
      Solaris rather than /usr/lib/termcap (which sym-links to libcurses). You
      can check that using ldd. If it's linked to the legacy termcap library,
      you can't use TERMINFO to fix it.

      In screen (unless you have overridden TERM), env will show the TERMCAP
      variable, which gives screen's notion of whatever (termcap or terminfo)
      it is using.

      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@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 4 messages in this topic