1IRW(1)                           User Commands                          IRW(1)
2
3
4

NAME

6       irw - Send data from Unix domain socket to stdout
7

SYNOPSIS

9       irw [socket]
10

DESCRIPTION

12       irw  will connect to any Unix domain socket and print the received data
13       to stdout. Without a socket argument it will watch /var/run/lirc/lircd.
14       Useful for debugging.
15
16       Options:
17
18       -h --help
19              Display usage summary
20
21       -v --version
22              Display version
23

SIGNALS

25       On receiving SIGUSR1 irw makes a clean exit.
26
27

EXAMPLE

29       Dumping the default socket while pressing one button:
30
31
32           myhost $ irw
33           0000000000f40bf0 00 KEY_POWER ANIMAX
34           0000000000f40bf0 01 KEY_POWER ANIMAX
35           0000000000f40bf0 02 KEY_POWER ANIMAX
36           0000000000f40bf0 03 KEY_POWER ANIMAX
37           0000000000f40bf0 04 KEY_POWER ANIMAX
38           0000000000f40bf0 05 KEY_POWER ANIMAX
39           ^C
40           myhost $
41
42
43       Note that the second counter is incremented for each new event generated
44       by the single key press. This is important for correct lircd operation.
45
46

NOTES

48       Since the lircd socket supports multiple clients, irw can run in paralā€
49       lel with other applications.
50
51       irw does nothing more than dumps a unix-domain  socket,  a  task  which
52       many  standard  tools  also can do. E. g., the ncat(1) tool can be used
53       instead of irw to provide more flexibility (but without a sane  default
54       socket):
55           ncat -U /var/run/lirc/lircd
56
57

SEE ALSO

59       The  documentation  for  lirc  is  maintained  as  html pages. They are
60       located under html/ in the documentation directory.
61
62
63
64irw 0.10.0                   Last change: Sep 2015                      IRW(1)
Impressum