Re: adding a command-line interface

From: Chris F.A. Johnson (c.fa.johnson_at_rogers.com)
Date: 03/31/04


Date: 31 Mar 2004 00:52:28 GMT

On Wed, 31 Mar 2004 at 00:40 GMT, Israel Hsu wrote:
> Hi, everyone,
>
> I want to add a command-line interface to my program, an interface
> with history and command-line editing. Is there a library that I can
> use to easily customize and add such an interface? (besides getchar
> and atoi, etc.)

    Try the GNU readline library: <ftp://ftp.gnu.org/pub/gnu/readline>

-- 
    Chris F.A. Johnson                  http://cfaj.freeshell.org/shell
    ===================================================================
    My code (if any) in this post is copyright 2004, Chris F.A. Johnson
    and may be copied under the terms of the GNU General Public License


Relevant Pages

  • Re: Ease of use (was: Re: Idiot (I know thats redundant) spammer
    ... >!elements, even a very simple one, is as easy as choosing elements from a ... etc...which considerably ease the typing task at hand. ... > interface - familiar because of ubiquity, ... Try that with a command-line interface. ...
    (comp.os.vms)
  • Re: problem with router---NAT and caching?
    ... I know about the command-line interface, ... with my Linksys router all pages except the main configuration ... problem exists only for port 6000. ...
    (comp.os.vms)
  • Re: TracShell 0.1 released
    ... found the browser interface to be a productivity killer. ... wanted a simple command-line interface to Trac, ... ability to create and edit tickets. ...
    (comp.lang.python)
  • adding a command-line interface
    ... I want to add a command-line interface to my program, ... with history and command-line editing. ... use to easily customize and add such an interface? ...
    (comp.unix.programmer)
  • Re: Driver Model 2 Proposal - Linux Kernel Performance v Usability
    ... > trying to avoid having to recompile drivers if the interface DOESN'T change. ... Dick Johnson ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)