From owner-freebsd-ports@FreeBSD.ORG Thu Apr 6 07:42:31 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70D8516A41F for ; Thu, 6 Apr 2006 07:42:31 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from leia.fdn.fr (ns0.fdn.org [80.67.169.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2D9343D46 for ; Thu, 6 Apr 2006 07:42:30 +0000 (GMT) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (reverse-25.fdn.fr [80.67.176.25]) by leia.fdn.fr (8.13.3/8.13.3/FDN) with ESMTP id k367gN03020176 for ; Thu, 6 Apr 2006 09:42:28 +0200 Received: by smtp.zeninc.net (smtpd, from userid 1000) id 4448B3F17; Thu, 6 Apr 2006 09:42:18 +0200 (CEST) Date: Thu, 6 Apr 2006 09:42:18 +0200 From: VANHULLEBUS Yvan To: freebsd-ports@freebsd.org Message-ID: <20060406074218.GA15382@zen.inc> References: <20060405193514.GA71781@svm.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060405193514.GA71781@svm.csie.ntu.edu.tw> User-Agent: All mail clients suck. This one just sucks less. Subject: Re: bash & bash-completion X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2006 07:42:31 -0000 On Thu, Apr 06, 2006 at 03:35:14AM +0800, Rong-En Fan wrote: > Hi folks, Hi. > I have bash-3.1.10_1 and bash-completion-20060301 installed on > a 6-STABLE box. However, each time when I want to use > to completion a name, some wired things will happen: [....] Noticed the same problem a few days ago on a 6.1 PRERELEASE, and didn't have time to send a pr for now. > That's really wired. I have tried to remove all my .bash*, > .profile, .shrc, .inputrc away and login, source bash_completion. > The situation is the same. I also tried to execute > /compat/linux/bin/bash and source the same bash_completion. > The tab completion works well. > > Since I can successfully use the same bash_completion on > the same bash version on other linux boxes, I think it is an > issue with our bash port. Any ideas? I had a look at bash_completion, and it may also be an OS detection problem, and/or lack of FreeBSD support for "some stuff": there are lots of OS specific stuff on the script.... And perhaps starting /compat/linux/bin/bash just makes bash_completion things it runs on a Linux box, then "does some things" crrectly.... Yvan. -- NETASQ - Secure Internet Connectivity http://www.netasq.com