From owner-freebsd-questions Thu Jul 9 16:37:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16025 for freebsd-questions-outgoing; Thu, 9 Jul 1998 16:37:17 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from home2.stratos.net ([209.117.220.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA16020 for ; Thu, 9 Jul 1998 16:37:15 -0700 (PDT) (envelope-from drifter@stratos.net) From: drifter@stratos.net Received: from somniac.org [207.86.133.7] by home2.stratos.net with ESMTP (SMTPD32-4.03) id A4269D0142; Thu, 09 Jul 1998 19:37:10 EDT Received: (from drifter@localhost) by somniac.org (8.8.8/8.8.7) id TAA02482 for freebsd-questions@FreeBSD.ORG; Thu, 9 Jul 1998 19:38:50 -0400 (EDT) (envelope-from drifter) Date: Thu, 9 Jul 1998 19:38:50 -0400 (EDT) Message-Id: <199807092338.TAA02482@somniac.org> To: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: drifter To: "q's" 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 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 : % set filec % ls black crow old red % ls crow 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