Re: Function keys cause psql to segfault

From: CSN <cool_screen_name90001(at)yahoo(dot)com>
To: Klint Gore <kg(at)kgb(dot)une(dot)edu(dot)au>
Cc: pgsql-general(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: Function keys cause psql to segfault
Date: 2005-09-26 03:41:46
Message-ID: 20050926034147.47979.qmail@web52909.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)kgb(dot)une(dot)edu(dot)au> wrote:

> On Sun, 25 Sep 2005 20:00:03 -0700 (PDT), CSN
> <cool_screen_name90001(at)yahoo(dot)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(at)kgb(dot)une(dot)edu(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message surabhi.ahuja 2005-09-26 07:36:51 regarding select into
Previous Message CSN 2005-09-26 03:34:01 Re: Function keys cause psql to segfault