From: Ondrej Bilka Date: 2006-08-12T01:01:02+09:00 Subject: Re: [PATCH] readline > ------------ P�vodn� zpr�va ------------ > Od: > P�edm�t: Re: [PATCH] readline > Datum: 08.8.2006 17:06:31 > ---------------------------------------- > Hi, > > At Tue, 8 Aug 2006 23:47:50 +0900, > Yukihiro Matsumoto wrote in [ruby-core:08558]: > > I don't think the names keyseq and getc_proc reflects their role > > properly. Any other suggestion, anyone? > > And more issues: > > * no boundary check for the Array That array is for internal use. Unless you type record separator it doesnt crash. Problem is,that > * unessary externed symbols Yes, I was lazy type rl_get_keymap() > * C99 style > * no check for the new features of libreadline What new features do you mean? Keybindings -looked at rl 4 and there are with copyright 1987-1992. > > -- > Nobu Nakada > It was my QaD solution. I work at better solution. Callback is worst problem. Only solution I know is use gcc to generate dummy functions which call only proc and then link with dl but thats very ugly.. nobu, you forget about worst bug. when exception in block is raised ruby crashes. Too in completion proc. Is there some macro to catch error or must i use sth like rb_eval_string("begin proc.call rescue RuntimeError,ScriptError $! end")?