Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy.jpl.nasa.gov!ucla-cs!uci-ics!zardoz!tgate!ka3ovk!drilex!axiom!linus!community-chest!ccel From: ccel@community-chest.uucp (CCEL) Newsgroups: comp.unix.wizards Subject: Neat csh feature Message-ID: <62079@linus.UUCP> Date: 29 Jul 89 16:58:37 GMT Sender: news@linus.UUCP Reply-To: rtidd@mitre.arpa Organization: MITRE-McLean Software Engineering Laboratory Lines: 18 One of the gurus showed me a neat csh thing that I thought i'd share with the wizards out there if you haven't seen it already .... If you set the environment variable filec (as in set filec), that allows csh to do file completion, kind of like emacs does. If you're typing in a file name, just type enough characters to make it unique then hit and the shell will finish it for you. For example, say your directory looks like: a b c d e very_long_file_name then just type cat v and the shell will finish the file name for you, like: cat very_long_file_name. This works on our Suns, haven't tried it on any other systems yet. -------------------------------------- Randy Tidd MITRE-McLean CCEL Lab rtidd@mitre.arpa ccel%community-chest@gateway.mitre.org