Re: What Shell

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 

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

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