Terminal signal handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've started having a couple of odd issues with terminals in the last week or so on my Fedora 19 desktop machine and I think they're probably related.  My laptop, also running Fedora 19, appears to be unaffected.


Sometimes, terminals are unresponsive to ^Z, and I'm unable to suspend a process by using 'kill -TSTP' on that process.  However, 'kill -STOP' works.  Running 'stty -a' shows 'susp = ^Z' as expected.

This affects both xterm and gnome-terminal.  It affects all children of an affected process.  However, sometimes if I start a new terminal from Gnome Shell it will not be affected.

A workaround is to run "exec ksh -c 'exec $SHELL'" from an affected terminal.  It appears that ksh does some initialisation that bash, dash and tcsh do not.


My second problem is that alpine is sometimes unresponsive to changes in terminal size.  I suspect that SIGWINCH is not being handled correctly.


See http://superuser.com/questions/667380/sigint-and-sigtstp-ignored-by-most-common-applications/680020#680020 for an example of someone with similar but slightly different symptoms (he has problems with SIGINT, but my SIGINT works fine).


Using 'pstree -ps $$' and then working my way up the tree with 'grep SigBlk /proc/$pid/status' shows 'SigBlk: 016717d03fdb4a00' for gnome-session but 'SigBlk: 0000000000000000' for its parents.  This makes me suspect that the problem originates in gnome-session.


Any ideas?

--
Peter Oliver
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux