1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-06-04 11:30:43 +00:00

Partial move configuration options out of estruct.h.

This commit is contained in:
Renaud 2013-10-11 14:09:29 +08:00
parent c4becabbc2
commit da813d2efc
8 changed files with 20 additions and 31 deletions

View File

@ -2,6 +2,8 @@
#include "basic.h" #include "basic.h"
#define CVMVAS 1 /* arguments to page forward/back in pages */
/* basic.c /* basic.c
* *
* The routines in this file move the cursor around on the screen. They * The routines in this file move the cursor around on the screen. They

View File

@ -3,12 +3,13 @@
*/ */
#define USG 1 #define USG 1
#define NSTRING 128 /* # of bytes, string buffers */
#define PKCODE 1 #define PKCODE 1
#define SCROLLCODE 1 /* scrolling code P.K. */ #define SCROLLCODE 1 /* scrolling code P.K. */
#define ENVFUNC 1 #define ENVFUNC 1
#define NSTRING 128 /* # of bytes, string buffers */
#define NPAT 128 /* # of bytes, pattern */
#define CONTROL 0x10000000 /* Control flag, or'ed in */ #define CONTROL 0x10000000 /* Control flag, or'ed in */
#define META 0x20000000 /* Meta flag, or'ed in */ #define META 0x20000000 /* Meta flag, or'ed in */
#define CTLX 0x40000000 /* ^X flag, or'ed in */ #define CTLX 0x40000000 /* ^X flag, or'ed in */

View File

@ -2,6 +2,8 @@
#include "display.h" #include "display.h"
#define REVSTA 1 /* Status line appears in reverse video */
/* display.c /* display.c
* *
* The functions in this file handle redisplay. There are two halves, the * The functions in this file handle redisplay. There are two halves, the

View File

@ -18,9 +18,6 @@
#ifdef EGA #ifdef EGA
#undef EGA #undef EGA
#endif #endif
#ifdef CTRLZ
#undef CTRLZ
#endif
/* Machine/OS definitions. */ /* Machine/OS definitions. */
@ -122,15 +119,8 @@
/* Configuration options */ /* Configuration options */
#define CVMVAS 1 /* arguments to page forward/back in pages */
#define CLRMSG 0 /* space clears the message line with no insert */
#define CFENCE 1 /* fench matching in CMODE */ #define CFENCE 1 /* fench matching in CMODE */
#define TYPEAH 1 /* type ahead causes update to be skipped */
#define VISMAC 0 /* update display during keyboard macros */ #define VISMAC 0 /* update display during keyboard macros */
#define CTRLZ 0 /* add a ^Z at end of files under MSDOS only */
#define ADDCR 0 /* ajout d'un CR en fin de chaque ligne (ST520) */
#define NBRACE 1 /* new style brace matching command */
#define REVSTA 1 /* Status line appears in reverse video */
#ifndef AUTOCONF #ifndef AUTOCONF
@ -148,15 +138,6 @@
#endif /* Autoconf. */ #endif /* Autoconf. */
#if 0
#define ISRCH 1 /* Incremental searches like ITS EMACS */
#define WORDPRO 1 /* Advanced word processing features */
#define APROP 1 /* Add code for Apropos command */
#define CRYPT 1 /* file encryption enabled? */
#define MAGIC 1 /* include regular expression matching? */
#define AEDIT 1 /* advanced editing options: en/detabbing */
#define PROC 1 /* named procedures */
#endif
#define CLEAN 0 /* de-alloc memory on exit */ #define CLEAN 0 /* de-alloc memory on exit */
#define ASCII 1 /* always using ASCII char sequences for now */ #define ASCII 1 /* always using ASCII char sequences for now */
@ -221,16 +202,6 @@
#define ENVFUNC 0 #define ENVFUNC 0
#endif #endif
/* Internal constants. */
#define NSTRING 128 /* # of bytes, string buffers */
#define NPAT 128 /* # of bytes, pattern */
#define CONTROL 0x10000000 /* Control flag, or'ed in */
#define META 0x20000000 /* Meta flag, or'ed in */
#define CTLX 0x40000000 /* ^X flag, or'ed in */
#define SPEC 0x80000000 /* special key (function keys) */
/* Internal defined functions */ /* Internal defined functions */
#ifdef abs #ifdef abs

View File

@ -2,6 +2,11 @@
#include "fileio.h" #include "fileio.h"
#ifdef CTRLZ
#undef CTRLZ
#endif
#define CTRLZ 0 /* add a ^Z at end of files under MSDOS only */
/* FILEIO.C /* FILEIO.C
* *
* The routines in this file read and write ASCII files from the disk. All of * The routines in this file read and write ASCII files from the disk. All of

4
main.c
View File

@ -1,3 +1,7 @@
/* main.c -- */
#define CLRMSG 0 /* space clears the message line with no insert */
/* /*
* main.c * main.c

View File

@ -1,6 +1,8 @@
/* random.c -- implements random.h */ /* random.c -- implements random.h */
#include "random.h" #include "random.h"
#define NBRACE 1 /* new style brace matching command */
/* random.c /* random.c
* *
* This file contains the command processing functions for a number of * This file contains the command processing functions for a number of

View File

@ -1,6 +1,8 @@
#ifndef _TERMIO_H_ #ifndef _TERMIO_H_
#define _TERMIO_H_ #define _TERMIO_H_
#define TYPEAH 1 /* type ahead causes update to be skipped */
#define HUGE 1000 /* Huge number (for row/col) */ #define HUGE 1000 /* Huge number (for row/col) */
extern int ttrow ; /* Row location of HW cursor */ extern int ttrow ; /* Row location of HW cursor */