pike.git / lib / modules / Stdio.pmod / Readline.pike

version» Context lines:

pike.git/lib/modules/Stdio.pmod/Readline.pike:1: - // $Id: Readline.pike,v 1.22 1999/06/11 21:40:29 marcus Exp $ + // $Id: Readline.pike,v 1.23 1999/06/16 22:53:05 marcus Exp $      class OutputController   {    static private object outfd, term;    static private int xpos = 0, columns = 0;    static private mapping oldattrs = 0;       void disable()    {    catch{
pike.git/lib/modules/Stdio.pmod/Readline.pike:877:    {    object ic = _readline->get_input_controller();    ic->nullbindings();    for(int i=' '; i<'\177'; i++)    ic->bindstr(sprintf("%c", i), self_insert_command);    for(int i='\240'; i<='\377'; i++)    ic->bindstr(sprintf("%c", i), self_insert_command);       if(ic->dumb) {    ic->bind("^J", newline); -  ic->bind("^M", lambda() { }); +     return;    }       foreach(default_bindings, array(string|function) b)    ic->bind(@b);    }       void create(object readline)    {    _readline = readline;