Path: utzoo!utgpu!watserv1!watmath!att!linac!uwm.edu!rpi!bu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!dkuug!freja.diku.dk!klaus From: klaus@diku.dk (Klaus Ole Kristiansen) Newsgroups: comp.sys.apollo Subject: Re: Filename completion in Apollo's C shell Message-ID: <1990Nov29.141523.26041@diku.dk> Date: 29 Nov 90 14:15:23 GMT References: <4e42a679.20b6d@apollo.HP.COM> <1990Nov28.081721.971@alphalpha.com> Organization: Department Of Computer Science, University Of Copenhagen Lines: 24 nazgul@alphalpha.com (Kee Hinckley) writes: >In article <4e42a679.20b6d@apollo.HP.COM> smv@apollo.HP.COM (Steve Valentine) writes: >>Filename completion does not work in a pad, and we have no plans to change this. >Actually, if you think about it you can make it work. It involves >writing a small program which sends some DM commands to cut the >token before the cursor. It then takes that, does the expansion >and then puts it back into a paste buffer. Then it pastes the >contents of of the buffer back into the input pad. Unfortunately >the process is a little slow (or rather it was slow back when I >wrote one on my DN400). It might be usable nowadays. It has one >real nice advantage in that it works anywhere, not just in a particular >shell. You're on your own for writing it though, I've long since lost >the source. > -kee There is such a program in the ADUS library, it is called recognize. Unfortunately it gives the resulting pathname in UPPER CASE, so it is not very useful with SR10 . Our version of the ADUS library is several years old, so there may be a newer version of recognize that preserves case. Klaus Kristiansen