diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-04 21:08:35 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-04 21:08:35 +0800 |
commit | 9e81baf8352b3d525c9a1459f28dae6b540988e3 (patch) | |
tree | a558e73187b9d45b59280a79c927e7f8bb315623 /mbbsd/term.c | |
parent | e42291049072cfee02408394850b33b3580dbd83 (diff) | |
download | pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.gz pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.bz2 pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.lz pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.xz pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.zst pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.zip |
global variable move to var.c
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/term.c')
-rw-r--r-- | mbbsd/term.c | 39 |
1 files changed, 2 insertions, 37 deletions
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 <stdio.h> -#include <stdlib.h> -#include <termios.h> -#include <string.h> -#include <syslog.h> -#include <signal.h> -#include <sys/types.h> -#include <sys/ioctl.h> -#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; |