From owner-freebsd-questions@FreeBSD.ORG Wed May 30 15:26:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 54D4C106564A for ; Wed, 30 May 2012 15:26:34 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id 091E18FC1B for ; Wed, 30 May 2012 15:26:34 +0000 (UTC) Received: from localhost (chomsky.torservers.net [77.247.181.162]) by mx1.skyriver.ru (Postfix) with ESMTPSA id A3D575B0B for ; Wed, 30 May 2012 19:26:29 +0400 (MSK) Date: Wed, 30 May 2012 19:26:17 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20120530152616.GA5651@external.screwed.box> References: <20120530133327.GA26631@external.screwed.box> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Subject: Re: termcap/terminfo magicians anyone? // colors in vim X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2012 15:26:34 -0000 Hello. 2012/05/30 16:15:24 +0200 uki => Cc freebsd-questions@freebsd.org : u> Hi, u> u> things to check: u> * does the color scheme require 256 colors? is your terminal compiled u> with that feature? I think I've just recompiled x11/xterm with 256 colors it but did not check the old xterm with 256color2.pl as I use tmux... With tmux I see 8 colors, 8-colored cubes and a white ramp. Without tmux I see 16 system colors and nothing instead cubes and black ramp too. Why should I need more colors? '-T linux' is just fine with 8 colors... It even works (but badly) in ttyvX I restarted xterm after I rebuilt it, I believe no need to restart Xorg. u> * check your TERM env variable, (also try setting t_Co in vim) some u> info here: http://vim.wikia.com/wiki/256_colors_in_vim TERM is xterm in xterm and screen in tmux. What if vim takes a different colorscheme depending on its -T parameter ? At the least TERM=linux does the needed trick on vim but not on, say. 'ls -G' ... On a second look I see only 3 colors enough (+ black + white) on the what-I-need picture, they are just as bright as they should. u> cheers, u> ??ukasz Gruner u> u> u> 2012/5/30 Peter Vereshagin : u> > Hello. u> > u> > Being new from linux back in time I tried vim. It had pretty colors in linux for me like that: u> > u> > http://www.postimg.com/71000/photo-70938.jpg u> > u> > But in freebsd I have what I have: u> > u> > http://www.postimg.com/71000/photo-70939.jpg u> > u> > It 'just works' for me if I 'vim -T linux' but: u> > u> > š š- I'd like to know exact reason to be fixed other than just 'use linux' u> > š š- It shows colors in ttyvX with TERM=cons25 but it has random '25h' u> > š š šshowing up in places when I implement the actions from the begin of u> > š š švimtutor. u> > u> > Nothing to add more yet other than ':set term=linux' doesn't work for colors u> > that way. u> > u> > Thanks in advance. u> > u> > -- u> > Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 u> > _______________________________________________ u> > freebsd-questions@freebsd.org mailing list u> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions u> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" u> _______________________________________________ u> freebsd-questions@freebsd.org mailing list u> http://lists.freebsd.org/mailman/listinfo/freebsd-questions u> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627