minix/dist/nvi/common/log.h
Lionel Sambuc 3e1db26a5a Termcap update, replacing elvis by nvi.
Removing elvis, importing nvi, ctags, updating libedit.

Change-Id: I881eb04d2dc64cf112facd992de1114e1a59107f
2013-01-24 07:44:38 +01:00

31 lines
805 B
C

/* $NetBSD: log.h,v 1.1.1.2 2008/05/18 14:29:46 aymeric Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
* Copyright (c) 1992, 1993, 1994, 1995, 1996
* Keith Bostic. All rights reserved.
*
* See the LICENSE file for redistribution information.
*
* Id: log.h,v 10.4 2002/06/08 21:00:33 skimo Exp (Berkeley) Date: 2002/06/08 21:00:33
*/
#define LOG_NOTYPE 0
#define LOG_CURSOR_INIT 2
#define LOG_CURSOR_END 3
#define LOG_LINE_APPEND_B 4
#define LOG_LINE_APPEND_F 5
#define LOG_LINE_DELETE_B 6
#define LOG_LINE_DELETE_F 7
#define LOG_LINE_RESET_B 8
#define LOG_LINE_RESET_F 9
#define LOG_MARK 10
typedef enum { UNDO_FORWARD, UNDO_BACKWARD, UNDO_SETLINE } undo_t;
struct _log_state {
int didop;
MARK pos;
undo_t undo;
};