|
Packit |
15a96c |
/*
|
|
Packit |
15a96c |
* vt100.h Header file for the vt100 emulator.
|
|
Packit |
15a96c |
*
|
|
Packit |
15a96c |
* $Id: vt100.h,v 1.4 2007-10-10 20:18:20 al-guest Exp $
|
|
Packit |
15a96c |
*
|
|
Packit |
15a96c |
* This file is part of the minicom communications package,
|
|
Packit |
15a96c |
* Copyright 1991-1995 Miquel van Smoorenburg.
|
|
Packit |
15a96c |
*
|
|
Packit |
15a96c |
* This program is free software; you can redistribute it and/or
|
|
Packit |
15a96c |
* modify it under the terms of the GNU General Public License
|
|
Packit |
15a96c |
* as published by the Free Software Foundation; either version
|
|
Packit |
15a96c |
* 2 of the License, or (at your option) any later version.
|
|
Packit |
15a96c |
*
|
|
Packit |
15a96c |
* You should have received a copy of the GNU General Public License along
|
|
Packit |
15a96c |
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
Packit |
15a96c |
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
Packit |
15a96c |
*/
|
|
Packit |
15a96c |
#ifndef __MINICOM__SRC__VT100_H__
|
|
Packit |
15a96c |
#define __MINICOM__SRC__VT100_H__
|
|
Packit |
15a96c |
#include <stdio.h>
|
|
Packit |
15a96c |
|
|
Packit |
15a96c |
/* Keypad and cursor key modes. */
|
|
Packit |
15a96c |
#define NORMAL 1
|
|
Packit |
15a96c |
#define APPL 2
|
|
Packit |
15a96c |
|
|
Packit |
15a96c |
/* Don't change - hardcoded in minicom's dial.c */
|
|
Packit |
15a96c |
#define VT100 1
|
|
Packit |
15a96c |
#define ANSI 3
|
|
Packit |
15a96c |
|
|
Packit |
15a96c |
extern int vt_nl_delay; /* Delay after CR key */
|
|
Packit |
15a96c |
extern int vt_ch_delay; /* Delay after each character */
|
|
Packit |
15a96c |
|
|
Packit |
15a96c |
/* Prototypes from vt100.c */
|
|
Packit |
15a96c |
void vt_install(void(*)(const char *, int), void (*)(int, int), WIN *);
|
|
Packit |
15a96c |
void vt_init(int, int, int, int, int, int);
|
|
Packit |
15a96c |
void vt_pinit(WIN *, int, int);
|
|
Packit |
15a96c |
void vt_set(int, int, int, int, int, int, int, int, int);
|
|
Packit |
15a96c |
void vt_out(int);
|
|
Packit |
15a96c |
void vt_send(int ch);
|
|
Packit |
15a96c |
|
|
Packit |
15a96c |
#endif /* ! __MINICOM__SRC__VT100_H__ */
|