[gforth] / gforth / termsize.fs  

gforth: gforth/termsize.fs

Diff for /gforth/termsize.fs between version 1.2 and 1.7

version 1.2, Thu Jan 25 16:45:56 1996 UTC version 1.7, Mon Aug 25 14:17:47 2003 UTC
Line 1 
Line 1 
 \ terminal size stuff  \ terminal size stuff
   
 \ Copyright (C) 1996 Free Software Foundation, Inc.  \ Copyright (C) 1996,1997,2000,2003 Free Software Foundation, Inc.
   
 \ This file is part of Gforth.  \ This file is part of Gforth.
   
Line 16 
Line 16 
   
 \ You should have received a copy of the GNU General Public License  \ You should have received a copy of the GNU General Public License
 \ along with this program; if not, write to the Free Software  \ along with this program; if not, write to the Free Software
 \ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  \ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
   
 \ # rows and columns that the terminal has.  \ # rows and columns that the terminal has.
 \ these words are also present in PFE.  \ these words are also present in PFE.
   
   [IFUNDEF] form : form &24 &80 ; [THEN]
   
   [IFUNDEF] rows
 : rows ( -- u )  : rows ( -- u )
     form drop ;      form drop ;
   
 : cols ( -- u )  : cols ( -- u )
     form nip ;      form nip ;
   [THEN]


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help