On Wed, 11 Sep 2002, Pavel Roskin wrote:
I still hope to avoid the pipe completely, since it's not portable to
Cygwin.
Not so easy. It I run tcsh 3log, /proc shows that the open file
descriptors are 15, 16, 17, 18 and 19. The same if I run tcsh. In
other words, tcsh closes the files
Hello!
Do you see any way to use AF_INET sockets at all ? I think it is not
possible - where is the shell going to redirect the output of 'pwd' ?
We can always make a small helper application and put it to the same
directory as cons.saver. By the way, I forgot using a regular file in the
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.
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
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 ?
The coding is not a problem. Remove all pipes and all redirections from
pwd, put pwd after kill, dissolve synchronize() in
Hello!
BTW, it would be nice if mc created temporary files in $TMPDIR/mc-username
instead of $HOME/.mc/tmp (the ones with directory names inside as I
understand). For example, I have in /tmp:
ksocket-nerijus/
mcop-nerijus/
orbit-nerijus/
orbit-root/
Thanks for the suggestion! I have
Hello, Oskar!
MC does not use $TMP. (The reporter must have meant $TMPDIR.)
I did a grep (with MC of course :) for files with /tmp and
found one place in subshell.c. This patch ought to fix it. I tested
it (with tcsh as shell of course) and it works fine.
You forgot some debugging
According to the bug report at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=142179repeatmerged=yes
MC does not use $TMP. (The reporter must have meant $TMPDIR.)
I did a grep (with MC of course :) for files with /tmp and
found one place in subshell.c. This patch ought to fix it. I tested
it
On Thu, 5 Sep 2002 22:16:55 +0200 Oskar Liljeblad [EMAIL PROTECTED] wrote:
MC does not use $TMP. (The reporter must have meant $TMPDIR.)
BTW, it would be nice if mc created temporary files in $TMPDIR/mc-username
instead of $HOME/.mc/tmp (the ones with directory names inside as I
understand).