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

From CSN
Subject Re: Function keys cause psql to segfault
Date
Msg-id 20050926034147.47979.qmail@web52909.mail.yahoo.com
Whole thread Raw
In response to Re: Function keys cause psql to segfault  (Klint Gore <kg@kgb.une.edu.au>)
Responses Re: Function keys cause psql to segfault
List pgsql-general
Hmm, in putty (Terminal->Keyboard) I changed "the
function keys and keypad" from "ESC[n~" to "Linux".
Hitting F1-5 in psql outputs "ABCDE" - no segfaults!
Setting it to "Xterm R6" also results in function keys
1-4 causing segfaults (there are also options for
"VT400", "VT100+", and "SCO" - haven't tried those).

Thanks,
CSN

--- Klint Gore <kg@kgb.une.edu.au> wrote:

> On Sun, 25 Sep 2005 20:00:03 -0700 (PDT), CSN
> <cool_screen_name90001@yahoo.com> wrote:
> >
> > I did 'strace psql dbname' and this was the output
> > after hitting F1:
> >
> > read(0, "\33", 1)                       = 1
> > read(0, "O", 1)                         = 1
> > read(0, "P", 1)                         = 1
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > +++ killed by SIGSEGV +++
>
> esc O P is PF1 on a VT100/VT200.  Does it make any
> difference if you
> change the terminal emulation in putty or the term
> setting in redhat?
>
> klint.
>
>
+---------------------------------------+-----------------+
> : Klint Gore                            : "Non
> rhyming    :
> : EMail   : kg@kgb.une.edu.au           :  slang -
> the    :
> : Snail   : A.B.R.I.                    :
> possibilities  :
> : Mail      University of New England   :  are
> useless"   :
> :           Armidale NSW 2351 Australia :     L.J.J.
>      :
> : Fax     : +61 2 6772 5376             :
>      :
>
+---------------------------------------+-----------------+
>




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

pgsql-general by date:

Previous
From: CSN
Date:
Subject: Re: Function keys cause psql to segfault
Next
From: "surabhi.ahuja"
Date:
Subject: regarding select into