Rename ksocket and kcache

pull/1/head
Timothy Pearson 13 years ago
parent ce5b2d26ac
commit 95fc902412

@ -5,5 +5,5 @@ This is an experimental SAK filter that uses evdev and friends to:
In fact, even root applications will be unaware of the SAK press unless they are monitoring In fact, even root applications will be unaware of the SAK press unless they are monitoring
the out-of-band SAK interface. the out-of-band SAK interface.
The interface is very simple. Listen on /tmp/ksocket-global/tsak and you will receive the null-terminated string "SAK\n\r" when the SAK is pressed. The interface is very simple. Listen on /tmp/tdesocket-global/tsak and you will receive the null-terminated string "SAK\n\r" when the SAK is pressed.
Note that the string may be sent multiple times, especially if the SAK is held down. Note that the string may be sent multiple times, especially if the SAK is held down.

@ -36,8 +36,8 @@ License along with tsak. If not, see http://www.gnu.org/licenses/.
#include <termios.h> #include <termios.h>
#include <signal.h> #include <signal.h>
#define FIFO_DIR "/tmp/ksocket-global" #define FIFO_DIR "/tmp/tdesocket-global"
#define FIFO_FILE_OUT "/tmp/ksocket-global/tsak" #define FIFO_FILE_OUT "/tmp/tdesocket-global/tsak"
#define TestBit(bit, array) (array[(bit) / 8] & (1 << ((bit) % 8))) #define TestBit(bit, array) (array[(bit) / 8] & (1 << ((bit) % 8)))

Loading…
Cancel
Save