hardcoded /tmp instead of TMPDIR

Pavel Tsekov ptsekov at gmx.net
Wed Sep 11 20:29:41 UTC 2002


On Wed, 11 Sep 2002, Pavel Roskin wrote:

> Hello!
> 
> Again replying to myself :-)
> 
> > Another solution - use some predefined token on stdout.  In other words, 
> > replace pwd with something like:
> > 
> > echo "Attention mc pid 1923: "; pwd; echo " mc pid 1923 done"
> 
> Better yet - output the working directory after the "kill", not before,
> and use stdout.  The first line from the subshell stdout after SIGCONT
> will be the working directory.  The rest will be the prompt.
> 
> This would eliminate all pipes for all subshells.  feed_subshell() would
> have to check for SIGCHLD in the loop, instead of relying on the pipe
> output as the sign that the subshell has completed the command.

Cool! :)

> The prompt will be loaded when it's ready, not when load_prompt() requests 
> it.  That would fix some artifacts too.

Cooler! :)

> Unfortunately, the amount of the requires changes make it unrealistic to
> implement this proposal before 4.6.0.

If help is provided do you think it can be achieved ?





More information about the mc-devel mailing list