mrbesen
065352136d
fixed errors
2019-01-19 19:11:34 +01:00
mrbesen
bd76593058
added -q option
2019-01-19 18:54:41 +01:00
mrbesen
1bb82fa267
added -p flag
2019-01-19 18:12:02 +01:00
Hritik Vijay
7a9f19fb6b
Daemonize after certain possible errors ( #177 )
...
* Daemonize after certain possible errors.
* Removed nochdir variable
2018-01-22 12:59:42 +01:00
bdantas
5c368327a2
log uppercase letters when capslock is on ( #174 )
...
* log uppercase letters when capslock is on
* Update logkeys.cc
* Update logkeys.cc
* Update logkeys.cc
2017-10-09 22:32:06 +02:00
Nicolò Balzarotti
66a405baed
Process cli args even without root
2017-10-03 20:31:03 +02:00
Ricardo Sateler
355d1f8327
getopt API uses int as return value
2016-08-22 16:58:17 -03:00
Ricardo Sateler
6f50959ebd
Added flag to run in foreground, no daemon (--no-daemon switch)
2016-08-17 20:11:14 -03:00
Ricardo Sateler
02b32202e6
Added option to print to standard output
2016-08-16 17:00:38 -03:00
Jeff Zohrab
e95dace329
Cleaned up build autotools and docs.
...
- not tracking autotools-generated files; people building
from source should have autotools installed already
- added autogen.sh
- updated build notes
2016-02-10 23:38:21 -05:00
Jeff Zohrab
ad830f68c6
Updated code to refer to GitHub project.
2016-02-10 12:37:29 -05:00
Jeff Zohrab
5560126a74
Recognize other Logitech keyboard.
...
Device name 'Eee PC WMI hotkeys' has EV=100013. Tweaked regex to handle.
2016-02-06 13:57:06 -05:00
Jeff Zohrab
892f04f1d0
Recognize Logitech K7570 keyboard.
...
The usual keyboard event bitmask is 120013, but Logitech and some
other keyboards have 12001F. Using both F and f as grep case-insensitivity
flag may vary across systems.
2016-02-06 13:39:59 -05:00
Jeff Zohrab
3aea01f905
Refactor: move variable to where used.
...
Code is clearer if the definition is placed where needed.
2016-02-06 13:36:15 -05:00
kernc
740eb51aad
updated version string so it reflects SVN
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@94 c501e62c-e7d1-11de-a198-37193048d1ed
2012-01-30 21:42:09 +00:00
kernc
59976aed4e
Fixed issue 45 (only --post-size rewrites old log)
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@93 c501e62c-e7d1-11de-a198-37193048d1ed
2012-01-10 10:31:44 +00:00
kernc
aa0812690d
Hopefully fixes issue http://code.google.com/p/logkeys/issues/detail?id=42 (Couldn't determine keyboard device). We have a new heuristic! :D
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@92 c501e62c-e7d1-11de-a198-37193048d1ed
2012-01-04 19:22:09 +00:00
kernc
ef5f0a18a4
Hopefully fixes issue 60 ( http://code.google.com/p/logkeys/issues/detail?id=60 )
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@91 c501e62c-e7d1-11de-a198-37193048d1ed
2012-01-04 18:42:18 +00:00
kernc
a2eb3e6f11
Device detection now obtains event index by parsing 'Handlers' line.
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@74 c501e62c-e7d1-11de-a198-37193048d1ed
2010-08-19 17:56:21 +00:00
kernc
a9bdd902e4
Replaced all char*s in args struct with std::strings -- safer.
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@73 c501e62c-e7d1-11de-a198-37193048d1ed
2010-08-19 16:44:18 +00:00
kernc
30f17ebe6a
Added 'Microsoft' to the list of keywords for auto device discovery. The approach is shit. :D
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@72 c501e62c-e7d1-11de-a198-37193048d1ed
2010-08-19 15:56:59 +00:00
kernc
f7b08468e6
Fixed some IF conditions regarding --export-keymap switch.
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@71 c501e62c-e7d1-11de-a198-37193048d1ed
2010-08-19 14:51:03 +00:00
kernc
c0435b7e97
there was a serious "condition" error in set_utf8_locale(), which prevented "finding" UTF-8 even when it's there, now fixed
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@68 c501e62c-e7d1-11de-a198-37193048d1ed
2010-07-13 15:53:20 +00:00
kernc
9012b446d7
updated args.cc so there are no 0bXXXX binary constants defined (replaced with hexadecimal 0xXXXX), because they seem to cause errors on older g++
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@67 c501e62c-e7d1-11de-a198-37193048d1ed
2010-07-13 15:34:56 +00:00
kernc
0861ec3838
Implemented HTTP log POSTing and IRC posting, which is undocumented as it doesn't work. This is also a 0.1.1a release.
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@43 c501e62c-e7d1-11de-a198-37193048d1ed
2010-05-31 21:31:50 +00:00
kernc
2ec46c0140
Replaced lkl and lklk scripts with llk and llkk setuid0 programs that run logkeys-start.sh and logkeys-kill.sh.
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@42 c501e62c-e7d1-11de-a198-37193048d1ed
2010-04-22 19:36:22 +00:00
kernc
8359aa3598
Piped commands now use absolute program paths (e.g. /bin/grep instead of just grep) to avoid potential attacks (issue 18)
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@41 c501e62c-e7d1-11de-a198-37193048d1ed
2010-04-22 15:59:58 +00:00
kernc
c0e749c00c
More refactoring and bug fixes. Inspired by Benjamin Jochheim. Thanks much! :)
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@40 c501e62c-e7d1-11de-a198-37193048d1ed
2010-04-22 13:40:26 +00:00
kernc
3748cdb02b
Failed check was missing when opening custom keymap.
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@39 c501e62c-e7d1-11de-a198-37193048d1ed
2010-04-22 02:16:16 +00:00
kernc
3c1f5c2c70
Major code refactoring and various fixes - all as of yet untested\!
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@37 c501e62c-e7d1-11de-a198-37193048d1ed
2010-04-22 02:06:49 +00:00
kernc
82dc8c1a23
pgrep is no longer required (issue 13)
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@36 c501e62c-e7d1-11de-a198-37193048d1ed
2010-04-21 10:50:41 +00:00
kernc
1177d16ea1
Fixed "umask not declared in this scope" (issue 17)
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@35 c501e62c-e7d1-11de-a198-37193048d1ed
2010-04-19 21:20:29 +00:00
kernc
9a635dd045
Part of a series of fixes regarding "symlink attack" vulnerabilities (issue 10)
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@34 c501e62c-e7d1-11de-a198-37193048d1ed
2010-04-19 21:18:16 +00:00
kernc
d51924413d
TMP_PID_FILE changed from /tmp/logkeys.pid.lock to /var/run/logkeys.pid
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@26 c501e62c-e7d1-11de-a198-37193048d1ed
2010-03-21 03:13:38 +00:00
kernc
fad35522a9
Fixed cast that caused infinite loop on x86_64 platforms (issue #1 ).
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@25 c501e62c-e7d1-11de-a198-37193048d1ed
2010-02-25 04:05:10 +00:00
kernc
c54667d376
Added -d switch for custom device selection and documented it in the manual.
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@20 c501e62c-e7d1-11de-a198-37193048d1ed
2010-01-05 16:15:28 +00:00
kernc
f7734c69fc
logkeys is now Ctrl aware and creates LF+timestamp on Ctrl+C and Ctrl+D.
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@10 c501e62c-e7d1-11de-a198-37193048d1ed
2009-12-14 11:52:14 +00:00
kernc
807ee33130
Removed and old comment.
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@3 c501e62c-e7d1-11de-a198-37193048d1ed
2009-12-13 11:45:02 +00:00
kernc
045803af65
Initial v0.1.0 public commit. Everything works. :)
...
git-svn-id: https://logkeys.googlecode.com/svn/trunk@2 c501e62c-e7d1-11de-a198-37193048d1ed
2009-12-13 10:56:57 +00:00