[lldb-dev] Losing prompt when running any python commands
sorrels.m at gmail.com
Wed Jul 3 17:21:33 PDT 2013
I can verify that using the libedit from http://www.thrysoee.dk/editline/
does fix the problems with losing the prompt after running a python
script. Though its build/install doesn't overwrite the stock Ubuntu
version so it was kind of painful to switch just temporarily. Lldb did
seem to build just fine with it. It also seemed to handle up-arrow/history
and backspace better than the stock version, though I don't really have a
repro case for bugs I've seen in that area. (where backing up causes you to
get lost on the edit line)
I'm not sure we really want to move it into lldb though, but I'd say it's
definitely a requirement if you want to use lldb on Linux.
On Wed, Jul 3, 2013 at 11:35 AM, Greg Clayton <gclayton at apple.com> wrote:
> If we are thinking of building a readline/editline/other line editor
> package as part of LLDB, we might take a look around and see if there
> aren't any other non GPLv3 line editors we would rather use.
> I have heard that zsh might have a nice line editor that could be used. I
> am not sure how well libedit stacks up to competing line editors.
> Greg Clayton
> On Jul 3, 2013, at 11:14 AM, Matthew Sorrels <sorrels.m at gmail.com> wrote:
> > Looking at libedit was on my list, so I'll take a look at this and see
> what can be done.
> > On Wed, Jul 3, 2013 at 9:08 AM, Ed Maste <emaste at freebsd.org> wrote:
> > On 3 July 2013 11:49, Malea, Daniel <daniel.malea at intel.com> wrote:
> > > It's a bug — I've heard reports that building against a newer libedit
> will fix the problem:
> > >
> > > http://www.thrysoee.dk/editline/
> > >
> > > However, most distributions ship with an ancient version. I'm not sure
> if there's any (licensing or other) restrictions that would prevent someone
> from checking in the updated libedit into lldb source tree…I haven't really
> had time to look at this problem in detail though..
> > For what it's worth, on FreeBSD lldb picks up the base system's
> > libedit, which shares a common ancestry with NetBSD. This problem is
> > not reproducible here.
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev