delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/03/30/20:30:36

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:in-reply-to:references
:date:received:message-id:subject:from:to:content-type;
bh=WeqE5mlx7TOLlhfELYS9RdluZ445eYNlYOwoGR/b0GI=;
b=EsJoOMPq8Zlbwzpu3h3iygCfEb4oXPduDlSjz01x2/n942SbcwfOQayYbTZFZ/5XoD
ZDZvs6jdl2FRrZVcdHYESVX+4s0jQx7VPmy/yBy3O8Nt0T5oBOCVuYIWIkAHWV478V5z
EEiWe++pvl5z9CxlpQbpvmQTP1Pign4IHx2Bo=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
b=F/6mvQEreVLvexBU9jYvIPc8Tad+4fCwfoUOOU5kNY8D0xlartbML6iih1VfcxWvU7
mhbgWRKYW+IKkXwbFxXKiGkAPwrtgTUrFjccFhlIXEsgacUeIopYPPRZqUS83LbToY7E
FA2j1bIUh2rk0bvO0W2y3WAkMFxrH2pOS7wxM=
MIME-Version: 1.0
In-Reply-To: <1433b3f4-9d44-455b-9465-e873fd2cb618@33g2000yqj.googlegroups.com>
References: <013d25d6-f34d-4686-9c68-0de775d5bf59 AT t20g2000yqe DOT googlegroups DOT com>
<7705c9031003290422w7015bbd6y5e8647aec1ba3f36 AT mail DOT gmail DOT com>
<109418c8-c160-4b9f-8e6c-a842da1b7a98 AT k13g2000yqe DOT googlegroups DOT com>
<83oci71dhr DOT fsf AT gnu DOT org>
<11fa369b-5fab-42ac-805f-1e7e74051411 AT l36g2000yqb DOT googlegroups DOT com>
<83fx3j1874 DOT fsf AT gnu DOT org>
<81255c92-b71b-4d8b-871c-fe057d72ddb7 AT u22g2000yqf DOT googlegroups DOT com>
<834ojz111c DOT fsf AT gnu DOT org>
<9e95b163-ba8a-467d-870e-4f3437dd9a96 AT y17g2000yqd DOT googlegroups DOT com>
<1433b3f4-9d44-455b-9465-e873fd2cb618 AT 33g2000yqj DOT googlegroups DOT com>
Date: Tue, 30 Mar 2010 18:30:31 -0700
Message-ID: <l2i7705c9031003301830hc62e763euf24398f9661b0fcc@mail.gmail.com>
Subject: Re: djgpp/libreadline bug? (cannot use backspace)
From: Blair Campbell <blairdude AT gmail DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> BTW readline and ncurses increased size of my program from ~100kB - >
> 190kB (after strip & UPX) it seems to me high cost for a command line
> history (I use only 2 functions readline and add_history). I also want

As far as I know you can compile readline so that it does not depend
on curses.  It should only require the termcap library.  Perhaps this
would simplify things.

> to add my commands completion - it looks a bit complicated I'm looking
> for some simple examples. I though it would be enough to provide a
> pointer on string array and readline would complette it but it seems
> that I will have to write some functions for searching in array etc.
> and readline will call them.
>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019