/[LeafOK_CVS]/lbbs/src/io.c
ViewVC logotype

Diff of /lbbs/src/io.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 by sysadm, Tue Nov 30 07:10:32 2004 UTC Revision 1.4 by sysadm, Wed Mar 2 16:33:49 2005 UTC
# Line 67  igetch () Line 67  igetch ()
67      pos = 0;      pos = 0;
68    
69      //For debug      //For debug
70      //for (j = 0; j < len; j++)      for (j = 0; j < len; j++)
71      //  log_std ("<--[%u]\n", (buf[j] + 256) % 256);        log_std ("<--[%u]\n", (buf[j] + 256) % 256);
72    }    }
73    
74    while (pos < len)    while (pos < len)
# Line 158  igetch () Line 158  igetch ()
158                  case 49:                  case 49:
159                    out = KEY_HOME;                    out = KEY_HOME;
160                    break;                    break;
161                    case 51:
162                      out = KEY_DEL;
163                      break;
164                  case 52:                  case 52:
165                    out = KEY_END;                    out = KEY_END;
166                    break;                    break;
# Line 178  igetch () Line 181  igetch ()
181      }      }
182    
183    //for debug    //for debug
184    //log_std ("-->[%u]\n", out);    log_std ("-->[%u]\n", out);
185    
186    return out;    return out;
187  }  }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1