[gforth] / gforth / kernel / accept.fs  

gforth: gforth/kernel/accept.fs

Diff for /gforth/kernel/accept.fs between version 1.16 and 1.20

version 1.16, Sat Dec 31 15:46:13 2005 UTC version 1.20, Sun Jul 1 20:01:32 2007 UTC
Line 1 
Line 1 
 \ Input                                                13feb93py  \ Input                                                13feb93py
   
 \ Copyright (C) 1995,1996,1997,1999,2003,2004,2005 Free Software Foundation, Inc.  \ Copyright (C) 1995,1996,1997,1999,2003,2004,2005,2006 Free Software Foundation, Inc.
   
 \ This file is part of Gforth.  \ This file is part of Gforth.
   
Line 49 
Line 49 
 ' noop IS everyline  ' noop IS everyline
   
 : decode ( max span addr pos1 key -- max span addr pos2 flag )  : decode ( max span addr pos1 key -- max span addr pos2 flag )
       \ perform action corresponding to key; addr max is the buffer,
       \ addr span is the current string in the buffer, and pos1 is the
       \ cursor position in the buffer.
     everychar      everychar
     dup -1 =   IF  drop 4  THEN  \ -1 is EOF      dup -1 =   IF  drop 4  THEN  \ -1 is EOF
     dup #del = IF  drop #bs  THEN  \ del is rubout      dup #del = IF  drop #bs  THEN  \ del is rubout


Generate output suitable for use with a patch program
Legend:
Removed from v.1.16  
changed lines
  Added in v.1.20

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help