[email protected]
[Top] [All Lists]

Re: What Shell

Subject: Re: What Shell
From: Pavel Roskin
Date: Thu, 09 Mar 2006 12:18:23 -0500
On Wed, 2006-03-08 at 23:08 +0000, Reynir Stefansson wrote:
> Pavel Tsekov wrote:
> > MC supports bash, zsh and tcsh.
> What does MC need from a shell for subshell support to work, at least in 
> theory?

The ability to notify mc that it has finished executing a command.

> I recall a case (see MC Digest v7n3 for *that* little episode) 
> where MC wouldn't go subshell with /bin/sh. At that time /bin/sh was a 
> link to /bin/bash. It's of course possible that bash masqueraded as sh 
> when run as /bin/sh. I didn't look into it then. I just wanted to 
> un-fubar the subshell.
> Thought: Does the subshell *have* to be the same as the login shell? Or 
> am I being stupid again? Both? Banner news, that.

No, the subshell can be different, but you would need to "fool" mc
because it tries to use the login shell and it checks shells by name,
not by actual functionality.

Pavel Roskin

Mc mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • What Shell, Reynir Stefansson
    • Re: What Shell, Pavel Roskin <=