I also run OpenBSD and thanks to Rudolf's post I was able to compile the jsource and do some of my own investigating.
UNAME in stdlib.ijs was being set by jeload.c when it checks what OS is defined, it defaults to setting UNAME to Linux. Thus, when stdlib.ijs is loaded, UNAME was already defined (usually, at least in this case), so the checks around stdlib.ijs:29 don't get carried out, OpenBSD's uname(1) is never called. I made some additional changes to the source to compile on OpenBSD without spitting out errors when it boots up. Beyond that I haven't tested much, but I am happy to finally have J on openBSD. the diff for current jsource git is here: https://pastebin.com/raw/BJERtG58 bbill.lam at gmail.com Sat Apr 14 00:07:22 2018 > openbsd is not linux. whenever something in J that are specific for Linux, > eg UNAME or hostdef , you need to be alert. It is better for testing by > adding a new platform OpenBSD to discover more places that need fixing. > That said I'm afraid that will not be supported officially. > > did cmd uname report Linux? or uname unavailable in OpenBSD? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm