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.13 1999/04/25 15:48:41 marcus Exp $ + // $Id: Readline.pike,v 1.14 1999/04/26 13:03:01 grubba 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:538:    disable();    catch { oldattrs = infd->tcgetattr(); };    catch { infd->tcsetattr((["ECHO":0,"ICANON":0,"VMIN":1,"VTIME":0,    "VLNEXT":0])); };    }      }      class DefaultEditKeys   { -  static private multiset word_break_chars = mkmultiset("\t \n\r/*?_-.[]~&;\!#$%^(){}<>\""/""); +  static private multiset word_break_chars = mkmultiset("\t \n\r/*?_-.[]~&;\!#$%^(){}<>\"'`"/"");    static object _readline;       void self_insert_command(string str)    {    _readline->insert(str, _readline->getcursorpos());    }       void quoted_insert()    {    _readline->get_input_controller()->grabnextkey(self_insert_command);