From mboxrd@z Thu Jan 1 00:00:00 1970 From: Georg Potthast 2 Subject: Re: telnetc behavior Date: Mon, 20 Mar 2017 15:05:56 +0100 (CET) Message-ID: <517558297.112296.1490018756653@webmail.strato.com> References: <1879994592.71594.1489947135823@webmail.strato.com> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1490019127; l=2949; s=domk; d=georgpotthast.de; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Cc:To:From:Date; bh=OUql5poOV+q4Ra8HGZd3eG26Xxr2H4anAAsUebvSGag=; b=L5uAXFsnv0UtD1/4viEzRc0vCuAq6nZEfp7LPOflMh8Z/7YrIz973aT0gt2Hj9kNw8 OMPbX+T4BZOnCj79rhAPIF5Z2llGIOw3cZ3GBcgEv4IdQuSyFtKbjRiH/c/hmX4pOwlu STWnYJ5fTywxVEnptFWBQTMkhnu0ejfsZpj7s= In-Reply-To: Sender: linux-8086-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8" To: Derek Johansen Cc: ELKS Derek, maybe you try CTRL-M/CTRL-J instead of enter just for testing. I never managed to generate a signal yet so I could not trigger that messag= e. I tried CTRL-C for that. You should enter CTRL-ALT-G to release the mouse from the Qemu window. Just= CTRL-ALT will not do that and you probably send that signal to the TELNET = server. Georg > Derek Johansen hat am 20. M=C3=A4rz 2017 um 06:10= geschrieben: >=20 >=20 > If I enter just one carriage return I never get a response from the serve= r. >=20 > 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. >=20 >=20 > On Sun, Mar 19, 2017 at 12:12 PM, Georg Potthast 2 > wrote: > > Please try to use just one carriage return. The server expects to get o= ne message and work on that. Not to get a message followed by an almost emp= ty message immediately. I did not expect that to happen. > > > > In the networking_guide I mentioned the commands I tried: e.g. whoami, = pwd, echo 123 > > > > The server receives the output of a command from ELKS in chunks of 64 b= ytes. He may try to read new input from the remote side if there is a small= pause after a chunk and get lost. Just wait till the prompt appears again = before entering something new. > > > > Georg > > > > > >> Derek Johansen hat am 19. M=C3=A4rz 2017 um 06= :23 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 majordomo@vger.kernel.org > >> More majordomo info at http://vger.kernel.org/majordomo-info.html > -- > To unsubscribe from this list: send the line "unsubscribe linux-8086" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html