-
Notifications
You must be signed in to change notification settings - Fork 3
/
csh_config_template.h
91 lines (62 loc) · 1.85 KB
/
csh_config_template.h
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*
* Copyright (c) 2022, Egahp
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef CSH_CONFIG_H
#define CSH_CONFIG_H
/*!< argument check */
#define CONFIG_CSH_DEBUG 0
/*!< default row */
#define CONFIG_CSH_DFTROW 25
/*!< default column */
#define CONFIG_CSH_DFTCOL 80
/*!< history support <+550byte> */
#define CONFIG_CSH_HISTORY 1
/*!< completion support <+1100byte> */
#define CONFIG_CSH_COMPLETION 1
/*!< max completion item list count (use stack 4 x count byte) */
#define CONFIG_CSH_MAX_COMPLETION 40
/*!< prompt edit support <+1000byte> */
#define CONFIG_CSH_PROMPTEDIT 1
/*!< prompt segment count */
#define CONFIG_CSH_PROMPTSEG 7
/*!< xterm support */
#define CONFIG_CSH_XTERM 0
/*!< newline */
#define CONFIG_CSH_NEWLINE "\r\n"
/*!< tab space count */
#define CONFIG_CSH_SPACE 4
/*!< independent ctrl map */
#define CONFIG_CSH_CTRLMAP 0
/*!< independent alt map */
#define CONFIG_CSH_ALTMAP 0
/*!< refresh prompt */
#define CONFIG_CSH_REFRESH_PROMPT 1
/*!< no waiting for sget */
#define CONFIG_CSH_NOBLOCK 1
/*!< help information */
#define CONFIG_CSH_HELP ""
/*!< path length 0:const path, <=255:variable path */
#define CONFIG_CSH_MAXLEN_PATH 128
/*!< path segment count */
#define CONFIG_CSH_MAXSEG_PATH 16
/*!< user count */
#define CONFIG_CSH_MAX_USER 1
/*!< max argument count */
#define CONFIG_CSH_MAX_ARG 8
/*!< linebuffer static or on stack */
#define CONFIG_CSH_LNBUFF_STATIC 1
/*!< linebuffer size (valid only if lnbuff on stack) */
#define CONFIG_CSH_LNBUFF_SIZE 256
/*!< multi-thread mode */
#define CONFIG_CSH_MULTI_THREAD 0
/*!< independent signal handler (for multi instances) */
#define CONFIG_CSH_SIGNAL_HANDLER 0
/*!< Ctrl+c/d/q/s/z/\ F1-F12 UE <+120byte> */
#define CONFIG_CSH_USER_CALLBACK 1
/*!< enable macro export symbol table */
#define CONFIG_CSH_SYMTAB 1
/*!< print buffer size */
#define CONFIG_CSH_PRINT_BUFFER_SIZE 512
#endif