bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12040: 24.1.50; `term' hangs on FreeBSD 10.0-CURRENT without pty(4)


From: Jan Beich
Subject: bug#12040: 24.1.50; `term' hangs on FreeBSD 10.0-CURRENT without pty(4)
Date: Mon, 23 Jul 2012 23:31:27 +1200

Starting with FreeBSD 8.0-RELEASE the system uses new tty layer that no
longer supports old style pseudo ttys *unless* pty(4) kernel module is
loaded. However, pty(4) device is still included in GENERIC kernel on
all releases except 10.0-CURRENT (removed in r233271).

  $ emacs -Q
  M-x term
  <hangs here>

  $ sudo kldload pty
  [try again]

A few ways to solve this:
- use openpty() in -lutil like darwin
- add use posix_openpt() support

http://svn.freebsd.org/changeset/base/233271
https://pub.allbsd.org/FreeBSD-snapshots/ # for testing, seems to be down atm

Attachment: openpty.diff
Description: Text Data

Attachment: posix_openpt.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]