Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2003 14:41:44 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Adam <raindogs_1@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: dumb newbie question about file-name completion
Message-ID:  <20030525214144.GA1982@webserver.get-linux.org>
In-Reply-To: <20030525213116.24291.qmail@web10405.mail.yahoo.com>
References:  <20030525213116.24291.qmail@web10405.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 25, 2003 at 02:31:16PM -0700 or thereabouts, Adam seemed to write:
> Here's a dumb newbie question... 
> 
> I just installed FreeBSD 5.0 on my PC and, while I'm
> extremely happy about this and have already spent many
> hours playing around, I've hit an annoying snag with
> the tab key file-name completion. Everything works
> just fine when I'm logged in as root, but when I try
> to use any of my other accounts I can't use this
> feature (I don't even get the [BEEP]). What am I doing
> wrong? Is it possible that my keyboard configuration
> is not carried over to the user accounts I set up?
> Obviously I don't want to go stomping around as root
> when I don't really know what I'm doing, but this has
> made entering commands a bit cumbersome and I'd like
> to figure out what I'm doing wrong.

Root's shell is tcsh. It has filename completion.
User's default shell is /bin/sh - without filename
completion.
To fix:
user$ env EDITOR=ee VISUAL=ee chsh

Change the line with `Shell: /bin/sh' to read `Shell: /bin/tcsh'.
Save and exit, and log out.
Now log back in, and you should have filename completion.

-- Josh

> 
> Thanks,
> Adam
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> _______________________________________________
> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030525214144.GA1982>