Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. /* See LICENSE for licence details. */
  2. /* conf.h: define custom variables */
  3.  
  4. /* color: index number of color_palette[] (see color.h) */
  5. enum {
  6. /*
  7. DEFAULT_FG = 7,
  8. DEFAULT_BG = 0,
  9. ACTIVE_CURSOR_COLOR = 2,
  10. PASSIVE_CURSOR_COLOR = 1,
  11. */
  12. /* solarized */
  13. DEFAULT_FG = 12,
  14. DEFAULT_BG = 8,
  15. ACTIVE_CURSOR_COLOR = 2,
  16. PASSIVE_CURSOR_COLOR = 1,
  17. };
  18.  
  19. /* misc */
  20. enum {
  21. VERBOSE = true, /* write dump of input to stdout, debug message to stderr */
  22. TABSTOP = 8, /* hardware tabstop */
  23. LAZY_DRAW = true, /* don't draw when input data size is larger than BUFSIZE */
  24. BACKGROUND_DRAW = true, /* always draw even if vt is not active */
  25. VT_CONTROL = true,
  26. SUBSTITUTE_HALF = 0xFFFD, /* used for missing glyph(single width): U+FFFD (REPLACEMENT CHARACTER)) */
  27. SUBSTITUTE_WIDE = 0x3013, /* used for missing glyph(double width): U+3013 (GETA MARK) */
  28. REPLACEMENT_CHAR = 0xFFFD, /* used for malformed UTF-8 sequence : U+FFFD (REPLACEMENT CHARACTER) */
  29. };
  30.  
  31. /* TERM value */
  32. const char *term_name = "yaft-256color";
  33.  
  34. /* framubuffer device */
  35. #if defined(__linux__)
  36. const char *fb_path = "/dev/fb0";
  37. #elif defined(__FreeBSD__)
  38. const char *fb_path = "/dev/tty";
  39. #elif defined(__NetBSD__)
  40. const char *fb_path = "/dev/ttyE0";
  41. #elif defined(__OpenBSD__)
  42. const char *fb_path = "/dev/ttyC0";
  43. #elif defined(__ANDROID__)
  44. const char *fb_path = "/dev/graphics/fb0";
  45. #endif
  46.  
  47. /* shell: refer SHELL environment variable at first */
  48. #if defined(__linux__) || defined(__MACH__)
  49. const char *shell_cmd = "/bin/bash";
  50. #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
  51. const char *shell_cmd = "/bin/csh";
  52. #elif defined(__ANDROID__)
  53. const char *shell_cmd = "/system/bin/sh";
  54. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement