freebsd-skq/contrib/nvi/common/options_def.h
peter 5f2a1d6536 Update nvi-1.79 to 2.1.1-4334a8297f
This is the gsoc-2011 project to clean up and backport multibyte support
from other nvi forks in a form we can use.

USE_WIDECHAR is on unless building for the rescue crunchgen. This should
allow editing in the native locale encoding.

USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now.  This
adds the ability to do things like edit a KOI8-R file while having $LANG
set to (say) en_US.UTF-8.  iconv is used to transcode the characters for
display.

Other points:
* It uses gencat and catopen/etc instead of homegrown msg catalog stuff.
* A lot of stuff has been trimmed out, eg: the perl and tcl bindings which
  we could never use in base anyway.
* It uses ncursesw when in widechar mode.  This could be interesting.

GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1
Repo at: https://github.com/lichray/nvi2

Obtained from:  Zhihao Yuan <lichray@gmail.com>
2013-08-11 20:03:12 +00:00

84 lines
1.7 KiB
C

#define O_ALTWERASE 0
#define O_AUTOINDENT 1
#define O_AUTOPRINT 2
#define O_AUTOWRITE 3
#define O_BACKUP 4
#define O_BEAUTIFY 5
#define O_CDPATH 6
#define O_CEDIT 7
#define O_COLUMNS 8
#define O_COMBINED 9
#define O_COMMENT 10
#define O_TMPDIR 11
#define O_EDCOMPATIBLE 12
#define O_ERRORBELLS 13
#define O_ESCAPETIME 14
#define O_EXRC 15
#define O_EXTENDED 16
#define O_FILEC 17
#define O_FILEENCODING 18
#define O_FLASH 19
#define O_HARDTABS 20
#define O_ICLOWER 21
#define O_IGNORECASE 22
#define O_INPUTENCODING 23
#define O_KEYTIME 24
#define O_LEFTRIGHT 25
#define O_LINES 26
#define O_LISP 27
#define O_LIST 28
#define O_LOCKFILES 29
#define O_MAGIC 30
#define O_MATCHCHARS 31
#define O_MATCHTIME 32
#define O_MESG 33
#define O_MODELINE 34
#define O_MSGCAT 35
#define O_NOPRINT 36
#define O_NUMBER 37
#define O_OCTAL 38
#define O_OPEN 39
#define O_OPTIMIZE 40
#define O_PARAGRAPHS 41
#define O_PATH 42
#define O_PRINT 43
#define O_PROMPT 44
#define O_READONLY 45
#define O_RECDIR 46
#define O_REDRAW 47
#define O_REMAP 48
#define O_REPORT 49
#define O_RULER 50
#define O_SCROLL 51
#define O_SEARCHINCR 52
#define O_SECTIONS 53
#define O_SECURE 54
#define O_SHELL 55
#define O_SHELLMETA 56
#define O_SHIFTWIDTH 57
#define O_SHOWMATCH 58
#define O_SHOWMODE 59
#define O_SIDESCROLL 60
#define O_SLOWOPEN 61
#define O_SOURCEANY 62
#define O_TABSTOP 63
#define O_TAGLENGTH 64
#define O_TAGS 65
#define O_TERM 66
#define O_TERSE 67
#define O_TILDEOP 68
#define O_TIMEOUT 69
#define O_TTYWERASE 70
#define O_VERBOSE 71
#define O_W1200 72
#define O_W300 73
#define O_W9600 74
#define O_WARN 75
#define O_WINDOW 76
#define O_WINDOWNAME 77
#define O_WRAPLEN 78
#define O_WRAPMARGIN 79
#define O_WRAPSCAN 80
#define O_WRITEANY 81
#define O_OPTIONCOUNT 82