From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076333621346.tru64-unix-managers.marc@archive.invalid> From: Dexel - Durban Date: Thu, 13 Jun 1996 05:18:35 +0000 To: tru64-unix-managers Subject: [SUMMARY x 2] Command Completion X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076333621346 -====================- -= Original Problem =- -====================- I'm not sure if the term 'command completion' is correct. What I'd like (and used to have) was to type (say) ls /tmp/ger then and the shell would expand to ls /tmp/gertrude Any idea if there is a command to do this in ksh ? -=====================- -= Original Solution =- -=====================- Basically the solution was to set -o emacs or export EDITOR=emacs or export VISUAL=emacs This is great - however I prefer to use vi :) I can remember at the last place that I was at, I had the functionality of the 'vi' command line, yet also the . Truely a mystery. -===================- -= Final Solution =- -===================- Most people suggested that I wasn't using ksh (probably tcsh, csh or bash). However [John Schaeffer ] hit the nail on the head. I *was* using ksh, and had 'set -o vi', however DU's Kornshell implementation provided \ as the filename completion key, whereas HP-UX's implementation provided an key sequence ! Guess what version of unix I was using when I could use the sequence ? :) To be honest I didn't know that the ksh implmentations would differ at all. I thought that there was some or other standard that all the vendors adhered to. -======================================================- -= *Thanks* to the those who took the time to respond =- -======================================================- Ian Piumarta Paul David Fardy John Schaeffer md@adv.sbc.sony.co.jp (Mark Dudley) "Gernot M. Fuchs" bremner@cs.mcgill.ca BENNETT@mpgars.desy.de sarasin@yosemite.cop.dec.com comp-sun!randy@uu6.psi.com (Randy Styka Jim Belonis -- Carl Schei | Dexel (Pty) Ltd (Durban) | Software Engineer | Tel : 27 31 2669273 | email : carl@dexel.co.za | Fax : 27 31 2660340 | ----------------------------------------------------------------