Midnight commander startup langsam unter zsh

From: Manfred Lotz <manfred.lotz(at)web.de>
Date: Sat, 19 Jul 2003 10:14:24 +0200

Manchmal ist der Start von Midnight Commander extrem langsam. Es passiert
bisher nur in der Kombination aterm und zsh und auch nicht immer??!

Wenn ich die Shell change auf z.B. bash und mich neu unter wmaker anmelde ist
es weg, egal welche Shell ich versuche..

mc ist definiert als:
mc='. /usr/local/share/mc/bin/mc-wrapper.sh'

Ich habe mal strace versucht.

strace -c mc ergibt:

% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
 99.85 28.382065 1234003 23 select
...

Alles andere hat normale Zeiten.

Startet mc normal, so sieht es ungefähr so aus:

% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
 97.09 1.322910 55121 24 select
...

Die letzten calls in der Hängephase:
write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 33) = 33
syscall_416(0x2, 0xbfbff7b0, 0) = 0
select(7, [], NULL, NULL, {0, 0}) = 1 ()
read(4, "precmd\10 \10){ pwd>&7;kill -STOP $$"..., 100) = 36
select(7, [5], NULL, NULL, {3503345872, 3503345872}) = 1 (in [4 6])
read(4, "\r\n\33[32;01mKeyChain 2.0.1; \33[34;0"..., 100) = 100
select(7, [0 4 5], NULL, NULL, {3503345872, 3503345872}) = 1 (in [4 6])
read(4, "o Technologies, Inc.; Distribute"..., 100) = 49
select(7, [2 5 6], NULL, NULL, {3503345872, 3503345872}) = 1 (in [4 6])
read(4, " \33[32;01m*\33[0m Found existing ss"..., 100) = 53
select(7, [3 5 6], NULL, NULL, {3503345872, 3503345872}) = 1 (in [4 6])
read(4, "\r\n", 100) = 2
select(7, [0 1 3 4 6], NULL, NULL, {3503345872, 3503345872}) = 1 (in [4 6])
read(4, "\r\33[m\17\33[27m\33[24m\33[J\33[0;34mmanfred"..., 100) = 88
select(7, [0 1 3 4], NULL, NULL, {3503345872, 3503345872}) = 1 (in [4 6])
read(4, "}", 100) = 1
select(7, [0 1 3 4], NULL, NULL, {3503345872, 3503345872}) = 1 (in [4 6])
read(4, "\r\r\n", 100) = 3
select(7, [0 2 3 5 6], NULL, NULL, {3503345872, 3503345872}) = 1 (in [4 6])
read(4, "zsh: correct \'precm\' to \'rec\' [n"..., 100) = 39
select(7, [0 3 4 5 6], NULL, NULL, {3503345872, 3503345872}

Es sieht fast so aus, als ob zsh irgendetwas korrigieren will...??

Manfred

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 19 Jul 2003 - 10:14:33 CEST

search this site