the subshell's way of chdir'ing
- From: Oskar Liljeblad <oskar osk mine nu>
- To: mc-devel gnome org
- Subject: the subshell's way of chdir'ing
- Date: Fri, 6 Sep 2002 11:03:53 +0200
Check out this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=150996&repeatmerged=yes
Short desc: When the subshell is active and you change dir in the
panels in MC, MC must make the subshell change dir too. This is
done by something like « cd "`echo '\0..\0..'`"» where \0..\0..
is a bunch of octal numbers. The problem is that some shells
require 'echo -e' instead of 'echo'.
Would it not be possible to fix this by doing
cd "`cat some-temp-file-containing-new-working-dir`"
instead? Slower but more portable I think.
Oskar Liljeblad (oskar osk mine nu)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]