/* VT52 Escape Sequences Copyright (C) 1989 by Robert Fischer This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. To contact the author, call or write: Robert Fischer 80 Killdeer Road Hamden, CT 06517 (203) 288-9599 */ #ifndef VT52_H #define VT52_H /* VT52 Cconout control codes */ #define ESC (char)27 #define VTCSR_UP 'A' #define VTCSR_DOWN 'B' #define VTCSR_FORWARD 'C' #define VTCSR_BACKWARD 'D' #define VTCLR_SCREEN 'E' #define VTHOME_CURSOR 'H' #define VTREVERSE_INDEX 'I' #define VTERS_EOP 'J' #define VTCLR_EOL 'K' #define VTINSERT_LINE 'L' #define VTDELETE_LINE 'M' #define VTPOSITION_CURSOR 'Y' #define VTSET_FOREGROUN 'b' #define VTSET_BACKROUND 'c' #define VTERS_BOD 'd' #define VTENABLE_CURSOR 'e' #define VTDISABLE_CURSO 'f' #define VTSAVE_CURSOR 'j' #define VTRESTORE_CURSO 'k' #define VTERS_LINE 'l' #define VTERS_BOL 'o' #define VTENTER_REV 'p' #define VTEXIT_REV 'q' #define VTWRAP 'V' #define VTDISCARD 'W' #define VTBELL 7 #endif