[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dealing with strange shell prompts
From: |
Kai Großjohann |
Subject: |
Re: Dealing with strange shell prompts |
Date: |
Fri, 06 Sep 2002 16:07:28 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
lawrence mitchell <address@hidden> writes:
> Kai Grossjohann wrote:
>
>> It seems to happen more often now that Tramp doesn't grok a shell
>> prompt after "exec /bin/sh" on the remote end. I wonder if "exec
>> /bin/sh" could be replaced by something else which can be expected to
>> work better?
>
>> How about, for example, the following?
>
>> exec env PS1='$ ' /bin/sh
>
>> I think it works under csh-like shells as well as under Bourne-ish
>> shells. (Note that this command is expected to start a Bourne-ish
>> shell, so at this point we're not allowed to assume that we are
>> talking to a Bourne-ish shell already.)
>
>> What about zsh? Does it work there, too?
>
> It works for me under zsh 2.6-beta4, so I'd hope that it can be
> expected to work for more recent versions. (The current release
> is 4.0.6).
Good. I had been hoping it would work, after all zsh has the union
of the features of other shells, and then some.
>> And what about people with really unusual login shells, such as scsh
>> or this Plan9 thing? Does Tramp currently work for them? Will the
>> above command work there?
>
> The scsh isn't (as yet) really intended as an interactive shell
> (at least according to it's faq), so maybe you don't need to
> cater for it yet, however, a cursory glance at the Scheme manual
> suggests not. You might want to try asking on
> comp.lang.scheme.scsh though.
OK. So what about rc or rx or what is this Plan9 thing called?
kai
--
A large number of young women don't trust men with beards. (BFBS Radio)
- Dealing with strange shell prompts, Kai Großjohann, 2002/09/06
- Re: Dealing with strange shell prompts, lawrence mitchell, 2002/09/06
- Re: Dealing with strange shell prompts, lawrence mitchell, 2002/09/06
- Re: Dealing with strange shell prompts,
Kai Großjohann <=
- Re: Dealing with strange shell prompts, Daniel Pittman, 2002/09/06
- Re: Dealing with strange shell prompts, Kai Großjohann, 2002/09/07
- Re: Dealing with strange shell prompts, Daniel Pittman, 2002/09/08
- Re: Dealing with strange shell prompts, Pete Forman, 2002/09/09
- Re: Dealing with strange shell prompts, Kai Großjohann, 2002/09/09
- Re: Dealing with strange shell prompts, Daniel Pittman, 2002/09/09
- Re: Dealing with strange shell prompts, Kai Großjohann, 2002/09/10
- Re: Dealing with strange shell prompts, Clemens Fischer, 2002/09/30
- Re: Dealing with strange shell prompts, Clemens Fischer, 2002/09/30
- Re: Dealing with strange shell prompts, Daniel Pittman, 2002/09/30