help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TRAMP suspended after I inputted password


From: Christopher M. Miles
Subject: Re: TRAMP suspended after I inputted password
Date: Sat, 26 Mar 2022 23:20:02 +0800
User-agent: mu4e 1.6.10; emacs 29.0.50

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]