[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

4.9.0 with shell via telnetd - new telnetd issue - SOLVED



Chris Johns wrote:
> Robert S. Grimes wrote:
>   
>> However, when I say ugly, this is what I see.
>>
>>     Welcome to rtems-4.9.0(PowerPC/Generic (no FPU)/virtex)
>>     COPYRIGHT (c) 1989-2008.
>>     On-Line Applications Research Corporation (OAR).
>>
>>     Login into RTEMS
>>
>>     login: rrtteemmss
>>     
>               ^ shows echo is confused
>   
>>     Password:
>>
>>     RTEMS SHELL (Ver.1.0-FRC):. Sep 26 2008. 'help' to list commands.
>>     [/] $
>>
>> Note the login response - what I typed was this "rtems<cr>", where "<cr>" is
>> the enter key.  While it at first glance looked like local echo is on, notice
>> that I only hit the enter key _once_, yet the shell has seen two; the second
>> is consumed by the Password prompt.  So what gives?  Seems like something with
>> telnetd - how do I fix this?  I'm sure it is something trivial, yet rather
>> important...
>>
>>     
>
> The shell will echo and the client should not.
>   
That is my understanding...

> What telnet client are you using ?
>   
Plain old "Microsoft Telnet".  I made sure localecho is off, tried both 
crlf modes, both console and stream modes, and ansi/vt100 terminals.  
Nothing seems to help.

But note again, the shell is processing two enter keys, even though I 
only hit one.  But wait!  I just realized, it isn't processing two each 
of the other keys.  Now I'm really confused...  So time to try something 
different...

Yup, that works!  I decided to try Ed Sutter's uCon utility, which 
supports telnet, and it works perfectly!  (Thanks again, Ed!)

So, while I'm still confused about the crappy Microsoft telnet, I'm more 
than happy to use uCon!

Thanks anyway, Chris!
-Bob

P.S. This shell is great!  Why didn't I realize it was around sooner?  I 
had been using the RTEMS monitor - is that a precursor?

> Regards
> Chris
>
>