From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5711 invoked from network); 12 Oct 2001 07:07:16 -0000 Received: from unknown (HELO sunsite.dk) (130.225.247.90) by ns1.primenet.com.au with SMTP; 12 Oct 2001 07:07:16 -0000 Received: (qmail 9226 invoked by alias); 12 Oct 2001 07:06:30 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4370 Received: (qmail 9208 invoked from network); 12 Oct 2001 07:06:27 -0000 Message-ID: <20011012065902.2134.qmail@web10402.mail.yahoo.com> Date: Thu, 11 Oct 2001 23:59:02 -0700 (PDT) From: Felix Rosencrantz Subject: cleartool completion function generated from XML. To: zsh-users MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii My first attempt at creating clearcase completion functions from XML hopefully has some use at this point. I describe the steps I took to generate completion functions from the "cleartool help" output on the web page below: http://www.geocities.com/f_rosencrantz/clearcase_generation.htm The generated function can be used, but there are a lot problems with it, the problems I'm aware of are listed at the end of the page. Some of these shouldn't be too hard to fix, others might take a little work and compromises. If you just want to look at the generated generated completion function, you can pull that from: http://www.geocities.com/f_rosencrantz/files/cleartool Some of the files used for this are quite large. This attempts to complete 140 different cleartool subcommands. Also, it uses the XML completion schema I proposed earlier, that can use a of space. There is still a lot of human work required to provide functions that list the different types of args that these subcommands take. Since the help output I have doesn't actually describe the commands, there are no useful explanations or help messages. Some help there could be useful. With some more effort it would be possible to generate completion functions for other version control systems like Perforce or Bitkeeper. -FR. __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com