Forum Discussion

philotas's avatar
philotas
Roku Guru
10 years ago

BrightScript Debugger: how to access last commands?

Is there a way to open the last commands like in a regular terminal you could use up and down to go through the list of last entered commands?

If I press UP I just get "^[[A"

thanks!

5 Replies

  • interesting. unfortunately I am on a OS X.
    but thanks. looks good!
  • "RokuMarkn" wrote:
    On OS X you can use rlwrap.

    Fair warning though: If you don't already have installed/use Homebrew, following the instructions on that page is a bit of a "You wanted a banana but what you got was a gorilla holding the banana." - i.e. it installs `brew`. That may or may not conflict with other package managers.

    Command line editing was already discussed at length here viewtopic.php?f=34&t=92128

    PS. RokuMarkn - how do you then exit `rlwrap telnet`, given that ^] (ctrl-]) escape does not work?
  • "RokuMarkn" wrote:
    On OS X you can use rlwrap.

    --Mark


    cool! that worked!

    as a developer I had homebrew already installed anyway.
    thanks!
  • "EnTerr" wrote:

    PS. @RokuMarkn - how do you then exit `rlwrap telnet`, given that ^] (ctrl-]) escape does not work?


    I am using this https://github.com/ViacomInc/roku_builder to build and upload the app.

    When using
    rlwrap roku --monitor main
    I can exit with Ctrl+D.
    But I could not exit when using
    rlwrap telnet ROKU_IP 8085
    .