diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-01-18 08:37:09 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-01-18 08:37:09 +0000 |
commit | 3e97ac4c2b74886909fff64ecfda1d924d59d547 (patch) | |
tree | 17dcfc43acbc30a20ce0e31d69a4c1d75626dcaa /usr.bin/mg/ttydef.h | |
parent | 4abdd7d2f8cea4f749015419d3966ee70325b5ca (diff) |
Remove the NROW and NCOL limits. The static arrays are now replaced with
dynamically allocated memory.
Code written by Vincent Labrecque <limitln@Psyfreaks.CA> with some minor
tweaks by me.
Diffstat (limited to 'usr.bin/mg/ttydef.h')
-rw-r--r-- | usr.bin/mg/ttydef.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/mg/ttydef.h b/usr.bin/mg/ttydef.h index 661032696f8..1b95c7cd1a5 100644 --- a/usr.bin/mg/ttydef.h +++ b/usr.bin/mg/ttydef.h @@ -1,4 +1,7 @@ -/* $OpenBSD: ttydef.h,v 1.4 2001/01/29 01:58:10 niklas Exp $ */ +/* $OpenBSD: ttydef.h,v 1.5 2002/01/18 08:37:08 art Exp $ */ + +#ifndef TTYDEF_H +#define TTYDEF_H /* * Terminfo terminal file, nothing special, just make it big @@ -8,8 +11,6 @@ #define GOSLING /* Compile in fancy display. */ /* #define MEMMAP *//* Not memory mapped video. */ -#define NROW 66 /* (maximum) Rows. */ -#define NCOL 132 /* (maximum) Columns. */ /* #define MOVE_STANDOUT *//* don't move in standout mode */ #define STANDOUT_GLITCH /* possible standout glitch */ #define TERMCAP /* for possible use in ttyio.c */ @@ -24,3 +25,5 @@ #define KFIRST K00 #define KLAST K00 + +#endif /* TTYDEF_H */ |