[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Technique for receiving specific keystrokes in GNUStep base
From: |
Michael Hopkins |
Subject: |
Technique for receiving specific keystrokes in GNUStep base |
Date: |
Thu, 15 Feb 2007 15:39:21 +0000 |
User-agent: |
Microsoft-Entourage/11.3.3.061214 |
Hi all
I am looking for some advice on how best to recognise and act on certain key
strokes (e.g. Ctrl-C) whilst running a command line tool that uses GNUStep
base.
Currently our code (on various *nix's & Win32) uses the posix signal()
construct e.g.
#include <signal.h>
signal( SIGINT, function_to_call(...) );
I assume there is a more elegant way to do this in GNUStep base. Is
NSRunLoop involved perhaps?
Thanks & please feel free to CC to my email
Michael
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ _/ _/_/_/ Hopkins Research Ltd
_/ _/ _/ _/
_/_/_/_/ _/_/_/ http://www.hopkins-research.com/
_/ _/ _/ _/
_/ _/ _/ _/ 'touch the future'
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Technique for receiving specific keystrokes in GNUStep base,
Michael Hopkins <=