Re: telnetc behavior

Derek Johansen <[email protected]> Sun, 19 Mar 2017 23:10:42 -0600
Newsgroups org.kernel.vger.linux-8086
Message-ID <CAOv0vdkJsab1=XVi++wooUwe3zezztp5uQq5VftSzR13q6mCXQ@mail.gmail.com>
If I enter just one carriage return I never get a response from the server.

I noticed something else.  If I login as root, then do a ps command,
the telnetd and ktcp processes are displayed as expected;  I then
mouse over and click in my QEMU/ELKS window, then do a ctrl-alt to
exit mouse grab. I get a "signal received:2" message in the ELKS
window, and my ktcp and telnetd ELKS processes no longer show up when
I do the ps command.  It looks like ctrl-alt is killing the ktcp and
telnetd processes.


On Sun, Mar 19, 2017 at 12:12 PM, Georg Potthast 2
<[email protected]> wrote:
> Please try to use just one carriage return. The server expects to get one=
 message and work on that. Not to get a message followed by an almost empty=
 message immediately. I did not expect that to happen.
>
> In the networking_guide I mentioned the commands I tried: e.g. whoami, pw=
d, echo 123
>
> The server receives the output of a command from ELKS in chunks of 64 byt=
es. He may try to read new input from the remote side if there is a small p=
ause after a chunk and get lost. Just wait till the prompt appears again be=
fore entering something new.
>
> Georg
>
>
>> Derek Johansen <[email protected]> hat am 19. M=C3=A4rz 2017 um 06:2=
3 geschrieben:
>>
>>
>> Using the new telnetc client on my host,
>>
>> if I enter the lscommand  then 2 carriage returns, the first line of
>> the output shows up in my telnet server:
>>
>> ash banner basename cal cat chgr
>>
>> The rest of the ls listing shows up in my telnet client, starting with
>> the p from chgrp
>>
>> When I enter env and enter 2 carriage returns in my client, it prints
>> the environment variable (just one line) on the ELKS telnet server.  I
>> would expect it to be sent to my client.
>>
>> It looks like the first line of the telnet server output is not
>> getting sent to the client in my configuration for some reason.
>>
>> Thanks,
>> Derek
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-8086" in
>> the body of a message to [email protected]
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html