From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 10:44:59 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 E6E7216A4CE for ; Tue, 18 Jan 2005 10:44:59 +0000 (GMT) Received: from jupiter.picknowl.com.au (jupiter.picknowl.com.au [203.87.94.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FA4043D5C for ; Tue, 18 Jan 2005 10:44:59 +0000 (GMT) (envelope-from imoore@picknowl.com.au) Received: from daemon.foo.com (adsl-176-70.swiftdsl.com.au [218.214.176.70]) by jupiter.picknowl.com.au (Postfix) with ESMTP id 3FC3C97B65; Tue, 18 Jan 2005 21:14:58 +1030 (CST) From: Ian Moore To: freebsd-questions@freebsd.org Date: Tue, 18 Jan 2005 21:14:47 +1030 User-Agent: KMail/1.7.2 References: <200501182030.52598.shinjii@virusinfo.rdksupportinc.com> In-Reply-To: <200501182030.52598.shinjii@virusinfo.rdksupportinc.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1273607.qGVkGauVjH"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501182114.56911.imoore@picknowl.com.au> cc: Warren 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 10:45:00 -0000 --nextPart1273607.qGVkGauVjH Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tue, 18 Jan 2005 21:00, 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 t= he > up or down arrow keys it dosent bring up the previous command issued ... > > im using FreeBSD5.3-STABLE What shell are you using? It sounds like you might be using /bin/sh, the=20 Bourne shell, which doesn't support those functions, but is the default for= =20 non-root accounts. The root account by default uses /bin/csh (actually the tcsh) which does wh= at=20 you want. So all you need to do is change the chell of your user. The easiest way is to login as your user & type chsh On the line than starts with Shell:, change /bin/sh to /bin/csh Save the changes and then logout & login again & you should have command li= ne=20 completion & job history. To make auto-completion better, edit the file .cshrc in your home directory= =20 and add the line autolist =3D ambigous after the set prompt =3D line. Alternatively, you could install & use another shell like bash or ksh... Cheers, =2D-=20 Ian GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc --nextPart1273607.qGVkGauVjH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD4DBQBB7OiofITqkXhImmIRAggiAJjDkAZk1bb1n982HxgF/nXIb5TgAJ4uVmaY vMtlB4ptNuueqF9Z7qFTEQ== =kmm6 -----END PGP SIGNATURE----- --nextPart1273607.qGVkGauVjH--