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.42 2002/10/29 20:09:33 bill Exp $ + // $Id: Readline.pike,v 1.43 2002/11/26 15:06:46 jhs Exp $   #pike __REAL_VERSION__      class OutputController   {    static private object(Stdio.File) outfd;    static private object(Stdio.Terminfo.Termcap) term;    static private int xpos = 0, columns = 0;    static private mapping oldattrs = 0;      #define BLINK 1
pike.git/lib/modules/Stdio.pmod/Readline.pike:1300:   //! Document this function   void history(int n)   {    if(historyobj) {    string h = historyobj->history(n, text);    delete(0, strlen(text)+strlen(prompt));    insert(h, 0);    }   }    - //! @fixme - //! Document this function + //! Changes the line to a line from the history @[d] steps from the + //! current entry (0 being the current line, negative values older, + //! and positive values newer). + //! @note + //! Only effective if you have a history object.   void delta_history(int d)   {    if(historyobj)    history(historyobj->get_history_num()+d);   }      //! @fixme   //! Document this function   void redisplay(int clear, int|void nobackup)   {