ircat(1)

ircat1

Print strings when pressing buttons

Usage

ircat [options] <prog>

Overview

This program prints config strings to standard output. It can be used to provide remote control input to scripts and to debug your .lircrc file.

The argument to the program is the program name, as it appears in the prog entries in .lircrc.

-h --help

Display usage summary.

-v --version

Display version.

-c --config=<file>

Set config file.

Examples

If .lircrc contains:

begin
        prog = myprog
        button = KEY_CHANNELUP
        config = next_file
end

then

$ ircat myprog

will print "next_file" (followed by newline) every time the button bound to KEY_CHANNELUP is pressed.

Environment

LIRC_SOCKET_PATH

The lircd(8) output socket used to retrieve data. Defaults to /var/run/lirc/lircd

Releases

12 releases since Debian 3.1 (Sarge); the text changed 7 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7–8
  6. 9
  7. 10–12
  8. 13–Arch

From lirc 1:0.10.2-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.