home *** CD-ROM | disk | FTP | other *** search
- /*
- * h29.c
- */
-
- /*
- * Save the current cursor position.
- */
- h29_savepos()
- {
- printf("\033j");
- }
-
- /*
- * Restore the initial cursor position.
- */
- h29_restorepos()
- {
- printf("\033k");
- }
-
- /*
- * Tell the terminal to transmit a line.
- */
- h29_transline(line)
- int line;
- {
- /* Locate cursor at start of next line. */
- printf("\033Y%c ", line + 32);
- /*
- * Send "transmit line" code. This will send the whole line, padding to
- * 80 columns with spaces. Due to graphics and special mode codes, which
- * will be sent as well, it could end up being well over 80 characters
- * long.
- */
- printf("\033^");
- }
-