From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dskr Newsgroups: gmane.lisp.guile.user Subject: Libguile printer for ports on ttys. Date: Wed, 11 Nov 2009 16:07:48 -0500 Message-ID: <00B60B1E-92DE-40EF-BDBB-1095A8A5E499@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1257973812 7330 80.91.229.12 (11 Nov 2009 21:10:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2009 21:10:12 +0000 (UTC) To: "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Nov 11 22:10:05 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N8KS3-0006bq-Bm for guile-user@m.gmane.org; Wed, 11 Nov 2009 22:10:03 +0100 Original-Received: from localhost ([127.0.0.1]:55048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8KS2-0004i5-QB for guile-user@m.gmane.org; Wed, 11 Nov 2009 16:10:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8KQx-00046b-CE for guile-user@gnu.org; Wed, 11 Nov 2009 16:08:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8KQo-00041R-HA for guile-user@gnu.org; Wed, 11 Nov 2009 16:08:54 -0500 Original-Received: from [199.232.76.173] (port=38662 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8KQo-00041B-C6 for guile-user@gnu.org; Wed, 11 Nov 2009 16:08:46 -0500 Original-Received: from asmtpout015.mac.com ([17.148.16.90]:49207) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8KQo-0004eL-0p for guile-user@gnu.org; Wed, 11 Nov 2009 16:08:46 -0500 Original-Received: from [25.160.29.69] ([208.54.94.62]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KSY006LIQQ99B90@asmtp015.mac.com> for guile-user@gnu.org; Wed, 11 Nov 2009 13:08:37 -0800 (PST) X-Mailer: iPhone Mail (7A341) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7476 Archived-At: The default libguile printer for port objects attempts to print TTY names for fds for which are ttys. This printer fails when ttyname returns null. This is the case, at least, on Mac OS X for master ptys. Although Guile cannot typically make a master pty, it can inherit one. I am trying to finish an extension library that provides full pty support but could use a fix here. Cheers, Dan Ridge