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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fbb7003b9d2e8c21 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-17 05:29:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!newsfeed.hanau.net!fr.clara.net!heighliner.fr.clara.net!news.tiscali.fr!not-for-mail From: Sylvain NAHAS Newsgroups: comp.lang.ada Subject: Re: Re: GNU Readline ? Date: Fri, 17 May 2002 13:12:15 +0200 Organization: TISCALI FRANCE Message-ID: <3CE4E58F.CB7D6114@sylvain-nahas.com> References: NNTP-Posting-Host: news3adm.tiscali.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Trace: news2adm.admin.in.none.net 1021633970 18785 172.29.129.3 (17 May 2002 11:12:50 GMT) X-Complaints-To: abuse@libertysurf.fr NNTP-Posting-Date: Fri, 17 May 2002 11:12:50 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.18pre21 i686) X-Accept-Language: fr-FR, en X-NNTP-Posting-Host: dyn-212-83-181-207.ppp.tiscali.fr Xref: archiver1.google.com comp.lang.ada:24264 Date: 2002-05-17T13:12:15+02:00 List-Id: Caldwell Ian wrote: > Have you looked at GNAT.Command_line which comes with GNAT? Sylvain NAHAS answered: I thank you for your attention. Actually, I know the package GNAT.Command_line, is spite of I am full newbie in Ada (I'm learning it for two weeks) Here is the quote from the GNAT user manual : "The package `Ada.Command_Line' provides access to the command-line arguments and program name" It fournishes facilities such as argument access you have in C, and implementation of the "getopt" function. I'am looking for something like GNU Readline. The following quote comes from the readline manual : "utility which aids in the consistency of user interface across discrete programs that need to provide a command line interface" It allows to offer to the user an command-line-like interface, such as you have in a Shell (it may be the same code, in fact). It includes : command history, binding to key strokes, and an easy configuration set. For my own need, I've begun to build a binding to this library. But as I am very lazy and coward I'd like to use another one, if available. In the other case, would it be of interest to share it with the community ? Greets.