• Advertisement

Archived

This topic is now archived and is closed to further replies.

Q:What to do when app eats keyboard input?

This topic is 5299 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve a question: What should one do to recover when an app crashes and is eating keyboard input? (i.e. can''t switch to another term via alt+fkey and ctrl+alt+backspace won''t get out of X, etc.) Currently I''m having to hit reset which to put it mildly stinks Sugestions welcome. (by the by I can''t connect remotly) Thank you, Feral

Share this post


Link to post
Share on other sites
Advertisement
Aye SSH/telnet should work in those cases... but is there any other way? Perhaps some daemon that moniters keypresses? (course ctrl+alt+del doth not do anything either and I''m under the impression that is a daemon lurking for that.)


By the by I am asking in general not how to make my apps work I do have the source for the one in question (sdl example app: testwm.c) but I''ve had this problem with a few apps before (not just things I''ve compiled, though this is the first in FreeBSD land).

Thank ye all

Share this post


Link to post
Share on other sites
Since you mentioned BSD, I''m not sure if this would work, but... In the linux kernel, there''s something about the "sysrq" key, which you want to enable. This allows you to send a few signals to the OS even if otherwise normal keyboard input doesn''t work. I''m not sure exactly too much about it since I haven''t ever actually used it, but you may want to look into it.

The Artist Formerly Known as CmndrM

http://chaos.webhop.org

Share this post


Link to post
Share on other sites

  • Advertisement