From the NannyMUD documentation

LAST CHANGE

2000-12-28

NAME

        termcap - The termcap library.

FUNCTIONS

OTHER FUNCTIONS

	int tinit();
	int tclear();
	int tgoto(int x, int y);
	int tputs(string str);
	int tflush();
	int tclreol();
	int tioctl(int cmd, mixed val);

DESCRIPTION

	#include 

	The termcap library consists of a number of support functions
	to be used if there is a need for more direct screen control.

	Please note that many MUD clients strip away control characters
	which may render this utility rather useless...
 
	Any object wishing to use these functions must include the 
	 header file, and call "tinit()" (once, at reset
	time) to initialize the system.
 
	tclear() clears the screen

	tgoto() moves the cursor to the specified position. The upper
	left corner is (1,1).

	tputs() sends the string to the terminal directly, unless the
	F_BUFFERED flag has been set using the tioctl(T_SETFL) call.

	tflush() flushes any buffered writes. This can be used to
	make sure that a series of writes (via tputs()) will get
	output in one chunk.

	tclreol() erases to the end of the current line.

	tioctl() is used to set/unset flags that control the
	behaviour of the termcap library. Use "T_SETFL" to set
	the flags (arg is an "int") and "T_GETFL" to read the
	current flag setting. Currently only one flags is specified,
	"F_BUFFERED", which is used to control the behaviour of "tputs()".

	AUTHOR
	Peter Eriksson , Lpd@NannyMUD

	FILES
	/include/termcap.c	- Header file for objects to include.
	/obj/termcap.c		- Controlling object for the drivers.
	/obj/termlib/*.c	- Terminal drivers.