1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
2: /* $Header: erro.h,v 2.2 84/07/11 15:14:16 guido Exp $ */
3:
4: /*
5: * B editor -- User (error) messages collected together.
6: */
7:
8: #ifndef _ERROR
9: #define _ERROR(name, message) extern char name[]
10: #endif
11:
12: _ERROR(COPY_EMPTY, "Empty copy buffer");
13: _ERROR(DEL_REM, "The remains wouldn't fit");
14: _ERROR(EDIT_BAD, "Trouble reading your unit, see last line. Hit break if you don't want this");
15: _ERROR(EDIT_TABS, "Spaces and tabs mixed for indentation; check your program layout");
16: _ERROR(EXIT_HOLES, "There are still holes left. Please fill or delete these first.");
17: _ERROR(GOTO_BAD, "Sorry -- bad reply from terminal for cursor sense");
18: _ERROR(GOTO_NO, "Sorry -- your terminal does not support the control-G command");
19: _ERROR(GOTO_OUT, "The cursor isn't pointing at a part of the buffer");
20: _ERROR(GOTO_REC, "You can't use control-G in recording mode (it wouldn't work in playback)");
21: _ERROR(GOTO_TAH, "Type-ahead lost");
22: _ERROR(GOTO_TO, "Cursor sense time-out");
23: _ERROR(INS_BAD, "Cannot insert '%c'");
24: _ERROR(PLB_NOK, "No keystrokes recorded");
25: _ERROR(REC_OK, "Keystrokes recorded, use control-P to play back");
26: _ERROR(REDO_OLD, "This redo brought you to an older version. Type backspace to undo");
Defined macros
_ERROR
defined in line
9; used 16 times
Usage of this include