Elsik Gábor <elsik.ga...@on-line.hu> writes:

> Ha siman inditok egy terminalt X alatt, akkor a ^C es ^Z nem mukodik.
> Egy kis c programmal megneztem, el sem jut a SIGINT a futo programig.
> Pl. egy tailnel kiirogatja ugyan, de semmi.

Mintha a SIGINT és a SIGTSTP szignál nem a default módon kezelődne.
A 'ps s $$' és a 'sleep 1 & ps s $!' parancsok mit mutatnak?

> Az erdekesseg az, hogy ha nyomok egy sudo su-t (mind1, hogy root vagy
> a sajat userem), akkor mukodik.
> Se xterm, se aterm, se gnome-terminalon nem megy. Sima console-on igen.
>
> Ha inditok egy zsh-t, ott jo.

És ha indítasz egy bash --noprofile --norc shellt?

> Tovabba minden, ami shell scripten keresztul indul el, az kilepes utan
> vagy a memoriaban marad (pl. chromium-browser), vagy el sem indul
> (pl. banshee).

strace-t nekik!
-- 
                                                                Feri.
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf.linux.rulez.org/mailman/listinfo/linux

válasz