Date: Tue, 8 Jul 2003 09:13:52 -0400 (EDT) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: longterm@chatusa.com (DanB) Cc: freebsd <questions@freebsd.org> Subject: Re: What program let you finish typing a file name when you hit ESC. Message-ID: <200307081313.h68DDq6U021326@clunix.cl.msu.edu> In-Reply-To: <3F0A5649.6334272F@chatusa.com> from "DanB" at Jul 08, 2003 05:27:37 AM
next in thread | previous in thread | raw e-mail | index | archive | help
> > What program let you finish typing a file name when you hit ESC? The shell tcsh does this, except that it uses TAB instead of ESC. I think that is safer. Probably some other more modern shells also do something like this. Just type /bin/tcsh (or /usr/local/bin/tcsh - depending on which version you have somewhere in OS 4.xx FreeBSD began putting tcsh in /bin as part of the standard distribution) and then you are working in that shell. You can also put this shell in your /etc/passwd file as your login in shell (providing you have permission to modify the passwd file). Then you will automatically be in that shell when you log in. Just a caution: Don't use a shell for root in the /etc/passwd file that is not in the root file system. So, if you have a /usr file system, for example, don't use /usr/local/bin/tcsh or whatever because it might not be available if that other file system cannot be mounted for some reason. But, /bin/tcsh should always be OK, since almost no-one (in their right mind) would make /bin a separate file system. You can make a copy of /usr/local/bin/tcsh in /bin if that is your situation) Use either chsh(1) or vipw(8) to modify the passwd file. Also, make sure that this shell - full path - is listed in /etc/shells. ////jerry > > Dan >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307081313.h68DDq6U021326>