--- Begin Message ---
Subject: |
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
openpty.diff
Description: Text Data
posix_openpt.diff
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#12040: 24.1.50; `term' hangs on FreeBSD 10.0-CURRENT without pty(4) |
Date: |
Fri, 17 Aug 2012 03:21:49 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 24.3
Thanks, I'm convinced. I installed the posix_openpt change for freebsd
and netbsd to the trunk, currently expected to be released as 24.3. I
left darwin alone for the time being.
--- End Message ---