Re: [HACKERS] psql and Control-C

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: chris(at)bitmead(dot)com
Cc: PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] psql and Control-C
Date: 2000-02-18 00:11:48
Message-ID: 200002180011.TAA14458@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> > Seems we can just ignore ^C if a query is not being run. Is that OK
> > with everyone. Looks easy to do.
>
> It would be a trap for new users (some old ones too) who may not know
> how to escape. longjmp should be easy too, if it works.

If they don't know ^D exits, they really are going to have trouble with
Unix.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-02-18 00:20:30 Re: [HACKERS] create database doesn't work well in MULTIBYTE mode
Previous Message Chris Bitmead 2000-02-18 00:01:41 Re: [HACKERS] psql and Control-C