PDA

View Full Version : CLI - Telnet Client



Paul_B
2007-02-15, 12:49
Can someone point me in the direction of a good telnet client for Windows that I can use with the Slimserver CLI? In addition what should be the settings? From the doc I see it outputs UTF-8 but how can I transalte the output parameters such as "%3A" to ":" by default?

Many thanks,

Paul

chrisla
2007-02-15, 14:15
On 2/15/07, Paul_B <Paul_B.2m2atb1171569001 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> Can someone point me in the direction of a good telnet client for
> Windows that I can use with the Slimserver CLI?

Start -> Run -> cmd -> telnet

> In addition what should
> be the settings? From the doc I see it outputs UTF-8 but how can I
> transalte the output parameters such as "%3A" to ":" by default?
>
If you want to do this, you would likely need to use perl or some
other scripting.

-Chris

Patrick Dowling
2007-02-15, 14:22
A very good and free one is PuTTY. I use it daily at work and have
never had a problem with it.

http://www.chiark.greenend.org.uk/~sgtatham/putty/


On Feb 15, 2007, at 3:15 PM, Chris Laplante wrote:

> On 2/15/07, Paul_B <Paul_B.2m2atb1171569001@no-
> mx.forums.slimdevices.com> wrote:
>>
>> Can someone point me in the direction of a good telnet client for
>> Windows that I can use with the Slimserver CLI?
>
> Start -> Run -> cmd -> telnet
>
>> In addition what should
>> be the settings? From the doc I see it outputs UTF-8 but how can I
>> transalte the output parameters such as "%3A" to ":" by default?
>>
> If you want to do this, you would likely need to use perl or some
> other scripting.
>
> -Chris
>

MrC
2007-02-15, 14:29
On 2/15/07, Paul_B <Paul_B.2m2atb1171569001 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> Can someone point me in the direction of a good telnet client for
> Windows that I can use with the Slimserver CLI?

Start -> Run -> cmd -> telnet
[color=blue]

He said "a good telnet client" ! Window's telnet is awful.

Try any of these:
http://en.wikipedia.org/wiki/TELNET#Windows


Search the forums - they are several CLI controllers and examples available.

What are you trying to do?

Robin Bowes
2007-02-15, 15:45
MrC wrote:
> Chris Laplante;180863 Wrote:
>> On 2/15/07, Paul_B <Paul_B.2m2atb1171569001 (AT) no-mx (DOT)
>> forums.slimdevices.com> wrote:[color=darkred]
>>> Can someone point me in the direction of a good telnet client for
>>> Windows that I can use with the Slimserver CLI?
>> Start -> Run -> cmd -> telnet
>>
>>
> He said "a good telnet client" ! Window's telnet is awful.
>
> Try any of these:
> http://en.wikipedia.org/wiki/TELNET#Windows

PuTTY also does telnet.

There is a separate app to launch from the command-line: puttytel.exe, I
believe.

R.

Paul_B
2007-02-15, 15:56
Thank you MrC. I have used native Telnet client in Windows XP (it ain't good) and PuTTY to try to access the CLI. I am trying to play around with the CLI commands for use through my Home-Automation provider. They have released a new version that supports Slimserver and Squeezebox at a fairly basic level.

I wanted to use a Telnet clent that was able to identify the escape characters and display the 'correct' symbol so I can play before feeding back with comments and scripts.

MrC
2007-02-15, 17:06
Thank you MrC. I have used native Telnet client in Windows XP (it ain't good) and PuTTY to try to access the CLI. I am trying to play around with the CLI commands for use through my Home-Automation provider. They have released a new version that supports Slimserver and Squeezebox at a fairly basic level.

I wanted to use a Telnet clent that was able to identify the escape characters and display the 'correct' symbol so I can play before feeding back with comments and scripts.

Have a look at this thread. You can use the script there to replace the telnet client, and encode/decode sequences for you.

http://forums.slimdevices.com/showthread.php?t=26293&page=2

peter
2007-02-16, 02:35
On Thu, 15 Feb 2007 22:45:38 +0000, "Robin Bowes"
<robin-lists (AT) robinbowes (DOT) com> said:
> MrC wrote:
> > Chris Laplante;180863 Wrote:
> >> On 2/15/07, Paul_B <Paul_B.2m2atb1171569001 (AT) no-mx (DOT)
> >> forums.slimdevices.com> wrote:
> >>> Can someone point me in the direction of a good telnet client for
> >>> Windows that I can use with the Slimserver CLI?
> >> Start -> Run -> cmd -> telnet
> >> [color=blue]
> >>
> > He said "a good telnet client" ! Window's telnet is awful.
> >
> > Try any of these:
> > http://en.wikipedia.org/wiki/TELNET#Windows
>
> PuTTY also does telnet.

The Windows telnet is plenty good enough for the CLI. It's the
Slimserver CLI that's awful (as in, not meant to be used by a human
being over telnet). The %xx codes you see are not UTF encoded.

Regards,
Peter

the-ninth
2010-04-24, 23:28
Can anybody help me with the settings that I need to put in Putty to connect to the CLI?

When I start it like this:

putty -telnet -P <cli-port> <sc-server>

the window open ups and waits but as soon as I type any commend, for example "restart" the window just closes and no restart is triggered.

I also tried

putty -raw -P <cli-port> <sc-server>

but the result is the same.

Any help is appreciated.

I want to use Putty because telnet does not work properly on my Windows 7. I added it via the programs and features panel and it works if I call it manually from the start menu. However I cannot call it from batch scripts, which I'd need for automation.

Kind regards, Robert

pounce
2010-04-25, 07:40
If you want to script look at plink. It's putty, but the command line version. It seems you might not need an interactive window.

http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter7.html#plink

http://www.chiark.greenend.org.uk/~sgtatham/putty/