mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
b93ba8e95c
displaying and editing of documents in the Vietnamese 8-bit VISCII (VIetnamese Standard Code for Information Interchange) data format using the 7-bit VIQR (VIetnamese Quoted Readable) input method.
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
--- vi.h.orig Sat Jul 27 11:00:24 1991
|
|
+++ vi.h Thu Dec 5 00:37:44 1996
|
|
@@ -16,6 +16,7 @@
|
|
|
|
#define VERSION "ELVIS 1.4, by Steve Kirkendall"
|
|
#define COPYING "This version of ELVIS is freely redistributable."
|
|
+#define VNVERSION "Adapted for Vietnamese text by Nguye^~n T. Cu+o+`ng"
|
|
|
|
#include <errno.h>
|
|
extern int errno;
|
|
@@ -92,7 +93,9 @@
|
|
#define READONLY 0x0002 /* the file is read-only */
|
|
#define HADNUL 0x0004 /* the file contained NUL characters */
|
|
#define MODIFIED 0x0008 /* the file has been modified */
|
|
-#define NOFILE 0x0010 /* no name is known for the current text */
|
|
+/*#define NOFILE 0x0010 /* no name is known for the current text */
|
|
+/* NOFILE conflicts with 4.4BSD's <sys/param.h> */
|
|
+#define NONAME 0x0010 /* no name is known for the current text */
|
|
#define ADDEDNL 0x0020 /* newlines were added to the file */
|
|
|
|
/* macros used to set/clear/test flags */
|
|
@@ -235,7 +238,13 @@
|
|
#ifndef NO_RECYCLE
|
|
extern long allocate(); /* allocate a free block of the tmp file */
|
|
#endif
|
|
-extern int trapint(); /* trap handler for SIGINT */
|
|
+extern
|
|
+#if BSD && (BSD >= 199306)
|
|
+ void
|
|
+#else
|
|
+ int
|
|
+#endif
|
|
+trapint(); /* trap handler for SIGINT */
|
|
extern void blkdirty(); /* marks a block as being "dirty" */
|
|
extern void blkflush(); /* writes a single dirty block to the disk */
|
|
extern void blksync(); /* forces all "dirty" blocks to disk */
|