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 Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line and wildcards 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> <9s1Fh.35292$E02.13760@newsb.telia.net> <1172613376.22809.14.camel@localhost> From: Markus E Leypold Organization: N/A Date: Tue, 27 Feb 2007 23:53:11 +0100 Message-ID: <6oslcr8b6w.fsf@hod.lan.m-e-leypold.de> User-Agent: Some cool user agent (SCUG) Cancel-Lock: sha1:gUcQL+5HnWNbfoeoLrIqBCkU8eU= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 88.72.246.30 X-Trace: news.arcor-ip.de 1172616437 88.72.246.30 (27 Feb 2007 23:47:17 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!uucp.gnuu.de!newsfeed.arcor.de!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:9587 Date: 2007-02-27T23:53:11+01:00 List-Id: Georg Bauhaus writes: > On Tue, 2007-02-27 at 21:32 +0000, Bj�rn Persson wrote: >> 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. > Can be unnerving if you come across completion AI uninitiated ;-) > For example, recent Bash setups recognise "darcs" as a known command > name. Then bash tries to discover what file name I might have wanted > to type and somehow starts scanning the repository! > > Please, turn that off! :-) :-) The completion rules are not "compiled into" the bash. They are usually sourced during shell setup from somewhere in /etc. If you're not root you can turn them off with complete -r darcs - only for darcs or complete -r - remove all completion rules in your .bashrc or .bash_login. Shall I say, reading the manual has it's advantages somtimes? But of course that will only contribute more towards your ideas that Unix does everything wrong, since it is too complicated and people cannot be bothered to read manuals :-(. Regards -- Markus