Re: Function keys cause psql to segfault
От
CSN
Тема
Re: Function keys cause psql to segfault
Дата
Msg-id
20050926030304.21033.qmail@web52915.mail.yahoo.com
Ответ на
Re: Function keys cause psql to segfault (Bruce Momjian)
Список
Дерево обсуждения
Function keys cause psql to segfault CSN <cool_screen_name90001@yahoo.com>
Re: Function keys cause psql to segfault Bruce Momjian <pgman@candle.pha.pa.us>
Re: Function keys cause psql to segfault Tom Lane <tgl@sss.pgh.pa.us>
Re: Function keys cause psql to segfault Bruce Momjian <pgman@candle.pha.pa.us>
Re: Function keys cause psql to segfault CSN <cool_screen_name90001@yahoo.com>
Re: Function keys cause psql to segfault CSN <cool_screen_name90001@yahoo.com>
Re: Function keys cause psql to segfault Tom Lane <tgl@sss.pgh.pa.us>
Re: Function keys cause psql to segfault CSN <cool_screen_name90001@yahoo.com>
Re: Function keys cause psql to segfault Klint Gore <kg@kgb.une.edu.au>
Re: Function keys cause psql to segfault CSN <cool_screen_name90001@yahoo.com>
Re: Function keys cause psql to segfault Douglas McNaught <doug@mcnaught.org>
Re: Function keys cause psql to segfault Chris Travers <chris@travelamericas.com>
Re: Function keys cause psql to segfault CSN <cool_screen_name90001@yahoo.com>
Hmm, all I could think of was perl and php - hitting F1-4 just caused these chars to be displayed (the interpreters didn't exit): ^[OP^[OQ^[OR^[OS CSN --- Bruce Momjian wrote: > Tom Lane wrote: > > Bruce Momjian writes: > > > 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. > > > > > My guess is that those send a break or some > control sequence. od -c > > > might show you what is being output. > > > > Try watching the psql process with strace in > another terminal window. > > If Bruce's theory is correct (and it sounds good > to me) then you should > > be able to see a signal being delivered to psql. > > Also, try the function keys in another command-line > application and see > if that exits too. > > -- > 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 по дате отправления