From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#12040: 24.1.50; `term' hangs on FreeBSD 10.0-CURRENT without pty(4) Date: Thu, 16 Aug 2012 02:45:30 -0400 Message-ID: References: <1StGrf-000La0-Jk@internal.tormail.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1345099585 29917 80.91.229.3 (16 Aug 2012 06:46:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Aug 2012 06:46:25 +0000 (UTC) Cc: 12040@debbugs.gnu.org To: Jan Beich Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 16 08:46:24 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T1tqV-0000BZ-Al for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Aug 2012 08:46:19 +0200 Original-Received: from localhost ([::1]:49141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1tqU-00066l-Bs for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Aug 2012 02:46:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1tqS-00066g-2s for bug-gnu-emacs@gnu.org; Thu, 16 Aug 2012 02:46:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1tqR-0005fr-2G for bug-gnu-emacs@gnu.org; Thu, 16 Aug 2012 02:46:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1tqQ-0005fn-Vc for bug-gnu-emacs@gnu.org; Thu, 16 Aug 2012 02:46:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T1tyw-0003C7-04 for bug-gnu-emacs@gnu.org; Thu, 16 Aug 2012 02:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Aug 2012 06:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12040 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12040-submit@debbugs.gnu.org id=B12040.134510006512223 (code B ref 12040); Thu, 16 Aug 2012 06:55:01 +0000 Original-Received: (at 12040) by debbugs.gnu.org; 16 Aug 2012 06:54:25 +0000 Original-Received: from localhost ([127.0.0.1]:60293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1tyI-0003B4-Px for submit@debbugs.gnu.org; Thu, 16 Aug 2012 02:54:24 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:33696) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1tyF-0003At-DC for 12040@debbugs.gnu.org; Thu, 16 Aug 2012 02:54:20 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1T1tpi-0005b4-QA; Thu, 16 Aug 2012 02:45:30 -0400 X-Spook: militia munitions anthrax Qaddafi Vickie Weaver rail gun X-Ran: q@w){U8EeTsy44Imj>AFoq2arQXF(vXkr'QQIJZRB5Og5)E2~LdqAgII>f:E/=Cjeq5X#Q X-Hue: cyan X-Attribution: GM In-Reply-To: <1StGrf-000La0-Jk@internal.tormail.org> (Jan Beich's message of "Mon, 23 Jul 2012 23:31:27 +1200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63219 Jan Beich wrote: > A few ways to solve this: > - use openpty() in -lutil like darwin > - add use posix_openpt() support Thanks for the patches. Do you (or anyone else) have a feeling for which is the best? As written the posix_openpt one changes the behaviour on gnu-linux platforms to use posix_openpt instead of getpt.