From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9121 invoked by alias); 5 May 2015 15:00:50 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35035 Received: (qmail 18115 invoked from network); 5 May 2015 15:00:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=f0kBJJqfiKcgiveCGQjynuFxX4QaOYIqh5M5UMHp2DM=; b=U89VZIu58Nyp+8jJhWuDvLL2rJ25bqDwYfdCg8ZuheRitSAdHDmgjJWPV3hX6qdUe4 C0HM3RdAqqLRfQxdCWHsOe+bvso5RcEWAVxAarp8FHb1U/950bQpJbjde8xUeWFwjptG a1wzv4uoFj4pZo/Fi+Jr1xzb9CPM6nt/oEV3+Tjj9qi1lyYsBdAOchtNLIQbntffvq2o slI9tjeCgQcRpa/xhqpS6CPyAXVprF4stbBUm5zvBQVHz9rJLJ89l47UVvFbZAsYgq5p vnkJnMSkgT9J8bdWpVz0ArxyLDFgkIxv+xrDVSFuHFIck8NaKoNBjStBjHJf1yryk1gL mbqw== MIME-Version: 1.0 X-Received: by 10.182.196.34 with SMTP id ij2mr22726823obc.71.1430838043691; Tue, 05 May 2015 08:00:43 -0700 (PDT) Date: Tue, 5 May 2015 11:00:43 -0400 Message-ID: Subject: Using zsh as a base for Network device CLI From: Vinod KK To: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary=089e0153870c534e42051556f188 --089e0153870c534e42051556f188 Content-Type: text/plain; charset=UTF-8 Hi, One of my current tasks is to move our device CLI to a standard shell, to exploit job control, piping and the rest of the good features. I have decided to use zsh for this purpose, as it seems to be the most extensive one, functionally. The main challenges in this is to 1. change the initial builtins to the commands that the device understands and 2. update completion to use the command syntax of the device. There is a bit of existing C code that parses the command syntax grammer that I would like to leverage. I had 2 questions regarding this: 1. Has something similar been attempted by anybody in this group? 2. What should be my initial design path, so that the solution fits in with zsh philosophy? Thanks Vinod --089e0153870c534e42051556f188--