From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e219d94b946dfc26 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer1.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn?= Persson Subject: Re: Ada.Command_Line and wildcards Newsgroups: comp.lang.ada References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> <87hctei5pf.fsf@ludovic-brenta.org> <1281455.i5JogXiQq3@linux1.krischik.com> <45e3d9a6$1@news.post.ch> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit Message-ID: <9s1Fh.35292$E02.13760@newsb.telia.net> Date: Tue, 27 Feb 2007 21:32:53 GMT NNTP-Posting-Host: 83.251.159.188 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1172611973 83.251.159.188 (Tue, 27 Feb 2007 22:32:53 CET) NNTP-Posting-Date: Tue, 27 Feb 2007 22:32:53 CET Organization: Telia Internet Xref: g2news2.google.com comp.lang.ada:9585 Date: 2007-02-27T21:32:53+00:00 List-Id: Martin Krischik wrote: > Sadly VMS never really used CLD to it's full potential. Just imagine CLD > combined with bash'es advanced comandline completion! Not only commands > and files could be completed - options as well. I recently discovered that Bash can do that if you define completion specifications. I had thought that only the Z shell had that feature. Look for "Programmable Completion" in the Bash manual. The problem is of course to keep the completion specification in sync with the command line parser in the actual program. Some day I'll write an extension to Orto that will take the same Parameter_Spec that Orto uses and output a completion specification for Bash or Zsh. -- Bj�rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu