home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / cbbs_415.lzh / CBBS / CBBS.lzh / cbbs / tnc.on < prev    next >
Text File  |  1990-11-20  |  4KB  |  103 lines

  1. # For the purposes of the distribution I have modified this file to probably
  2. # work on a generic TNC2. I had it set up for a KAM and have commented out
  3. # KAM-specific commands. On the KAM, it can handle HF and VHF together
  4. # so that is why there are commands like TXD 30/70 ... it means set the HF
  5. # side TXD to 30 and the VHF side to 70 etc.
  6. # As you can see, any line beginning with # is a comment and is totally
  7. # ignored by the program.
  8. # Any line beginning with ! is considered to be a CLI command and is
  9. # executed as such. There must be no space between the ! and the first
  10. # character of the CLI command.
  11. # You will probably find it more efficient to put
  12. # one 'execute' of a command file in here and then all the CLI commands
  13. # in the named file. This is because each ! command here requires a new
  14. # CLI to start up, whereas only one is started for an execute command and
  15. # all its contained commands.
  16. # Lines which begin with neither # or ! are assumed to be TNC commands
  17. # and are sent to the TNC. TNC commands, # and ! can be interspersed
  18. # as you see fit.
  19. # The original IBM version of CBBS uses a separate program to initialize the
  20. # TNC port parameters. You don't need that program here. Everything needed
  21. # to init the port can be specified in this file EXCEPT that if the baudrate
  22. # between TNC-computer is not 9600 then you must specify the baudrate as
  23. # an argument when the program is started. (See the readme file).
  24. # The commands in this file are always sent to the TNC when the mailbox
  25. # program is started up.
  26. # The program forces
  27. # mon off
  28. # conok off
  29. # echo off
  30. # as it starts up but it is perhaps wise to include them here just in case.
  31. # The reason for this is that if you also have a modem and have that
  32. # connected to the serial port when the bbs starts up, the 'mon off' etc.
  33. # may get lost in the modem and when you switch over to the TNC it won't
  34. # have seen those commands. The most important one, as far as getting the
  35. # BBS to start is concerned is 'echo off' because if the TNC has "echo on",
  36. # it will echo all commands back to the BBS and the poor BBS will get totally
  37. # confused. The obvious symptom of this is that the BBS goes into a loop
  38. # sending a 'C' command to the TNC.
  39. #
  40. # Autolf off should  be here but is not essential as it only
  41. # affects the spacing of output during monitoring.
  42. #
  43. # The following execute command has been commented out of here but the
  44. # cmds.cli exists. In order to use it, you must edit the config.mb file
  45. # and find the lines containing the names files/help.mb and files/info.mb
  46. # Modify those two lines so that they say ram:files/help.mb and
  47. # ram:files/info.mb. Then remove the comment # from the beginning of the
  48. # line in this text with the execute command on it. What it does is create
  49. # a ram: directory to contain the help and info files which speeds up some
  50. # user operations when they log in by removing the need for disk I/O when
  51. # they ask for help or info about your system.
  52. #!execute cmds.cli
  53. #
  54. # A more complex example is given by the files cli.on and cli.off. You can
  55. # use those instead (put "!execute cli.on" in this file and
  56. # "!execute cli.off" in tnc.off and modify config.mb accordingly).
  57. # The cli.on file copies more of the BBS
  58. # files into ram: and reduces disk accesses even further but at the cost
  59. # of using up more ram:. If you run a large BBS you will probably find that
  60. # mail.dat will be too large to fit into ram:
  61. # The "cli.off" file copies some of the files (such as mail.dat) back to
  62. # disk. It doesn't need to copy help.mb or info.mb because they don't
  63. # change.
  64. mon off
  65. conok off
  66. echo off
  67. # The old KAM "bbsmsgs on" command has been replaced by a new one in the
  68. # V3.01 KAM.
  69. # NOTE that you need the reset after the command or it won't take effect.
  70. #intface bbs
  71. #reset
  72. #
  73. #
  74. # Set the KAM to one HF and one VHF login.
  75. #user 1/1
  76. #
  77. user 1
  78. canline $18
  79. xon $0
  80. xoff $0
  81. xflow off
  82. txflow off
  83. #txd 70/70
  84. #maxframe 4/4
  85. #mcon off/off
  86. #dwait 0/8
  87. #frack 2/4
  88. #beacon every 0/every 120
  89. b every 120
  90. frack 4
  91. dwait 2
  92. mcon off
  93. txd 70
  94. maxframe 4
  95. start 0
  96. stop 0
  97. unproto mail
  98. #gate on
  99. dayt
  100. #|adisco
  101. disco
  102. autolf off
  103.