From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Fixing a bug on Tramp Date: Thu, 16 Aug 2018 10:31:11 +0200 Message-ID: <87sh3e1zn4.fsf@gmx.de> References: <87lg9htjhd.fsf@gmx.de> <87tvnxv2kw.fsf@gmx.de> <87in4dug44.fsf@gmx.de> <87a7poumbd.fsf@gmx.de> <87600b67to.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1534408183 20633 195.159.176.226 (16 Aug 2018 08:29:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Aug 2018 08:29:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Justin Joseph Kaipada Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 16 10:29:39 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fqDf1-0005IY-92 for ged-emacs-devel@m.gmane.org; Thu, 16 Aug 2018 10:29:39 +0200 Original-Received: from localhost ([::1]:54204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqDh7-00088k-Pa for ged-emacs-devel@m.gmane.org; Thu, 16 Aug 2018 04:31:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqDgz-00088U-DX for emacs-devel@gnu.org; Thu, 16 Aug 2018 04:31:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fqDgv-0002Qy-UX for emacs-devel@gnu.org; Thu, 16 Aug 2018 04:31:41 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:48887) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fqDgh-0002Il-Gw for emacs-devel@gnu.org; Thu, 16 Aug 2018 04:31:29 -0400 Original-Received: from detlef.gmx.de ([79.140.117.178]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Me5Q2-1fVvNW1Jjq-00Psnw; Thu, 16 Aug 2018 10:31:12 +0200 In-Reply-To: (Justin Joseph Kaipada's message of "Wed, 15 Aug 2018 15:45:45 -0400") X-Provags-ID: V03:K1:dBNGQmu+5vh4frkauBn2jqEI7HHlNdRsT3hSMREw8S138CI5K+M a6rNYd8RiF6CloJ52OLVJj3AQWbYeDYJlSAJKNh95JPYSHYJZaKFB1XLETFLMjflOSAScwH SS2tlv5hxRjGcatpkrEVOLq4bJtC2FDtQOrmY9OeRNP8xJnNX0n0GMufOnPed7GK+/QEv2K vuJUoq6cjTA/YEIOatcpg== X-UI-Out-Filterresults: notjunk:1;V01:K0:JUo8al7mumQ=:eSD9DKnZwFQahH/YraTZrR CujRD3UuafC+2UaoAFMly4taki2Sqpa/5FXZTRQ+Y5RHGBDKbTiwa7ZMLi0kIRFIOZ49VZ8Ov Wcq33jv2rekDX/riNuBTzP+WTcRXds3pjtzkK5LpmFPvlbUI6z7lD5wEzxWYZdCLj3C3MjRUn Vsi9MBBJYSylHizyx2dL67U3I3dnhVZVsYtJ1ziYUiViVJUSVLBNDRshMNbTIaP/lJ4Cylyt0 UUcxJZNNI7aGkOXlGFIreA13tWxXu95LaM27NmiMh5Xm3p7Ndr11qZUac2X7+smXiK53VkCRp /BVyrKVeQWIV/mguC/mIqO5E0KlTv59+XXPZ959QSePDwhzF/hu8lDkRCzNndd9rf0p6s2JsF Henhy2uI2jUvOSKFUSkBpFH7Dpvy4Z/36FjI6b+nwkTeQcn5fgHilsrpbT4oQT0AL6rVMDdcg jAdy8M+ogGh6UgQhAGZFtJGP//gHN5oH7ZUfyw0Wvyr8O8kknrZLxM52CsDdWZIMN8sAeCNRW R1wlEZFo7N8f65HSqNt2xCQa/fBl9BcJGDuw961TXr5+P8+rMVM0NsVsyhK7g2DooKZ/g8pL/ AjkpobGnKEyAbhhr4ecAKPPF7QI9IBPtLmL45Cvs7umM2Azl4ISQl71cO2mSYUZCgb6HLPQsa cRxhHeFujle1L2BH6/pN7MXfxn5/02W0DjYF6R++iKbx5dpjDEz3kkTzK7TqN9gbYqTCPz2Ww JSIBt/TUDI33+6ByAhn+c97WysbGmVKQJ/oEgyWUDP+jlb2YS6n1nno/siBYiMSZXABJWsgi X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228585 Archived-At: [Please keep Cc, for the archives] Justin Joseph Kaipada writes: Hi Justin, > What are we expecting here, everything looks fine until > > # stty -inlcr -onlcr -echo kill '^U' erase '^H' > > after which new commands are not making newlines anymore, mat be > that's what the above command is doing. then everything works fines as > usual. Yes, we need some massage of macOS newline handling. How are carriage return / linefeed handled on the remote OS/390? Just CR, or LF, or CR/LF? On , something different is reported, NL (?\025). > what's the point of getting the locale -a information anyways ?. That's a trace command, which is sent because we have tramp-verbose set to 10. In normal operation, Tramp wouldn't send this command. > and once again # echo \"`getconf PATH 2>/dev/null`\" 2>/dev/null; echo > tramp_exit_status $? returns "/bin" with quotes Yes, in your shell. Inside Tramp, the apostrophes are missing :-( Perhaps we need some more tty settings, don't know. What happens, if you comment the stty command inside tramp-sh.el, so it isn't sent to the remote? Does it make a difference? Note, that the first command with the echo \"`uname -sr`\" sequence has worked successfully. (Well, it would help if I could run tests towards a remote OS/390 machine myself. But I suspect this isn't possible.) Best regards, Michael.