I guess there aren't too many people playing battlestar on OpenBSD these
days.

I noticed this when entering a space battle:

 96814 battlestar CALL  ioctl(1,TIOCGETA,0x83c2c197c78)
 96814 battlestar PLDG  ioctl, "tty", errno 1 Operation not permitted

Which seems to be rectified by adding "tty" to line 53 of battlestar.c

        if (pledge("stdio rpath wpath cpath tty", NULL) == -1)

Hope that helps (and/or saves the galaxy),
tom

p.s. apologies for lack of a proper patch

Reply via email to