![]() |
![]() |
Section: User Commands (1)
Updated: Last change: Sep 2015
- Send data from Unix domain socket to stdout
irw will connect to any Unix domain socket and print the received data to stdout. Without a socket argument it will watch /opt/local/var/run/lirc/lircd. Useful for debugging. Options:
On receiving SIGUSR1
irwmakes a clean exit.
Dumping the default socket while pressing one button:
myhost $ irw 0000000000f40bf0 00 KEY_POWER ANIMAX 0000000000f40bf0 01 KEY_POWER ANIMAX 0000000000f40bf0 02 KEY_POWER ANIMAX 0000000000f40bf0 03 KEY_POWER ANIMAX 0000000000f40bf0 04 KEY_POWER ANIMAX 0000000000f40bf0 05 KEY_POWER ANIMAX ^C myhost $ Note that the second counter is incremented for each new event generatedby the single key press. This is important for correct lircd operation.
Since the lircd socket supports multiple clients,
irwcan run in parallel with other applications.
irwdoes nothing more than dumps a unix-domain socket, a task which many standard tools also can do. E. g., the
ncat(1) tool can be used instead of irw to provide more flexibility (but without a sane default socket):
ncat -U /opt/local/var/run/lirc/lircd
The documentation for
lircis maintained as html pages. They are located under html/ in the documentation directory.
This document was created by
man2html,
using the manual pages.
Time: 22:02:02 GMT, April 13, 2018