Re: Function keys cause psql to segfault - Mailing list pgsql-general

From CSN
Subject Re: Function keys cause psql to segfault
Date
Msg-id 20050926021720.72902.qmail@web52908.mail.yahoo.com
Whole thread Raw
In response to Re: Function keys cause psql to segfault  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
Here's what 'od -c' shows for F1-4:

^[OP^[OQ^[OR^[OS


CSN

--- Bruce Momjian <pgman@candle.pha.pa.us> wrote:

> CSN wrote:
> > If I'm in psql (via putty, from WinXP to Redhat)
> and
> > hit F1-4 (F5+ just display a ~), psql will
> > segmentation fault and exit. Not that I'm in the
> habit
> > of entering function keys while in psql - I
> > accidentally hit one while entering numbers (lost
> a
> > fair amount of history).
>
> My guess is that those send a break or some control
> sequence.  od -c
> might show you what is being output.
>
> --
>   Bruce Momjian                        |
> http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610)
> 359-1001
>   +  If your life is a hard drive,     |  13 Roberts
> Road
>   +  Christ can be your backup.        |  Newtown
> Square, Pennsylvania 19073
>




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Function keys cause psql to segfault
Next
From: Tom Lane
Date:
Subject: Re: Function keys cause psql to segfault