Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
philotas
Level 7

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!
0 Kudos
6 Replies
belltown
Level 7

Re: BrightScript Debugger: how to access last commands?

PurpleBug (Windows only) has this feature.
https://github.com/belltown/
0 Kudos
philotas
Level 7

Re: BrightScript Debugger: how to access last commands?

interesting. unfortunately I am on a OS X.
but thanks. looks good!
0 Kudos
RokuMarkn
Level 7

Re: BrightScript Debugger: how to access last commands?

On OS X you can use rlwrap.

--Mark
0 Kudos
EnTerr
Level 8

Re: BrightScript Debugger: how to access last commands?

"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?
0 Kudos
philotas
Level 7

Re: BrightScript Debugger: how to access last commands?

"RokuMarkn" wrote:
On OS X you can use rlwrap.

--Mark


cool! that worked!

as a developer I had homebrew already installed anyway.
thanks!
0 Kudos
philotas
Level 7

Re: BrightScript Debugger: how to access last commands?

"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
.
0 Kudos