liblx

Warning

This document is still very preliminary. It is likely to be incomplete and/or incorrect and is very likely to change.

What is liblx?

liblx is an API to The X Window System, implementing the client side of the protocol spoken between clients and servers. It sits in the software stack at the same place as Xlib and xcb. (If you want you could think of it as a competitor to them. I prefer to think of them as complementary alternatives rather than competitors; their ideal use cases are different.)

Where does liblx work?

At this writing, 2025-11-13, the only machines I know it works on are my own. Its native home is NetBSD, but I expect it to be an easy-to-trivial port to make it work anywhere libaio and possibly libavl work. (libavl only if the application uses block function orders; see the libaio documentation. liblx itself does not need it.)

So what does liblx-using code look like?

I've written some example programs.

Where can I find more doc?

I have not yet even started writing a full manpage (or manpages). At the moment, documentation consists of comments in lx.h, which you can find in my unpacked-git-repos space here.

How do I get liblx?

My primary distribution mechanism is a world-clonable git repo: git://git.rodents-montreal.org/liblx is the thing to clone.

Mouse, reachable @rodents-montreal.org with the obvious local-part (mouse).

Almost all these pages—all, I think—are 100% hand-coded.