-
Notifications
You must be signed in to change notification settings - Fork 12
/
conf.h
32 lines (29 loc) · 1.28 KB
/
conf.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
/* See LICENSE for licence details. */
/* color: index number of color_palette[] (see color.h) */
enum {
DEFAULT_FG = 7,
DEFAULT_BG = 0,
ACTIVE_CURSOR_COLOR = 2,
PASSIVE_CURSOR_COLOR = 1,
};
/* misc */
enum {
DEBUG = false, /* write dump of input to stdout, debug message to stderr */
TABSTOP = 8, /* hardware tabstop */
//LAZY_DRAW = false, /* don't draw when input data size is larger than BUFSIZE */
//BACKGROUND_DRAW = true, /* always draw even if vt is not active */
//WALLPAPER = true, /* copy framebuffer before startup, and use it as wallpaper */
SUBSTITUTE_HALF = 0xFFFD, /* used for missing glyph(single width): U+FFFD (REPLACEMENT CHARACTER)) */
SUBSTITUTE_WIDE = 0x3013, /* used for missing glyph(double width): U+3013 (GETA MARK) */
REPLACEMENT_CHAR = 0xFFFD, /* used for malformed UTF-8 sequence : U+FFFD (REPLACEMENT CHARACTER) */
};
/* TERM value */
const char *term_name = "yaft-256color";
/* shell */
#if defined(__linux__) || defined(__MACH__)
const char *shell_cmd = "/bin/bash";
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
const char *shell_cmd = "/bin/csh";
#elif defined(__ANDROID__)
const char *shell_cmd = "/system/bin/sh"; /* for Android: not tested */
#endif