From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 11:52:23 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7FFD16A4DB for ; Tue, 18 Jan 2005 11:52:21 +0000 (GMT) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8622243D2F for ; Tue, 18 Jan 2005 11:52:21 +0000 (GMT) (envelope-from marko@freebsd.org) Received: from [80.229.231.20] (helo=[192.168.254.25]) by ptb-relay01.plus.net with esmtp (Exim) id 1CqruF-0000DL-Qm for freebsd-questions@freebsd.org; Tue, 18 Jan 2005 11:52:19 +0000 Message-ID: <41ECF870.3070400@freebsd.org> Date: Tue, 18 Jan 2005 11:52:16 +0000 From: Mark Ovens User-Agent: Mozilla Thunderbird 7.0 (X11/20050115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200501182030.52598.shinjii@virusinfo.rdksupportinc.com> <20050118105515.GA75927@catflap.slightlystrange.org> In-Reply-To: <20050118105515.GA75927@catflap.slightlystrange.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Tab to Auto-Complete + .... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 11:52:23 -0000 Daniel Bye wrote: > On Tue, Jan 18, 2005 at 08:30:52PM +1000, Warren wrote: >> What is need for me to add/do in order for the pressing of Tab to >> autcomplete a name to work? It works fine in root .. also when i >> press the up or down arrow keys it dosent bring up the previous >> command issued ... >> >> im using FreeBSD5.3-STABLE > > What shell are you using? I guess you haven't installed any shells > from ports yet, and are using the system default, /bin/sh, which > doesn't support autocomplete or command history. It does support command history and editing, though not auto-complete. ''set -E'' or ''set -V'' at the prompt (or put either - they are mutually exclusive - in ~/.profile) will enable command history with Emacs or vi style command editing respectively. Regards, Mark > The root shell is csh, which does have such things. So, either set > your user's shell to be /bin/tcsh, or install one of the several > shells in ports. > > HTH > > Dan >