From 9e81baf8352b3d525c9a1459f28dae6b540988e3 Mon Sep 17 00:00:00 2001 From: in2 Date: Tue, 4 Jun 2002 13:08:35 +0000 Subject: global variable move to var.c git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/term.c | 39 ++------------------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) (limited to 'mbbsd/term.c') diff --git a/mbbsd/term.c b/mbbsd/term.c index db3e66d1..4cab3e2c 100644 --- a/mbbsd/term.c +++ b/mbbsd/term.c @@ -1,16 +1,5 @@ -/* $Id: term.c,v 1.2 2002/04/15 20:00:22 in2 Exp $ */ -#include -#include -#include -#include -#include -#include -#include -#include -#include "config.h" -#include "pttstruct.h" -#include "common.h" -#include "proto.h" +/* $Id: term.c,v 1.3 2002/06/04 13:08:34 in2 Exp $ */ +#include "bbs.h" int tgetent(const char *bp, char *name); char *tgetstr(const char *id, char **area); @@ -45,28 +34,6 @@ void init_tty() { #define TERMCOMSIZE (40) -char *clearbuf = "\33[H\33[J"; -int clearbuflen = 6; - -char *cleolbuf = "\33[K"; -int cleolbuflen = 3; - -char *scrollrev = "\33M"; -int scrollrevlen = 2; - -char *strtstandout = "\33[7m"; -int strtstandoutlen = 4; - -char *endstandout = "\33[m"; -int endstandoutlen = 3; - -int t_lines = 24; -int b_lines = 23; -int p_lines = 20; -int t_columns = 80; - -int automargins = 1; - #if 0 static char *outp; static int *outlp; @@ -80,8 +47,6 @@ static int outcf(int ch) { } #endif -extern screenline_t *big_picture; - static void term_resize(int sig) { struct winsize newsize; screenline_t *new_picture; -- cgit v1.2.3