From: Shin guey Wong Date: 2007-09-26T16:23:49+09:00 Subject: Error on ruby readline Hi, I just compile ruby readline ext for ruby 1.8.6-p110 now. However, when I run irb and include 'ruby/completion' all my special character is not recognize by irb, like 'Home' become '$', arrow '<-' become '%' and so on. Backspace is working fine and other alpha numeric character also work fine. It is still usable, for '<-', I have to type which is not very inconvenience. Anyone has any idea what I have making wrong? Base on the mkmf.log. I don't have the tgetnum() function, anyone know how this impact to readline? I get the readline src from: http://jarp.does.notwork.org/win32/readline-4.3-2-src.zip Here is the ruby extconf output: ============================================ checking for tgetnum() in ncurses.lib... no checking for tgetnum() in termcap.lib... no checking for tgetnum() in curses.lib... no checking for readline/readline.h... yes checking for readline/history.h... yes checking for readline() in readline.lib... yes checking for rl_filename_completion_function in stdio.h,readline/readline.h,readline/history.h... ye s checking for rl_username_completion_function in stdio.h,readline/readline.h,readline/history.h... ye s checking for rl_completion_matches in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_deprep_term_function in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_completion_append_character in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_basic_word_break_characters in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_completer_word_break_characters in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_basic_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_completer_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_filename_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_attempted_completion_over in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_library_version in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_event_hook in stdio.h,readline/readline.h,readline/history.h... yes checking for rl_cleanup_after_signal()... yes checking for rl_clear_signals()... yes checking for rl_vi_editing_mode()... yes checking for rl_emacs_editing_mode()... yes checking for rl_clear_signals()... yes checking for replace_history_entry()... yes checking for remove_history()... yes creating Makefile Here is the compile output: ============================== C:\rubysrc-1.8.6-p110\ext\readline>nmake Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. C:\ruby1.8-p110\bin\ruby -e "puts 'EXPORTS', 'Init_readline'" > readline-i386-mswin32_71.de f cl -nologo -I. -I. -IC:/ruby1.8-p110/lib/ruby/1.8/i386-mswin32_71 -I. -MD -Zi -O2b2xg- -G6 - DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_FILENAME_COMPLETION_FUNCTION -DHAVE_RL _USERNAME_COMPLETION_FUNCTION -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_DEPREP_TERM_FUNCTION -DHAVE_RL_ COMPLETION_APPEND_CHARACTER -DHAVE_RL_BASIC_WORD_BREAK_CHARACTERS -DHAVE_RL_COMPLETER_WORD_BREAK_CHA RACTERS -DHAVE_RL_BASIC_QUOTE_CHARACTERS -DHAVE_RL_COMPLETER_QUOTE_CHARACTERS -DHAVE_RL_FILENAME_QUO TE_CHARACTERS -DHAVE_RL_ATTEMPTED_COMPLETION_OVER -DHAVE_RL_LIBRARY_VERSION -DHAVE_RL_EVENT_HOOK -DH AVE_RL_CLEANUP_AFTER_SIGNAL -DHAVE_RL_CLEAR_SIGNALS -DHAVE_RL_VI_EDITING_MODE -DHAVE_RL_EMACS_EDITIN G_MODE -DHAVE_RL_CLEAR_SIGNALS -DHAVE_REPLACE_HISTORY_ENTRY -DHAVE_REMOVE_HISTORY -c -Tcreadline.c readline.c cl -nologo -LD -Fereadline.so readline.obj msvcr71-ruby18.lib readline.lib oldnames.lib use r32.lib advapi32.lib wsock32.lib -link -incremental:no -debug -opt:ref -opt:icf -dll -libpath:"." - libpath:"C:/ruby1.8-p110/lib" -def:readline-i386-mswin32_71.def -implib:readline-i386-mswin32_71.lib -pdb:readline-i386-mswin32_71.pdb Creating library readline-i386-mswin32_71.lib and object readline-i386-mswin32_71.exp -- Posted via http://www.ruby-forum.com/.