unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Christopher M. Miles" <numbchild@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Emacs Help <help-gnu-emacs@gnu.org>
Subject: Re: TRAMP suspended after I inputted password
Date: Sat, 26 Mar 2022 23:20:02 +0800	[thread overview]
Message-ID: <12258.499539324$1648308379@news.gmane.org> (raw)
In-Reply-To: <87wnghgkg2.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 2174 bytes --]


Michael Albinus <michael.albinus@gmx.de> writes:

> "Christopher M. Miles" <numbchild@gmail.com> writes:
>
> Hi,
>
>> Indeed, the tramp debug log is too large (45M), email (sendmail) can't send it. So I paste it on
>> GitHub Gist here:  https://gist.github.com/stardiviner/d53fde541154cddf44db8d95c2ee15a1
>
> Thanks. According to the traces, Tramp has sent
>
> 09:46:13.813642 tramp-send-command (6) # exec ssh -l stardiviner -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -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 index is 18446744073709551615', /Users/ciaccount/actions-runner/_work/macos/macos/rust-lib/alacritty_terminal/src/grid/mod.rs:452:14
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
>
> 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 account. It works fine and
the shell prompt show up. But I'm using Zsh on macOS by default, and the Zsh 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:~". Still has suspend problem.

PS. My zsh version: zsh 5.8.1 (arm-apple-darwin21.3.0)

-- 
[ 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2022-03-26 15:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-22  1:12 TRAMP suspended after I inputted password Christopher M. Miles
2022-03-25 14:10 ` Michael Albinus
2022-03-26  1:53   ` Christopher M. Miles
2022-03-26  8:57     ` Michael Albinus
2022-03-26 15:20       ` Christopher M. Miles [this message]
2022-03-27  7:44         ` Michael Albinus
2022-03-27  8:10           ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-28  6:33           ` Christopher M. Miles
2022-03-30 14:30             ` Michael Albinus
2022-04-05  3:28               ` [SOLVED] " Christopher M. Miles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='12258.499539324$1648308379@news.gmane.org' \
    --to=numbchild@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).