Re: TRAMP hangs if remote login shell is fish
Michael Albinus <[email protected]> Fri, 09 May 2025 10:40:22 +0200
| Newsgroups | gmane.emacs.tramp |
|---|---|
| Message-ID | <[email protected]> |
ID <[email protected]> writes: Hi, >> Could you please call from a local shell: >> >> --8<---------------cut here---------------start------------->8--- >> # ssh -o ControlMaster=auto -o ControlPath=/home/id/.cache/emacs/tramp.%C -o ControlPersist=no -e none -o SetEnv="TERM=dumb" me308 >> $ echo $TERM >> --8<---------------cut here---------------end--------------->8--- > > These are the results: > > id at id-think-arch $ ssh -o ControlMaster=auto -o ControlPath=/home/id/.cache/emacs/tramp.%C -o ControlPersist=no -e none -o SetEnv="TERM=dumb" me308 > Password: <enters password> > Last login: ... > $ echo $TERM > dumb > $ echo $SHELL > /bin/fish Good, passing TERM=dumb as ssh option works. I recommend now to continue using Tramp's '/ssh:me308:' method, and to debug your config.fish for the tests of $TERM, for example by printing some test values. The problem must be there, I guess. Best regards, Michael.