X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=HlBGDuOSQaBcgmhGSaKDyluC3NkWaDgq4K+JDR26rHlFuWPl30Yd9 H6s9fIg5RFznR36JrN6TdZVcQNh9sB6m4C7r6+oPFnmYjYc3pFtA5zC7pRDR3PnW Q0MXJVnid5Ff0O8cIyPOIGkJMX5O88FHIljJuIUPeWJiKgCYRKAQS4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=UcqGedzYrqktBlBLJLMCQiAF2V8=; b=DuMYOm78KExz/EwK5kplsbFvj8ig YE8ylItxerPG2Nof0yFe/ht2nBgfrcAF+vr/RXuON8UQDt1UW/j9l8VNYCTTnPFy deX+GVXVtgVd9ApkoqH1DLIH7DgDT8rnjpdZBq+U6idOYT9D/amKYdY0RnAgnR4Z S5Kwc732IjZ5C0A= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Sat, 28 Feb 2015 14:47:48 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Telnetd fails to handle some of TIOCPKT control bytes. Message-ID: <20150228134748.GY11124@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20150228142850 DOT 8e9de9b3deef959d9017bfb3 AT nifty DOT ne DOT jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NBQMqqtZQBFxm+aD" Content-Disposition: inline In-Reply-To: <20150228142850.8e9de9b3deef959d9017bfb3@nifty.ne.jp> User-Agent: Mutt/1.5.23 (2014-03-12) --NBQMqqtZQBFxm+aD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 28 14:28, Takashi Yano wrote: > Package: inetutils-server > Version: 1.9.1-2 or older >=20 > Telnetd in inetutils-server package lacks handling of some of > TIOCPKT control bytes. The most influential thing is a lack of > handling of TIOCPKT_DATA. TIOCPKT_DATAs i.e. '\0's frequently > appear in the stream of network side. >=20 > In most cases, '\0' is invisible on a terminal, therefore it is > hardly noticed. However, sometimes multibyte characters are > displayed incorrectly by interference of inserted '\0'. >=20 > To reproduce this problem: > 1) Install intetutils-server package. > 2) Make a typescript file by: > script -qc 'telnet localhost' > 3) Do something to produce some text outputs. > 4) Logout from the telnet session. > 5) Look into the typescript file, then you will find > many extra '\0's (^@) in it. >=20 > To fix this problem, I have made following patch. Thanks, but right now we are lacking a maintainer for the inetutils package. Is maintainance for a Cygwin package something you might be interest in? If so, have a look at https://sourceware.org/cygwin/setup.html and https://sourceware.org/cygwin-apps/package-upload.html Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --NBQMqqtZQBFxm+aD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU8ccEAAoJEPU2Bp2uRE+gvBwP/jBbqSu1k5bUKaZGtN/MVPtf Rt9eqZ4LomNaHuNBWShJ7VhFjD5moWVS6Xx+XaJqOzoF5qwgcbKkS7KMHg42Yh1x HVo33pLprpwTb8Bnfv5zNVVo2ElACtpbQSpDlQZsyyN3qbxFASbnDKMA4AibEzGA GPiHDxiHmluAFavn6ksQiMv5wzvwxSGjVL2Rgw/1XJbmghmDFzFucneMDUOS2xJZ B1Uxk4D0K1t/r0gGPaghVwiGK6ViEZNpzWSmMyQ8mytcEIQGMFYxob1eVsE/Vhl8 vobzVEVXA18zYZTExj5nSdWHo9cp/0nLQWNO+W6EwtrCSRRxeWy0mynrLBwF1l7H 0Aghzcv+ERBe+E2JU+f8zH2BZ3CEgxpOw7UChhJyouY6iGo0f6fZiXi57+D5aGoe zQi1kHQ5prvlBvxXq2nvz57GJvMJpIHOnQZjsG5i3a9g0+doLeNFUtldSaELxYl7 RO01/eqkaeAyka11FyIn/ZJFMt3Ak702YHz6qaB6BhxiSmBbmGjmM9S0jfzposHM 1VO1i+cHlmgzkTJJwtm8+dZsIcgUiACyj2dRo59Yf+XCpEuWI9Mm7qxuclLSfeGF Unl/MaATlYyRRuG4H178AbI1tlrst3iwLl7/scTVhEpthN/uYst4u31EGvJJIdoA bkOEJOfjZ8PM1d41nb98 =mH+U -----END PGP SIGNATURE----- --NBQMqqtZQBFxm+aD--