Date: Thu, 9 Jul 1998 19:38:50 -0400 (EDT) From: drifter@stratos.net To: freebsd-questions@FreeBSD.ORG Message-ID: <199807092338.TAA02482@somniac.org>
next in thread | raw e-mail | index | archive | help
From: drifter To: "q's" <freebsd-questions@FreeBSD.ORG> Subject: Re: Wow! References: <35A4F223.A9CBCB87@graphnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <35A4F223.A9CBCB87@graphnet.com>; from Roman Katsnelson on Thu, Jul 09, 1998 at 12:38:59PM -0400 On Thu, Jul 09, 1998 at 12:38:59PM -0400, Roman Katsnelson wrote: > [ ... ] > > in Linux there was a feature which was helpful with long filenames: > as you typed a filename, you could hit <Tab> and if what you've already > typed was unique, it would finish the name for you. Any equivalence in > FreeBSD? > Looks like you're used to /bin/bash, the default shell for most Linux machines. If you are using /bin/csh (the `% ' prompt), you can turn on its file completion feature and use <ESC>: % set filec % ls black crow old red % ls cr<ESC>ow crow Nevertheless, you probably want your Bash shell back. It is available in your local /usr/ports directory (if you installed it) or as a package at ftp://wcarchive.cdrom.com/.25/FreeBSD/packages-current/. My ISP is not responding, so I can't verify the exact path mentioned above. But it is definitely at wcarchive.cdrom.com. Tcsh and zsh (my personal favorite) are also available. For what it's worth (Note, I actually wrote the phrase out completely -- hint, hint :) ), zsh allows you to fine tune completion for individual commands with `compctl'. That means, for example, you can program the `ftp' command to allow its arguments to be completed to a list of sites you use frequently. The arguments to the `man' command can be set to complete with commands rather than files in the current directory. You can also (as I do), shutoff completion to the `rm' to avoid shooting yourself in the foot. Ok, enough with the zsh plug. Hope this helps. -Rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807092338.TAA02482>