Re: hardcoded /tmp instead of TMPDIR

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 ?

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