OS/2 EMX port changes (Modules part of patch #450267):

Modules/
    _hotshot.c
    dbmmodule.c
    fcntlmodule.c
    main.c
    pwdmodule.c
    readline.c
    selectmodule.c
    signalmodule.c
    termios.c
    timemodule.c
    unicodedata.c
This commit is contained in:
Andrew MacIntyre 2002-03-03 02:59:16 +00:00
parent 38b504e9e3
commit 7bf6833e17
11 changed files with 47 additions and 11 deletions

View file

@ -507,6 +507,10 @@ static void
setup_readline(void)
{
rl_readline_name = "python";
#if defined(PYOS_OS2) && defined(PYCC_GCC)
/* Allow $if term= in .inputrc to work */
rl_terminal_name = getenv("TERM");
#endif
/* Force rebind of TAB to insert-tab */
rl_bind_key('\t', rl_insert);
/* Bind both ESC-TAB and ESC-ESC to the completion function */