From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Christopher M. Miles" Newsgroups: gmane.emacs.help Subject: Re: TRAMP suspended after I inputted password Date: Sat, 26 Mar 2022 23:20:02 +0800 Message-ID: <12258.499539324$1648308379@news.gmane.org> References: <37296.8222176254$1648211811@news.gmane.org> <87ils2i0md.fsf@gmx.de> <41568.5577596136$1648261759@news.gmane.org> <87wnghgkg2.fsf@gmx.de> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24568"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 29.0.50 Cc: Emacs Help To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 26 16:26:11 2022 Return-path: Envelope-to: geh-help-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 1nY8It-0006B5-0N for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 16:26:11 +0100 Original-Received: from localhost ([::1]:57364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY8Ir-0003L7-Es for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 11:26:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY8I2-0003J9-EU for help-gnu-emacs@gnu.org; Sat, 26 Mar 2022 11:25:18 -0400 Original-Received: from [39.171.215.117] (port=3317 helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY8I0-0006BQ-CL for help-gnu-emacs@gnu.org; Sat, 26 Mar 2022 11:25:18 -0400 Original-Received: by Mac-mini.local (Postfix, from userid 501) id 60D6A413EDA1; Sat, 26 Mar 2022 23:25:07 +0800 (CST) In-reply-to: <87wnghgkg2.fsf@gmx.de> X-Host-Lookup-Failed: Reverse DNS lookup failed for 39.171.215.117 (deferred) Received-SPF: softfail client-ip=39.171.215.117; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 58 X-Spam_score: 5.8 X-Spam_bar: +++++ X-Spam_report: (5.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_PBL=3.335, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: reject X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136773 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Michael Albinus writes: > "Christopher M. Miles" writes: > > Hi, > >> Indeed, the tramp debug log is too large (45M), email (sendmail) can't s= end it. So I paste it on >> GitHub Gist here: https://gist.github.com/stardiviner/d53fde541154cddf4= 4db8d95c2ee15a1 > > Thanks. According to the traces, Tramp has sent > > 09:46:13.813642 tramp-send-command (6) # exec ssh -l stardiviner -o Contr= olMaster=3Dauto -o ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none = localhost > > > Then the password request was answered successfully > > 09:46:14.069608 tramp-accept-process-output (10) # *tramp/ssh stardiviner= @localhost* 0 run nil > > (stardiviner@localhost) Password: > 09:46:14.070100 tramp-action-password (3) # Sending Password > > > However, Tramp didn't see any shell prompt afterwards. Instead (when you > have quit the connection), it sees > > 09:46:53.454713 tramp-accept-process-output (1) # Quit: "Quit", "" > > Last login: Fri Mar 25 13:29:03 2022 > thread 'main' panicked at 'index out of bounds: the len is 0 but the inde= x is 18446744073709551615', /Users/ciaccount/actions-runner/_work/macos/mac= os/rust-lib/alacritty_terminal/src/grid/mod.rs:452:14 > note: run with `RUST_BACKTRACE=3D1` environment variable to display a bac= ktrace > > Do you see the same when calling the ssh command above from a shell? Do > you see a shell prompt there? > > Best regards, Michael. I tested command "ssh stardiviner@localhost" to ssh login my localhost acco= unt. It works fine and the shell prompt show up. But I'm using Zsh on macOS by default, and the Zs= h prompt is not standard, it's customized by oh-my-zsh project. Maybe this is related? Then I tested = with disable oh-my-zsh's .zshrc profile file. And try Emacs tramp "/ssh:stardiviner@localhost:~". St= ill has suspend problem. PS. My zsh version: zsh 5.8.1 (arm-apple-darwin21.3.0) =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmI/MFIACgkQG13xyVro msPnnQf+OVptG0/cEw00Q1/JJfthzpzJ6mB4OBu/9bjW6prEHYQM6PNXCr7K51qL i5HzDNevl+YiPtkeSlUAa8VbWE35re/4q1smPVhYGNp/ImD54xWCkew+YpbPxGfb kvAgvvAaJboQY+L4p7VHMq9yGUGmAh1VANW/LAgAaqGcZtxilDtDt7PsBU7fh3mh RsIWR+9NK17SHxferq/UyxQ/6PTjsvkQ2rhUpMR668SbmF+kiO2LLA8pmdpLoFFE NvPpwMg9/XW9H8oo9qzknct/LUv5aH7b3UlkrL129htw8VSaQdOwSRLZQP/dYNEN f9PYQK6muD+C1Chry0UjsF6lhRBquw== =VQFO -----END PGP SIGNATURE----- --=-=-=--