[haiku-commits] Re: haiku: hrev44391 - in src/apps/debugger/user_interface: cli util gui/team_window src/apps/debugger

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 24 Jul 2012 14:33:10 +0200

Axel Dörfler wrote:
> On 24.07.2012 00:01, ingo_weinhold@xxxxxx wrote:
> > abbcb2c: Debugger: Use readline in the CLI
> >
> > This is a bit hacky, since gdb's readline is used. It would probably be
> > best to prepare an optional build package.
> 
> We already have libedit in our repository (src/libs/edit) which is used 
> by ftp, and telnet. AFAIK it's supposed to be a 100% compatible readline 
> replacement.

Thanks for hint! I was actually looking in headers/libs for an alternative, but 
apparently the libedit headers haven't been moved there.

> Of course, our version might be slightly out dated :-)

From what I read on the libeditline (a libedit fork) website, libedit isn't 
maintained anymore. ATM only very little functionality is used in Debugger yet 
(namely readline() and add_history()), so I'm pretty sure it will be sufficient.

CU, Ingo

Other related posts: