From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Choi Newsgroups: gmane.emacs.devel Subject: Re: Prompt display in Panther build Date: Fri, 31 Oct 2003 09:46:18 -0700 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <9BE99562-0AF4-11D8-ABC5-0003939515A2@tty1.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1067619023 23712 80.91.224.253 (31 Oct 2003 16:50:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2003 16:50:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Oct 31 17:50:17 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFcTZ-0000Na-00 for ; Fri, 31 Oct 2003 17:50:17 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFcTY-0001Rt-00 for ; Fri, 31 Oct 2003 17:50:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFcQu-0007LI-Nw for emacs-devel@quimby.gnus.org; Fri, 31 Oct 2003 11:47:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFcQl-0007Hy-CK for emacs-devel@gnu.org; Fri, 31 Oct 2003 11:47:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFcQF-00070D-AG for emacs-devel@gnu.org; Fri, 31 Oct 2003 11:47:22 -0500 Original-Received: from [24.71.223.10] (helo=pd4mo2so.prod.shaw.ca) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFcQE-0006zy-OB for emacs-devel@gnu.org; Fri, 31 Oct 2003 11:46:50 -0500 Original-Received: from pd5mr3so.prod.shaw.ca (pd5mr3so-qfe3.prod.shaw.ca [10.0.141.144]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HNM00884RX7AJ@l-daemon> for emacs-devel@gnu.org; Fri, 31 Oct 2003 09:46:19 -0700 (MST) Original-Received: from pn2ml4so.prod.shaw.ca (pn2ml4so-qfe0.prod.shaw.ca [10.0.121.148]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HNM00HI4RX7QE@l-daemon> for emacs-devel@gnu.org; Fri, 31 Oct 2003 09:46:19 -0700 (MST) Original-Received: from owlbear.local.shawmail ([68.144.207.94]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HNM0030VRX78Y@l-daemon> for emacs-devel@gnu.org; Fri, 31 Oct 2003 09:46:19 -0700 (MST) In-reply-to: Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (darwin) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17634 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17634 Benjamin Riefenstahl writes: >> When I run 'sql-postgres' to start the interactive SQL mode (to >> connect to a local pgsql server) the behavior differs between the >> command line invocation and the Carbon build. In particular, on the >> command line, everything is (or seems) as it is supposed to be; on >> the Carbon build, there is no prompt. If I enter commands (despite >> the lack of prompt) everything behaves normally (it transforms the >> text to boldface and writes the query results, as usual), but I >> still don't get any prompt showing up. > > There are (or at least there used to be) problems with pseudo-ttys > (ptys) on Mac OS X, therefore ptys are disabled for some (all?) > operations. I think the variable process-connection-type controls > this, so you could try to tweak that. I believe the pty problem has been fixed in Panther/Darwin 7.0 (unless someone can tell me otherwise). If behavior differs in terminal and GUI mode, perhaps it is useful to check environment variable settings passed to `psql' that are different in the two cases (value of process-environment). Also you may want to check what arguments are used when psql is called (by stopping at start-process (?)) in both cases.