summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsemul_vt100var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wscons/wsemul_vt100var.h')
-rw-r--r--sys/dev/wscons/wsemul_vt100var.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/sys/dev/wscons/wsemul_vt100var.h b/sys/dev/wscons/wsemul_vt100var.h
index f72e734761d..3926eb734fc 100644
--- a/sys/dev/wscons/wsemul_vt100var.h
+++ b/sys/dev/wscons/wsemul_vt100var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsemul_vt100var.h,v 1.8 2007/11/27 16:37:27 miod Exp $ */
+/* $OpenBSD: wsemul_vt100var.h,v 1.9 2009/09/05 14:49:20 miod Exp $ */
/* $NetBSD: wsemul_vt100var.h,v 1.5 2000/04/28 21:56:17 mycroft Exp $ */
/*
@@ -31,6 +31,7 @@
struct wsemul_vt100_emuldata {
const struct wsdisplay_emulops *emulops;
+ struct wsemul_abortstate abortstate;
void *emulcookie;
int scrcapabilities;
u_int nrows, ncols, crow, ccol;
@@ -106,10 +107,10 @@ struct wsemul_vt100_emuldata {
} while (0)
#define NCOLS (edp->ncols >> edp->dw)
#define COLS_LEFT (NCOLS - edp->ccol - 1)
-#define COPYCOLS(f, t, n) (*edp->emulops->copycols)(edp->emulcookie, \
- edp->crow, (f) << edp->dw, (t) << edp->dw, (n) << edp->dw)
-#define ERASECOLS(f, n, a) (*edp->emulops->erasecols)(edp->emulcookie, \
- edp->crow, (f) << edp->dw, (n) << edp->dw, a)
+#define COPYCOLS(f, t, n) (edp->emulcookie, edp->crow, (f) << edp->dw, \
+ (t) << edp->dw, (n) << edp->dw)
+#define ERASECOLS(f, n, a) (edp->emulcookie, edp->crow, (f) << edp->dw, \
+ (n) << edp->dw, a)
/*
* response to primary DA request
@@ -128,11 +129,11 @@ struct wsemul_vt100_emuldata {
#define WSEMUL_VT_ID2 "\033[>24;20;0c"
void wsemul_vt100_reset(struct wsemul_vt100_emuldata *);
-void wsemul_vt100_scrollup(struct wsemul_vt100_emuldata *, int);
-void wsemul_vt100_scrolldown(struct wsemul_vt100_emuldata *, int);
-void wsemul_vt100_ed(struct wsemul_vt100_emuldata *, int);
-void wsemul_vt100_el(struct wsemul_vt100_emuldata *, int);
-void wsemul_vt100_handle_csi(struct wsemul_vt100_emuldata *, u_char);
+int wsemul_vt100_scrollup(struct wsemul_vt100_emuldata *, int);
+int wsemul_vt100_scrolldown(struct wsemul_vt100_emuldata *, int);
+int wsemul_vt100_ed(struct wsemul_vt100_emuldata *, int);
+int wsemul_vt100_el(struct wsemul_vt100_emuldata *, int);
+int wsemul_vt100_handle_csi(struct wsemul_vt100_emuldata *, u_char);
void wsemul_vt100_handle_dcs(struct wsemul_vt100_emuldata *);
int wsemul_vt100_translate(void *cookie, keysym_t, const char **);