* [gentoo-user] TRAMP is not working
@ 2018-09-03 12:51 Melleus
2018-09-03 17:13 ` J. Roeleveld
0 siblings, 1 reply; 4+ messages in thread
From: Melleus @ 2018-09-03 12:51 UTC (permalink / raw
To: gentoo-user
Hi all!
After emerging new Emacs (v.26) I got TRAMP broken. I do not use it
often, so I hit the problem only today. Instead of opening file it
complains with the following message (regardless of protocols and
local/remote files):
"Couldn't find local shell prompt for zsh"
I might be possibly doing something wrong, but before the update there
were no issues. Reading TRAMP manual brought to me no enlightenment on
what's happening either.
Thanks ahead.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] TRAMP is not working
2018-09-03 12:51 [gentoo-user] TRAMP is not working Melleus
@ 2018-09-03 17:13 ` J. Roeleveld
2018-09-03 22:04 ` [gentoo-user] " Melleus
0 siblings, 1 reply; 4+ messages in thread
From: J. Roeleveld @ 2018-09-03 17:13 UTC (permalink / raw
To: gentoo-user
On Monday, September 3, 2018 2:51:11 PM CEST Melleus wrote:
> Hi all!
>
> After emerging new Emacs (v.26) I got TRAMP broken. I do not use it
> often, so I hit the problem only today. Instead of opening file it
> complains with the following message (regardless of protocols and
> local/remote files):
>
> "Couldn't find local shell prompt for zsh"
>
> I might be possibly doing something wrong, but before the update there
> were no issues. Reading TRAMP manual brought to me no enlightenment on
> what's happening either.
>
> Thanks ahead.
Is "zsh" installed and working?
--
Joost
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: TRAMP is not working
2018-09-03 17:13 ` J. Roeleveld
@ 2018-09-03 22:04 ` Melleus
2018-09-04 12:08 ` Melleus
0 siblings, 1 reply; 4+ messages in thread
From: Melleus @ 2018-09-03 22:04 UTC (permalink / raw
To: gentoo-user
"J. Roeleveld" <joost@antarean.org> writes:
> On Monday, September 3, 2018 2:51:11 PM CEST Melleus wrote:
>> Hi all!
>>
>> After emerging new Emacs (v.26) I got TRAMP broken. I do not use it
>> often, so I hit the problem only today. Instead of opening file it
>> complains with the following message (regardless of protocols and
>> local/remote files):
>>
>> "Couldn't find local shell prompt for zsh"
>>
>> I might be possibly doing something wrong, but before the update there
>> were no issues. Reading TRAMP manual brought to me no enlightenment on
>> what's happening either.
>>
>> Thanks ahead.
>
> Is "zsh" installed and working?
>
> --
> Joost
Yes, sure. And it is available for Emacs terminal:
me@myhost ~ % sh
sh-4.4$ zsh
me@myhost ~ % exit
sh-4.4$ exit
exit
me@myhost ~ %
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: TRAMP is not working
2018-09-03 22:04 ` [gentoo-user] " Melleus
@ 2018-09-04 12:08 ` Melleus
0 siblings, 0 replies; 4+ messages in thread
From: Melleus @ 2018-09-04 12:08 UTC (permalink / raw
To: gentoo-user
Melleus <melleus@openmailbox.org> writes:
> "J. Roeleveld" <joost@antarean.org> writes:
>
>> On Monday, September 3, 2018 2:51:11 PM CEST Melleus wrote:
>>> Hi all!
>>>
>>> After emerging new Emacs (v.26) I got TRAMP broken. I do not use it
>>> often, so I hit the problem only today. Instead of opening file it
>>> complains with the following message (regardless of protocols and
>>> local/remote files):
>>>
>>> "Couldn't find local shell prompt for zsh"
>>>
>>> I might be possibly doing something wrong, but before the update there
>>> were no issues. Reading TRAMP manual brought to me no enlightenment on
>>> what's happening either.
>>>
>>> Thanks ahead.
>>
>> Is "zsh" installed and working?
>>
>> --
>> Joost
>
> Yes, sure. And it is available for Emacs terminal:
>
> me@myhost ~ % sh
> sh-4.4$ zsh
> me@myhost ~ % exit
> sh-4.4$ exit
> exit
> me@myhost ~ %
I have found the solution: from now on there should be the following stanza:
[ $TERM = "dumb" ] && unsetopt zle && PS1='$ '
put in .zshrc file.
(source: https://emacs.stackexchange.com/questions/27410/cant-connect-with-tramp-tramp-file-name-handler-couldn-t-find-local-shell-prom#27418)
I do not quite understand why I could not find that in manual.
But anyway TRAMP is working now.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-09-04 12:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-03 12:51 [gentoo-user] TRAMP is not working Melleus
2018-09-03 17:13 ` J. Roeleveld
2018-09-03 22:04 ` [gentoo-user] " Melleus
2018-09-04 12:08 ` Melleus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox