Re: [dev] [sic] srw - simple read wrapper

From: Aled Gest <>
Date: Thu, 24 Jun 2010 03:33:19 +0100

Just tested it on my OpenBSD box and it works nicely with sic.

There is one fix that's needed for BSD distros, on BSD forkpty() is
provided in <util.h> rather than <pty.h>, I fixed it with:

#ifdef LINUX
#include <pty.h>
#include <util.h>

It's not the most portable of fixes so it might require extra
conditions for other *nix based OSes.

Other than the above issue it compiled and ran fine on OpenBSD. Great
work, I've been wanting something like this but couldn't be bothered
to write it my self! :P

Al Gest
Received on Thu Jun 24 2010 - 02:33:19 UTC

This archive was generated by hypermail 2.2.0 : Thu Jun 24 2010 - 02:36:02 UTC