devel/rlwrap PTY problems
Frank Laszlo
laszlof at vonostingroup.com
Thu Jul 27 14:22:26 UTC 2006
Phil Pennock wrote:
> Hi,
>
> rlwrap is failing "rlwrap: error: Could not open master pty:
> Input/output error" on FreeBSD 6.1.
>
> Upon investigation, I see that the configure script is hardcoding the
> list of PTYs to scan based upon those found in /dev/ at time of
> compilation. This obviously does not work well with devfs.
>
> Since FreeBSD now has openpty(), the fix is to NOT put
> "ptyttylib_cv_ptys=BSD" into CONFIGURE_ENV. I can confirm that an
> rlwrap() built in this way appears to work for FreeBSD 6.1/amd64 (I can
> "rlwrap tclsh8.4" and get history and the like; no extensive tests have
> been performed).
>
> I don't know which release made devfs the standard, but I suspect that
> you're looking at another ".if ${OSVERSION}" check. :^(
>
> Thanks,
>
Thanks for the bug report Phil, I will try to make some time this
weekend to patch it. Of course I am open to accepting any patches from a
3rd party interested in fixing this in a more reasonable amount of time.
Regards,
Frank
More information about the freebsd-ports
mailing list