diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-09-17 18:19:34 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-09-17 18:19:34 -0500 |
commit | 543eb0a02719079a5d03e4d5b35cb03336ef2b23 (patch) | |
tree | 3d298f8c2abd39fc780c261d3e78e9d6ee9d012f | |
parent | e6759396090b30b8dc1dc395df852d523b554f9b (diff) | |
download | tde-543eb0a02719079a5d03e4d5b35cb03336ef2b23.tar.gz tde-543eb0a02719079a5d03e4d5b35cb03336ef2b23.zip |
Fix up tsak
-rw-r--r-- | experimental/tsak/main.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/experimental/tsak/main.cpp b/experimental/tsak/main.cpp index 57e228c2e..2b51dbc85 100644 --- a/experimental/tsak/main.cpp +++ b/experimental/tsak/main.cpp @@ -329,9 +329,11 @@ int main (int argc, char *argv[]) } if (hide_event == true) { // Let anyone listening to our interface know that an SAK keypress was received - write(mPipe_fd_out, "SAK\n\r", 6); - write(mPipe_fd_out, "SAK\n\r", 6); - write(mPipe_fd_out, "SAK\n\r", 6); + // I highly doubt there are more than 255 VTs active at once... + int i; + for (i=0;i<255;i++) { + write(mPipe_fd_out, "SAK\n\r", 6); + } } } } |