home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************/
- /* */
- /* This function was written by Jim Niederriter for the Lattice `C' Compiler*/
- /* on the IBM Personal Computer or compatible, running DOS 2.0. */
- /* */
- /* It requires that the system be booted with a CONFIG.SYS file on the boot */
- /* disk containing the record: DEVICE=ANSI.SYS */
- /* */
- /* In addition, the ANSI.SYS file from the DOS 2.0 disk should also be on */
- /* the boot disk. */
- /* */
- /* See Chapter 13 of the DOS 2.0 Manual for further explanation. */
- /* */
- /****************************************************************************/
-
- /* csr_pos() */
- /* this function postions the cursor at the line & col specified */
-
- int csr_pos(line, col)
- int line, col;
- {
- cprintf("\x1B[%d;%dH", line, col);
- }