From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet) Date: Wed, 08 Sep 2021 09:13:11 +0200 Message-ID: <87o893bkvs.fsf@gmx.de> References: <694581630832756@mail.yandex.ru> <87pmtm52zy.fsf@gmx.de> <1053251630945528@mail.yandex.ru> <87lf49ehaa.fsf@gmx.de> <1059951630951424@mail.yandex.ru> <87czplecqs.fsf@gmx.de> <1058271630967079@mail.yandex.ru> <87ilzcd2sx.fsf@gmx.de> <9434111631047402@mail.yandex.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7733"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "50399@debbugs.gnu.org" <50399@debbugs.gnu.org> To: Bad Blue Bull Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 08 09:17:04 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNrpP-0001qD-Vj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Sep 2021 09:17:04 +0200 Original-Received: from localhost ([::1]:57656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNrpO-00016x-TA for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Sep 2021 03:17:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNrmU-0007Xz-51 for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 03:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNrmT-0003Zd-Tc for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 03:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNrmT-0004rJ-Q4 for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 03:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Sep 2021 07:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50399 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50399-submit@debbugs.gnu.org id=B50399.163108520018617 (code B ref 50399); Wed, 08 Sep 2021 07:14:01 +0000 Original-Received: (at 50399) by debbugs.gnu.org; 8 Sep 2021 07:13:20 +0000 Original-Received: from localhost ([127.0.0.1]:58386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNrlo-0004qC-D6 for submit@debbugs.gnu.org; Wed, 08 Sep 2021 03:13:20 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:52225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNrlm-0004px-QS for 50399@debbugs.gnu.org; Wed, 08 Sep 2021 03:13:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631085193; bh=/FwtrTqNJvwW6KswYD+OXoa2f0RdWgQutEgGJqjmDjo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=XNSr9WZW7PhexJnYZmSa72vo71kFXBfOpJIsk2enjY6VNb30CRHP60K1PVSspJ8Tb q3zKPZmqJMdu+YTLFAqWwRNQv47+k7LSNKIzVygVKwrvn+tKbxaD3lOfyH3eBvJQyT 1u1uVUxq4Q2Xb61jFKOn/k+HFSrcBCTfDqmuNl9o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.148.40]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MXp5a-1mR5r23BE4-00YD1V; Wed, 08 Sep 2021 09:13:12 +0200 In-Reply-To: <9434111631047402@mail.yandex.ru> (Bad Blue Bull's message of "Tue, 07 Sep 2021 23:44:03 +0300") X-Provags-ID: V03:K1:VNFG+/MUe92P+lMdvrIy1905s3ouX3jXFRAPb8e/aMll9dT42Ce /wUW8L1CsqCeAqwOKTofsMbZOwJXTbO2TOqeHaa1/n5NzPO7/t/xu8D9RDtrDQyjS3Wp4AV SxCf8ctJ7GI6aakJrlZ9STRR79aXFM024+QY38riTFfFL0gcJEk+fbs93lqu4cYXIVoPuyJ 26o2M294LLrsTHVsRc9Ow== X-UI-Out-Filterresults: notjunk:1;V03:K0:7ugF9vjP1z8=:tHrKU97eFvb7/iaXO+7222 9avw9+n6rrx1F8BuwNKiKKV62iRderM8bbRVed/HnYBzVUFf1aOHRuECtR9v+iBb2//79Zg1d 0K3cBiwQ2+CeIrmOlBbkfFW0gNn9vJZMJLWDMkxRSgITM6049uVcdvZG0+Is3ZdEL2erqP+8d fwzQc6zKhPy6Jf6TCcx9gvd9W8pk6EY7jcZsuMIAvvT8u8FAUVbdvtKQ4AU5fUqboGh2On244 2+cJhHhZ3CRCBNK67vC/xug7sUY0uQDhtl3WvijML5FZxlgMHS9sZ5CwpPTCW7nMhKHws4ICL rlpEWSz1gkQdq2+RZ68OGS7pWlHmVxJwErHeRML2O8WN+vWBKCY2Nfvd5231DPR5AVoiVIgEQ EDjNlW0hbL9sWdM8VMQjohlAEjkCR60Y7MeABwMoyncMhvLgIk4x1Y3M3kRunO1HpkPPTnWLo KYaRQskmcQJvlDsF+O2Va9N8027qUUi3FGjvQI/8YxG/xtdJtmpx9xuTzO65WpsTFUGP1SFMT PnzKR8vYK7/eRiWODzv35mATJhitcXxOdald3ZIoUlagncRBVPg78Im0pln4anGyUzTR/dm1c DW6+CN/b/286wc6xccyX9SROtixNK30iTlu60cjmfBUQpcl/MlVgClkk3kAgvVoc3ctg9eiZt wXbPKSi6F4bYBLBb6SNDJhOzYgN1PBBqKj3PoUlzeWPy4R9EkJJCJ06qGfI255CYfkyXXVAZw sWu0+/LgB28oZYDDd/+cGOvyattZYhaq4uMP5WEU0qCOnE3x/kUzV/Ty9IYXrOCAayQ9/VoX X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:213783 Archived-At: --=-=-= Content-Type: text/plain Bad Blue Bull writes: Hi, > Trying 192.168.0.141... > Connected to 192.168.0.141. > Escape character is '^]'. > Microsoft (R) Windows (TM) Version 5.00 (Build 2195) > Welcome to Microsoft Telnet Service > Telnet Server Build 5.00.99206.1 > login: Looks correct to me. And none of this except the first line is in the traces. So we need to run telnet from Tramp w/o stderr redirection. Could you pls apply the appended patch to tramp-sh.el? Since this requires a regeneration of tramp-loaddefs.el, pls recompile Emacs via "make -C lisp autoloads compile". Rerun your test with tramp-verbose set to 10, and show the traces. Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment diff --git a/lisp/tramp-sh.el b/lisp/tramp-sh.el index a2bf0afb..fd773f0a 100644 --- a/lisp/tramp-sh.el +++ b/lisp/tramp-sh.el @@ -244,7 +244,7 @@ The string is used in `tramp-methods'.") (add-to-list 'tramp-methods `("telnet" (tramp-login-program "telnet") - (tramp-login-args (("%h") ("%p") ("%n"))) + (tramp-login-args (("%h") ("%p"))) (tramp-remote-shell ,tramp-default-remote-shell) (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c")))) --=-=-=--