Building this was.. . Involved, but I finally got it to link! Oh happy days! But then disaster struck!
Not enough parameters? And the worst thing is that I got this error EVERYWHERE… Googling this has become useless as everyone just says google it, so google made all that turn into a negative feedback loop! Or even useful advice like ‘upgrade your client, LOL’, but after going through an hour of `fun` getting this to run on Xenix I wasn’t going to try a new version of the source just yet.
Going through the source, looking for the USER command and where its used and found this:
send_to_server(“USER %s %s %s :%s”, username,
(send_umode && *send_umode) ? send_umode : hostname,
Which looks nice, but according to this as a reference, it doesn’t have enough parameters! So I figured I’d change it to something more like this!
send_to_server(“USER %s 8 * : %s”, username,realname);
And as you can see, it works! Even the version string reports Xenix!
If anyone cares, you can download the binary here.