From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.devel Subject: Re: Prompt display in Panther build Date: Fri, 31 Oct 2003 10:17:04 -0800 (PST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20031031181704.10157.qmail@web60303.mail.yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067624698 4624 80.91.224.253 (31 Oct 2003 18:24:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2003 18:24:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Oct 31 19:24:56 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 1AFdxA-0007QL-00 for ; Fri, 31 Oct 2003 19:24:56 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFdxA-0002Eh-00 for ; Fri, 31 Oct 2003 19:24:56 +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 1AFdwu-0007VC-09 for emacs-devel@quimby.gnus.org; Fri, 31 Oct 2003 13:24:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFdwn-0007UE-Vm for emacs-devel@gnu.org; Fri, 31 Oct 2003 13:24:33 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFdwG-0007Ks-3d for emacs-devel@gnu.org; Fri, 31 Oct 2003 13:24:32 -0500 Original-Received: from [216.109.118.114] (helo=web60303.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.24) id 1AFdpc-0006Ae-9f for emacs-devel@gnu.org; Fri, 31 Oct 2003 13:17:08 -0500 Original-Received: from [12.91.3.173] by web60303.mail.yahoo.com via HTTP; Fri, 31 Oct 2003 10:17:04 PST Original-To: emacs-devel@gnu.org 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:17636 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17636 I'm the maintainer of sql.el -- see my comments below... Matt Tenenbaum wrote -- > 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. > First things to check: What version of postgres? What are the prompt strings? \echo :PROMPT1 \echo :PROMPT2 \echo :PROMPT3 (sql.el is telling comint to expect a prompt of the form "^.*> *") > Initially I thought this might be related to the problems > that seem to exist with subprocess responses on the terminal, > but the problem isn't in the terminal nor does it seem to > be with the _responses_ to commands, so I don't so much > think that anymore. > I've had a similar problem with the command interpreter for SQL Server. Is it possible that psql is detecting that it's not connected to a terminal and thus is skipping the prompt? Do you get the prompt if you start up a shell under Emacs and then enter psql? > Anybody have any ideas, what might be causing this? Could > it be a problem with the sql.el in CVS? It is especially > strange to me that it is different between invocation-types. > Any help is greatly appreciated. > Unfortunately, I don't have a postgres config that I can test. You may want to also try the mailing list sql.el@gnu.org -- I know that there are some postgres users on that list. -- Michael __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com