1 /* defs.h:
2  * Copyright (c) 1995,1996 Sascha Demetrio
3  * Copyright (c) 2009, 2015, 2016 Peter Pentchev
4  */
5 
6 /*
7  * General settings:
8  */
9 #define TMP_DIR "/tmp"
10 
11 #ifndef __unused
12 #ifdef __GNUC__
13 #define __unused __attribute__((unused))
14 #define __printflike(x, y) __attribute__((format(printf, x, y)))
15 #else  /* __GNUC__ */
16 #define __unused
17 #define __printflike(x, y)
18 #endif /* __GNUC__ */
19 #endif /* __unused */
20 
21 /*
22  * Buffer: (defaults)
23  */
24 #define BUFFER_BLOCKSIZE 4096
25 #define BUFFER_OPT 0
26 #define BUFFER_MAX_BLOCKS 16 /* NIY */
27 
28 /*
29  * Fifo: (defaults)
30  */
31 #define FIFO_BLOCKSIZE 1547
32 
33 /* I/O settings (for tio.c):
34  */
35 #define STDOUT_BUFFER_SIZE 8192
36 #define TERMINAL_CANT "Terminal can't"
37 
38 /* hexer:
39  */
40 #define HE_ANYCHAR '.'
41 #ifndef HE_DEFAULT_PAGER
42 #define HE_DEFAULT_PAGER "more"
43 #endif
44 #define HEXERINIT_FILE ".hexerrc"
45 #define TIO_READWAIT_TIMEOUT -1
46 
47 /* end of defs.h */
48 
49 
50 /* VIM configuration: (do not delete this line)
51  *
52  * vim:bk:nodg:efm=%f\:%l\:%m:hid:icon:
53  * vim:sw=2:sm:textwidth=79:ul=1024:wrap:
54  */
55