kitsch bent makes a very good (injection molded, i believe) clone of the whole assembly. the controllers i did a few years ago actually only needed the bowl replaced. with a bit of silicone lubricant dabbed onto the places where plastic grinds together, they feel practically new again.
worlds apart from those awful gamecube style sticks that make playing quite a few games impossible.
the openbsd manuals usually have examples. you can see how compact https://man.openbsd.org/grep.1 is compared to the gnu grep manual.
i've been using https://git.causal.agency/exman/about/ to compare linux and bsd manpages, and it has saved me an incredible amount of time looking things up.
assuming you're talking about z-machines, the only functioning way i've seen to get data out is to use savefiles. there is an editor written in inform that does this. otherwise the interpreter has to be modified, see multizork for example.