irtext2udp(1)
π irtext2udp β the user-commands girlie you didn't know you needed π
okay so bestie, welcome to irtext2udp(1), a certified user-commands baddie. this is the little filter that takes your cute printable pulse/space text and yeets it into the binary glow-up the LIRC udp driver speaks. she's small, she's focused, she ATE. π
β¨ NAME β¨
irtext2udp β converts pulse/space text data into the binary UDP driver format. literally her whole personality. π
πΈ SYNOPSIS πΈ
irtext2udp [-r resolution] [file]
π¦ DESCRIPTION π¦
irtext2udp is a filter, and she is so good at it. she takes pulse/space printable data β the kind of stuff mode2(1) spits out β and converts it into the binary format that the LIRC udp driver is obsessed with.
the file argument is a textfile full of pulse/space data. don't feel like passing one? no worries, standard input gets used instead, she's flexible like that. π
and here's the tea: any lines that don't start with space or pulse get silently ignored. no drama, no error, just quietly skipped. not me being polite about garbage input π
the normal usage pattern (iykyk) is to pair irtext2udp up with standard tools like ncat(1) or socat(1), so you can send that binary data to a lircd instance that's running the udp driver. it's giving pipeline romance. π«Ά
π OPTIONS π
-r,--resolution<resolution>β udp packages are measured in ticks, and the length of each tick is defined by the resolution. the default value is61, computed as1000000/16384, which corresponds to 1/16384 seconds. this number is derived from old designs using a 32 kHz clock. yes she's vintage, no we're not changing her. β-v,--version* β prints the version and dips out. that's it, that's the whole job. π-h,--help* β prints the help message. your girl comes with instructions. π
π₯ EXAMPLES π₯
using ncat(1) or socat(1) to send data to a lircd instance that's using the udp driver, listening on the default udp port 8765 on localhost:
irtext2udp < input-file | nc --udp localhost 8765
irtext2udp < input-file | socat STDIN UDP:localhost:8765
look at that pipeline. she's serving, she's piping, she's slaying. π
π SEE ALSO π
bestie reminder: this page lives in the user commands section, so yes, it's irtext2udp(1) β one, not eight. don't come for me. π
okay and finally, the lil sign-off: this page is text2udp 0.10.2, last changed Oct 2016, and it signs off as irtext2udp(1). iconic, timeless, fr fr. πβ¨πΈ
π¦ where this page comes from
- alpine 3.24: lirc-doc 0.10.2-r4 Β· GPL-2.0-only
- debian trixie: lirc 0.10.2-0.10 Β· GPL-2.0-or-later
- fedora 43: lirc-core 0.10.2-4.fc43 Β· GPL-2.0-only AND LicenseRef-Callaway-BSD
- fedora 43: lirc-core 0.10.2-4.fc43 Β· GPL-2.0-only AND LicenseRef-Callaway-BSD
- fedora 44: lirc-core 0.10.2-5.fc44 Β· GPL-2.0-only AND LicenseRef-Callaway-BSD
- fedora 44: lirc-core 0.10.2-5.fc44 Β· GPL-2.0-only AND LicenseRef-Callaway-BSD
- nixos 26.05: lirc 0.10.2
- nixpkgs unstable: lirc 0.10.2
- opensuse-leap 16.0: lirc-core 0.10.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lirc-core 0.10.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lirc-core 0.10.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lirc-core 0.10.2-160000.2.2 Β· GPL-2.0-or-later
- ubuntu noble: lirc 0.10.2-0.8build1 Β· GPL-2.0-or-later
- ubuntu questing: lirc 0.10.2-0.10build1
- ubuntu resolute: lirc 0.10.2-0.10ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: lirc 0.10.2-0.11 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms