From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-dev-return-2743-arch-gentoo-dev=gentoo.org@gentoo.org> Received: (qmail 27308 invoked by uid 1002); 29 Apr 2003 13:10:38 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: <mailto:gentoo-dev@gentoo.org> List-Help: <mailto:gentoo-dev-help@gentoo.org> List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 15983 invoked from network); 29 Apr 2003 13:10:38 -0000 Date: Tue, 29 Apr 2003 09:10:37 -0400 From: Aron Griffis <agriffis@gentoo.org> To: list gentoo-dev <gentoo-dev@gentoo.org> Message-ID: <20030429131036.GC413@time> Mail-Followup-To: list gentoo-dev <gentoo-dev@gentoo.org> References: <20030429001443.GA413@time> <20030429011644.GB18711@lucien.dreaming> <20030429033239.GB413@time> <200304290224.53881.novas007@gmx.net> <1051598177.1819.32.camel@bunyip.uwa.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1051598177.1819.32.camel@bunyip.uwa.edu.au> User-Agent: Mutt/1.5.4i Subject: Re: [gentoo-dev] Re: new local USE var: vim-with-x X-Archives-Salt: d0f7ed53-b213-4b2b-be27-fdcc81de27cd X-Archives-Hash: 256c836b1356040552b4e3d9b8ce58ea Bill Kenworthy wrote: [Tue Apr 29 2003, 02:36:17AM EDT] > Because if you build vim with X in your use flags and you try and run > "vim" from a non-X console or a console ssh session it wont run! I > have had to stuff around compiling vim with USE="-X" with two machines > now so I could fix other problems from a console remote login. vim > should default to -X unless overidden specifically and locally. Note > that you do want X support for most other apps though, so honouring a > global USE is not a good idea for vim.. Just to throw one more thought out there... The behavior you describe above is actually a bug. It's fixed in vim 6.1.474 and in 6.2a. I haven't put 6.1.474 into portage because of the existence of 6.2a and because I don't know if there's a gtk2 patch for 6.1.474. The bug is this: vim normally detects if the X connection fails and falls back to pure text mode. However for a while during the 6.1 patches, it would fail under some circumstances and return you to a prompt. In truth the fact that this bug has been remedied makes it more plausible to depend on the global USE=X, but I'm still concerned about first-time installs. Aron -- gentoo-dev@gentoo.org mailing list