From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830 Description of problem: mc-4.5.55-12 from RedHat 8.0 exhibits a problem with the subshell which didn't occur with mc-4.5.51 from RedHat 7.3. The problem is that at every change of directory, the subshell exists with some error, after communicatting a lot with the parent mc for every path component of the new or old (I can't tell) location. This results in a delay of ~1-2 seconds on deeply nested directories - which is annoying, to say the least. The old mc didn't produce any delay (on this scale). Version-Release number of selected component (if applicable): 4.5.55-12 How reproducible: Always Steps to Reproduce: 1. start mc 2. go to, for example, /usr/share/doc/ImageMagick-5.4.7/www/Magick++, which is a path with many entries 3. navigate up/down in the hierarchy, you will see the delay 4. do a strace -fF -s 250 -p <pid> on the mc process, the exit of the child is visible, after a lot of strange communication with the parent process (mc itself). Actual Results: Subshell exists, instead of changing the cwd to the new location. Expected Results: Subshell should just change its cwd. Additional info: My system is RedHat 8.0 + updates, but with kernel from www.kernel.org + xfs, and with devfs. A strace will be posted after this bug entry.
Created attachment 87824 [details] strace output from 'strace -p <pid of mc> -fF -s 250
Try with mc 4.6.0 in rawhide (when it appears on the ftp site, if it hasn't)
I have a similar problem. It seems that the delay disappears when I run mc in non-utf8 environment (like LANG= mc). I also found out that bash-2.05a doesn't have this problem and the latest rawhide bash-2.05b-11 behaves somewhat differently (changing directories is a bit faster but 'LANG= mc' doesn't work anymore). btw, why is bash so slow when pasting big (half a page) portions of text? I think this has something to do with UTF.
I'm lost on whether/when/with-what-versions there is still a problem. Is there a bug here in phoebe 2 or latest rawhide?
I don't think this problem exists any more. Never experienced it on RHL 9 or FC 1. Closing.