1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-11-23 11:41:15 -05:00

DOS mode added to preserve eol termination.

This commit is contained in:
2013-06-09 11:21:35 +08:00
parent 30b1b06acb
commit a3f3102013
6 changed files with 21 additions and 13 deletions

View File

@@ -11,15 +11,15 @@ int execlevel = 0; /* execution IF level */
int eolexist = TRUE; /* does clear to EOL exist */
int revexist = FALSE; /* does reverse video exist? */
int flickcode = FALSE; /* do flicker supression? */
char *modename[] = { /* name of modes */
const char *modename[] = { /* name of modes */
"WRAP", "CMODE", "SPELL", "EXACT", "VIEW", "OVER",
"MAGIC", "CRYPT", "ASAVE", "UTF-8"
"MAGIC", "CRYPT", "ASAVE", "UTF-8", "DOS"
};
char *mode2name[] = { /* name of modes */
const char *mode2name[] = { /* name of modes */
"Wrap", "Cmode", "Spell", "Exact", "View", "Over",
"Magic", "Crypt", "Asave", "utf-8"
"Magic", "Crypt", "Asave", "utf-8", "Dos"
};
char modecode[] = "WCSEVOMYAU"; /* letters to represent modes */
const char modecode[] = "WCSEVOMYAUD"; /* letters to represent modes */
int gmode = 0; /* global editor mode */
int gflags = GFREAD; /* global control flag */
#if PKCODE & IBMPC