Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#26 Use readline in built in debugger

open
nobody
None
2
2005-12-29
2005-12-29
Richard Quirk
No

Tired of pressing the up arrow to get the previous
command and seeing "^[[A", I added basic readline to
the internal debugger. To see if the patch works, from
top level VisualBoyAdvance dir, check with:

zcat vba_readline.patch.gz | patch -p1 --dry-run

patch with:

zcat vba_readline.patch.gz | patch -p1

You will have to re-configure, since it uses a new flag
--enable-readline (defaults to no):

autoconf
./configure --enable-sdl --enable-readline

If readline library is not found (or not enabled), it
uses the old fgets approach. Changes in configure.in
and src/sdl/debugger.cpp

Discussion

  • Richard Quirk
    Richard Quirk
    2005-12-29

    Enable readline in built in debugger. Pass --enable-readline to configure

     
    Attachments
  • Richard Quirk
    Richard Quirk
    2005-12-29

    • priority: 5 --> 2