From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 04:50:57 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 1E43716A4CE for ; Wed, 2 Mar 2005 04:50:56 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28CBD43D1D for ; Wed, 2 Mar 2005 04:50:56 +0000 (GMT) (envelope-from khaled.abu@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so47933wra for ; Tue, 01 Mar 2005 20:50:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VgUuJV0EHIW4p51WzjGeT3AFHQ/iTkGlVWgywo9HwEE/9nJPL+C0u00Hzd1uwCywOuBvp1zji18H+dbfEIFIYf3vLEw/eiAPz8/K1TR4m9G4RJSx3innhxGQ5YpoKa3RenZ3hvjQ0HXolpRzKgGAberaPDyVaCjf3KLuMLxw6GM= Received: by 10.54.18.69 with SMTP id 69mr37648wrr; Tue, 01 Mar 2005 20:50:55 -0800 (PST) Received: by 10.54.23.34 with HTTP; Tue, 1 Mar 2005 20:50:55 -0800 (PST) Message-ID: Date: Wed, 2 Mar 2005 06:50:55 +0200 From: abu khaled To: Ben Munat In-Reply-To: <42253FED.4010000@munat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <422424B2.1040809@munat.com> <20050301080924.GM8778@dan.emsphone.com> <422427DB.50504@munat.com> <20050301103326.GD5353@gravitas.thebunker.net> <4224A622.5080806@munat.com> <20050301182012.GB64444@osiris.chen.org.nz> <42253FED.4010000@munat.com> cc: freebsd-questions@freebsd.org Subject: Re: tab completion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: abu khaled List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 04:50:57 -0000 I'm not sure if this helps but you can at least try. login as non-root (user) run this command: chsh -s /bin/tcsh you well be prompted for you non-root password logout and login again as non-root and see if it works you can su to root and use use the same command to change the root shell.(sh is recommended for root) I hope it works!!! On Tue, 01 Mar 2005 20:24:13 -0800, Ben Munat wrote: > I used vipw to set my regular user's shell to tcsh. /etc/passwd shows it correct now but I > still appear to be getting sh as my shell. If I run tcsh, I then get the tab completion. > But how do I get the terminal to put me in tcsh automatically? > > Ben > > > Jonathan Chen wrote: > > On Tue, Mar 01, 2005 at 09:28:02AM -0800, Ben Munat wrote: > > > >>None of those commands worked... However, I've also found that echo $SHELL > >>in my regular user's terminal says /bin/sh, while as root it says /bin/csh. > > > > > > If you're using /bin/sh, then of course none of the given commands > > will work as they are for tcsh. > > > > > >>Both root and the non-root user's shells are listed in /etc/passwd as > >>/bin/tcsh, so where else would the shell get set? Can I just set all > >>terminals and all users (i.e. me) to have the same shell with the same > >>capabilities? > > > > > > I suspect that /etc/passwd has gotten out of sync with master.passwd. > > Don't edit /etc/passwd. Use vipw(1) and make your changes within > > there. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >