Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
philotas
Roku Guru

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 6
belltown
Roku Guru

Re: BrightScript Debugger: how to access last commands?

PurpleBug (Windows only) has this feature.
0 Kudos
philotas
Roku Guru

Re: BrightScript Debugger: how to access last commands?

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

Re: BrightScript Debugger: how to access last commands?

On OS X you can use rlwrap.

--Mark
0 Kudos
EnTerr
Roku Guru

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
Roku Guru

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
Roku Guru

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