unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Mauger <mmaug@yahoo.com>
Subject: Re: Prompt display in Panther build
Date: Fri, 31 Oct 2003 10:17:04 -0800 (PST)	[thread overview]
Message-ID: <20031031181704.10157.qmail@web60303.mail.yahoo.com> (raw)

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

             reply	other threads:[~2003-10-31 18:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-31 18:17 Michael Mauger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-01 21:09 Prompt display in Panther build Michael Mauger
2003-10-30 16:17 Matt Tenenbaum
2003-10-31 12:28 ` Benjamin Riefenstahl
2003-10-31 16:46   ` Andrew Choi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031031181704.10157.qmail@web60303.mail.yahoo.com \
    --to=mmaug@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).