summaryrefslogtreecommitdiffstats
path: root/rules/less.in
blob: 0f801b3cc13ac92563c3b1645e92af6084022c11 (plain)
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
57
58
59
60
61
62
63
64
65
## SECTION=shell_and_console
comment "BusyBox' less is selected!"
	depends on BUSYBOX_LESS

menuconfig LESS
	tristate
	prompt "less                          "
	select GCCLIBS_GCC_S
	depends on !BUSYBOX_LESS || ALLYES
	select NCURSES if LESS_USE_NCURSES
	select TERMCAP if LESS_USE_TERMCAP
	help
	  Less is a pager. A pager is a program
	  that displays text files. More info:
	  http://www.greenwoodsoftware.com/less/


if LESS

config LESS_BIN
	bool
	default y
	prompt "install less pager"
	help
	  less - a pager

config LESS_KEY
	bool
	prompt "install lesskey"
	help
	  lesskey - specify key bindings for less

config LESS_ECHO
	bool
	prompt "install lessecho"
	help
	  lessecho - expand metacharacters

choice
	prompt "terminal library "

config LESS_USE_NCURSES
	bool
	prompt "ncurses "

config LESS_USE_TERMCAP
	bool
	prompt "termcap "

endchoice

if LESS_USE_NCURSES

config LESS_NCURSES
	bool
	default !NCURSES_WIDE_CHAR

config LESS_NCURSESW
	bool
	default NCURSES_WIDE_CHAR

endif

endif