summaryrefslogtreecommitdiff
path: root/apps/system/vi/Kconfig
blob: cc60383e39cdebc31e8aaa9dce78fedfc91bc5c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

config SYSTEM_VI
	bool "Tiny VI work-alike text editor"
	default n
	---help---
		Enable support for NuttX tiny VI work-alike editor.

		Omitted features:
			- No keypad cursor control support
			- No word oriented operations.

		Assumptions and Limitations:
			- A VT100 host terminal is assumed.
			- A fixed width character set (like Courier) is assumed
			- Files are edited in memory so unless you have a lot of memory
			  to spare, this editor will only be useful for very small files.

if SYSTEM_VI

config SYSTEM_VI_COLS
	int "Display width (columns)"
	default 64
	---help---
		The editor does not have the capability to query the display for
		its width or height.  This setting provides the default width of
		the display in columns.  The actually width can be overridden using
		command line options.

config SYSTEM_VI_ROWS
	int "Display height (rows)"
	default 16
	---help---
		The editor does not have the capability to query the display for
		its width or height.  This setting provides the default height of
		the display in rows.  The actually width can be overridden using
		command line options.

config SYSTEM_VI_DEBUGLEVEL
	int "Debug level"
	default 0
	range 0 2
	---help---
		0=Debug off; 1=Print errors on console; 2=Print debug information
		on the console.

		Debug output is generated with syslog.  The editor works on
		/dev/console.  In order to get both a usable display and also
		readable debug output, syslog'ing should sent to some device other
		than /dev/console (which is the default).

endif