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

Re: clear the telnet (cmd) screen

Depending on my mood I'll click the Clear button in Eclipse every time I test the channel. Plus I set the log to be HUGE, so I can scroll WAY WAY up, whereas the Windows CMD window only holds so much and it's not much at all.
0 Kudos
destruk
Streaming Star

Re: clear the telnet (cmd) screen

Windows telnet can log to a file. I use that quite a bit. telnet -f c:\log.txt ipaddress portnumber
0 Kudos
destruk
Streaming Star

Re: clear the telnet (cmd) screen

"squirreltown" wrote:
And yes it never hurts ask, I suppose I'm just too cynical, I see the cobwebs on Enterr's unanswered questions and don't feel like suggestions have any way of moving up the food chain.


Speaking of the food chain, maybe if the squirrels didn't keep eating all the low-priority suggestions they'd get a response... lol...
0 Kudos
belltown
Roku Guru

Re: clear the telnet (cmd) screen

"Komag" wrote:
Depending on my mood I'll click the Clear button in Eclipse every time I test the channel. Plus I set the log to be HUGE, so I can scroll WAY WAY up, whereas the Windows CMD window only holds so much and it's not much at all.

I've never used Eclipse. The couple of times I tried setting it up, I couldn't get it to work. It didn't like my javas or something, so I just gave up. I may give it another try when I get some free time, although I've pretty much set up Notepad++ to work as my BrightScript IDE (it'll do syntax highlighting and formatting for BrightScript easily, and I've written a macro that will, with a single key press, zip my channel and deploy to my Roku(s), and another one that will connect to the debug console using telnet with a single keystroke).

If you're interested, Komag, you can change the Windows command window buffer size. Click on the icon in the top left-hand corner of the window, select "Defaults", then the "Layout" tab, then change the Screen Buffer Size, Window Size, and Window Position values to whatever you want. You can make the window as large as your screen if you want, with a buffer of up to 9999 lines.
0 Kudos
squirreltown
Roku Guru

Re: clear the telnet (cmd) screen

"destruk" wrote:


Speaking of the food chain, maybe if the squirrels didn't keep eating all the low-priority suggestions they'd get a response... lol...

Hey I resemble that remark :roll:
We squirrels be eating machines, just don't ask us to clean up after.
Just noticed the typo, I hate that.
Kinetics Screensavers
0 Kudos
Komag
Roku Guru

Re: clear the telnet (cmd) screen

"belltown" wrote:
...I've pretty much set up Notepad++ to work as my BrightScript IDE (it'll do syntax highlighting and formatting for BrightScript easily, and I've written a macro that will, with a single key press, zip my channel and deploy to my Roku(s), and another one that will connect to the debug console using telnet with a single keystroke).


I'm quite interested in this as I also use Notepad++ for IDE (I only use Eclipse as a glorified console). I've been setting language to VB to get syntax highlighting that is pretty close - do you do something else that is more accurate? I'm interested in your macros as well!

(and thanks for the tip about adjusting the Windows CMD window.)
0 Kudos
renojim
Community Streaming Expert

Re: clear the telnet (cmd) screen

PuTTY has menu options to clear the screen and clear the scrollback buffer. Highly recommended over the Windows telnet client.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
belltown
Roku Guru

Re: clear the telnet (cmd) screen

"Komag" wrote:
I'm quite interested in this as I also use Notepad++ for IDE (I only use Eclipse as a glorified console). I've been setting language to VB to get syntax highlighting that is pretty close - do you do something else that is more accurate? I'm interested in your macros as well!

I made another thread with my Notepad++ instructions: http://forums.roku.com/viewtopic.php?f=34&t=83613
0 Kudos
cpjamloki
Visitor

Re: clear the telnet (cmd) screen

so long discussion here... but no reply is satisfactory.
0 Kudos
belltown
Roku Guru

Re: clear the telnet (cmd) screen

"cpjamloki" wrote:
so long discussion here... but no reply is satisfactory.

If you want to clear the previous console log, I don't believe there is any way to do that other than re-booting the Roku. The console log is stored in the Roku's memory and regardless of what telnet client you are using, the log from a previous session persists, although some telnet clients do have the ability to clear the previous log entries from the screen display.

However, if you just want to clear your telnet screen when using the Windows Telnet Client, the following command should clear the current screen (or at least it does on my computer): ESC [ 2 J
I.e. press and release the esc key, then [ then 2, then press SHIFT and J at the same time. Then press the Enter key and you should get a BrightScript syntax error because the BrightScript debugger didn't recognize that command, but the rest of the screen will be cleared of previous console output.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.