Post by @mcc@mastodon.social
A year ago learning systemd would be a "well, it's like any system, it's got upsides and downsides" but now, now that I'm in "move to NetBSD or some other non-AI-generated operating system ASAP" mode, having to learn systemd is grating. Did you know systemctl does not respect the conventional PAGER environment variable? It wants you to use the very special SYSTEMD_LESS variable
@mcc@mastodon.social It's a little more complicated, there's SYSTEMD_PAGER to set the pager, and if less is used (which is the default, or part of it), SYSTEMD_LESS lets you set options for less. Whether the difference matters depends on what you're trying to do.
@airtower i was trying to turn the pager off lol
i guess there's a --no-pager. But now i can't figure out how to get it to still emit color when i'm piping it into a pager manually D:
@mcc@mastodon.social export SYSTEMD_PAGER= does the same. I've been doing that way too much lately because Busybox's less doesn't play nice with serial console.