Hi!

Thanks for the strace ! It seems that there's a shell (bash) problem, but I
cannot tell why.
echo -e \'\\057home\' should write /home but you get 057home instead so the
'cd' fails

The relevant strace lines are:
write(4, " cd ", 4)
write(4, "\"`echo -e \'\\057home\'`\"", 22) = 22
write(4, "\n", 1)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, " cd \"`e", 100)                = 7
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "cho", 100)                     = 3
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, " -e", 100)                     = 3
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, " \'0", 100)                    = 3
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "57h", 100)                     = 3
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "om", 100)                      = 2
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "e\'`", 100)                    = 3
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "\"\r\n", 100)                  = 3
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "bash: cd: 057home: No such file "..., 100) = 46

-------------------^^^^^^^^^^^^^^^^^^^^^^

If you have any ideas...

  Ludo.




Ivan Sergio Borgonovo wrote:
> Package: mc
> Version: 1:4.6.1-6
> 
> 
> Ciao,
> 
> I've mc (etch) installed on a Dell XPS M1210 and on a HP DL380 G5.
> The one on the latitude keeps on sending out the above message
> every time I change dirs using the panels or even typing at the
> prompt inside mc (cd blabla).
> The dir get changed but:
> - mc screen get screwed
> - mc "forget" the dir in the panel
> 
> This happens in xterm as well as in console.
> 
> I cannot think of any setup I changed that could have been the cause
> of such problem.
> The main difference between the 2 boxes may be the locale:
> 
> dell notebook:
> [EMAIL PROTECTED]:~$ echo $LANG
> en_US.UTF-8
> 
> hp server:
> wtw:~# echo $LANG
> it_IT.UTF-8
> 
> This happens also when I'm logged as root.
> 
> There is a strace of mc running, I hope it helps.
> 

-- 
Ludovic Drolez.

http://zaurus.palmopensource.com    - The Zaurus Open Source Portal
http://www.drolez.com      - Personal site - Linux and PalmOS stuff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to