add some definition, but find the damn it memory leak in gnu readline library.