home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / mincom15.zip / config.h < prev    next >
C/C++ Source or Header  |  1993-10-14  |  3KB  |  106 lines

  1. /*
  2.  * This file is part of the Minicom Communications Program,
  3.  * written by Miquel van Smoorenburg 1991/1992/1993.
  4.  *
  5.  * config.h  -  default configuration.
  6.  */
  7.  
  8. /*
  9.  * Definitions below are not hard-coded - you can change them from
  10.  * the setup menu in minicom, or you can start minicom with the
  11.  * "-s" flag.
  12.  * Recommended setting for some systems are commented. Uncomment
  13.  * and adjust them to your system.
  14.  */
  15.  
  16. /* Operating system INdependant parameters. (Usually the same everywhere) */
  17. #define KERMIT "/usr/bin/kermit -l %l -b %b"    /* How to call kermit */
  18. #define UUCPLOCK    "/usr/spool/uucp"    /* Lock file directory */
  19. #define LOGFILE        "minicom.log"        /* Not defined = not used */
  20.  
  21. /* Operating system dependant parameters, per OS. A few samples are given. */
  22. #if defined(linux) || defined(__linux)
  23. #  define DFL_PORT "/dev/cua1"        /* Which tty to use */
  24. #  define DEF_BAUD "19200"        /* Default baud rate */
  25. #  define CALLOUT  ""            /* Gets run to get into dial out mode */
  26. #  define CALLIN   ""            /* Gets run to get into dial in mode */
  27. #endif
  28.  
  29. #ifdef _MINIX
  30. #  define DFL_PORT "/dev/tty1"
  31. #  define DEF_BAUD "2400"
  32. #  define CALLOUT  ""
  33. #  define CALLIN   ""
  34. #endif
  35.  
  36. #if defined (_COHERENT)
  37. #  define DFL_PORT "/dev/com1l"
  38. #  define DEF_BAUD "2400"
  39. #  define CALLOUT  "/etc/disable com1r"
  40. #  define CALLIN   "/etc/enable com1r"
  41. #endif
  42.  
  43. #ifdef _HPUX_SOURCE
  44. #  define DFL_PORT "/dev/cua2p0"
  45. #  define DEF_BAUD "19200"
  46. #  define CALLOUT  ""
  47. #  define CALLIN   ""
  48. #endif
  49.  
  50. /* Some reasonable defaults if not defined */
  51. #ifndef DFL_PORT
  52. #  define DFL_PORT "/dev/tty8"
  53. #  define DEF_BAUD "2400"
  54. #  define CALLIN   ""
  55. #  define CALLOUT  ""
  56. #endif
  57.  
  58. /*
  59.  * The next definitions are permanent ones - you can't edit the
  60.  * configuration from within minicom to change them
  61.  * (unless you use a binary editor, like a real hacker :-)
  62.  */
  63.  
  64. /* Menu Colors (for all possible colors - look in window.h) */
  65. #define MFG    YELLOW    /* ForeGround */
  66. #define MBG    BLUE    /* BackGround */
  67.  
  68. /* Terminal window colors */
  69. #define SFG    BLUE
  70. #define SBG    CYAN
  71.  
  72. /* The next automatically defines "KEY_KLUDGE" for a Minix system;
  73.  * it improves the algorithm for decoding escape sequences but
  74.  * is very Minix specific (read: DIRTY)
  75.  */
  76. #if defined (_MINIX) || defined(linux) /*Experimental */
  77. #  define KEY_KLUDGE 1
  78. #endif
  79.  
  80. /*
  81.  * Only and only define this if you have a slow machine and find
  82.  * the output of minicom unaccepably jerky.
  83.  */
  84. #ifdef _MINIX
  85. #  define SMOOTH /* */
  86. #endif
  87.  
  88. /*
  89.  * Minix and Coherent V3 probably don't have enough memory for a
  90.  * scroll back buffer.
  91.  */
  92. #if defined(_MINIX) || defined(_COH3)
  93. #  define HISTORY 0
  94. #else
  95. #  define HISTORY 1
  96. #endif
  97.  
  98. #if defined (_SYSV) || defined (_BSD43)
  99. #  if !defined(_SVR2)
  100. #    define HAS_FCHOWN
  101. #    ifdef __linux__
  102.        extern int fchown(); /* Not Posix. */
  103. #    endif
  104. #  endif
  105. #endif
  106.