Search Postgresql Archives

Re: Function keys cause psql to segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> wrote:

> On Sun, 25 Sep 2005 20:00:03 -0700 (PDT), CSN
> <cool_screen_name90001@xxxxxxxxx> 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@xxxxxxxxxxxxxx           :  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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux