Re: adding a command-line interface
From: Måns Rullgård (mru_at_kth.se)
Date: 03/31/04
- Next message: Christian: "Re: setuid and groups"
- Previous message: Måns Rullgård: "Re: SIGKILL vs SIGSEGV in Linux and Solaris"
- In reply to: Chris F.A. Johnson: "Re: adding a command-line interface"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 11:34:48 +0200
"Chris F.A. Johnson" <c.fa.johnson@rogers.com> writes:
> 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>
There's also a BSD licensed clone called libedit.
-- Måns Rullgård mru@kth.se
- Next message: Christian: "Re: setuid and groups"
- Previous message: Måns Rullgård: "Re: SIGKILL vs SIGSEGV in Linux and Solaris"
- In reply to: Chris F.A. Johnson: "Re: adding a command-line interface"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]