home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / hamradio / jnos108b.zip / README.NOW < prev   
Text File  |  1993-02-24  |  91KB  |  2,114 lines

  1. ***IF YOU USE NETROM WITH MY CODE, PLEASE READ THIS !!!***
  2.  
  3. This is a  *brief* description of the mods i've made
  4. in JNOS v1.08 (and earlier)
  5. Base code was 911229 (KA9Q) PA0GRI v1.8a
  6.  
  7. The OBJECTIVE of this code is the improve the use and features of NOS.
  8. A lot of the work is done through cooperative discussion and testing
  9. among the subscribers of the Internet maillist 'nos-bbs@hydra.carleton.ca'
  10. (to subscribe, send mail to 'nos-bbs-request@hydra.carleton.ca')
  11. A lot of new stuff comes from code fragments or suggestions contributed by
  12. people on that maillist, most of wich are avid users of the code.
  13. This code is a continuously developing piece of work, and as such, it should
  14. be seen as a BETA software, no matter whether it is indicated as such or not.
  15. You should not expect this to be a 'plug and play' solution to tcp/ip over
  16. packet radio. If you experience problems, feel free to contribute
  17. 'constructive' critisism to the author or the discussion group.
  18.  
  19. FREQUENTLY ASKED QUESTIONS
  20. My docs, docsxxx.zip, where xxx is the latest version of the docs, now
  21. contains the tcp-group FAQ file. Please refer to this file to try and find
  22. answers to your questions...
  23.  
  24. COMPILER:
  25. In the makefile, you have the option of compiling with TC2.0, BC++2.0 or
  26. BC++3.0/1 . You can also choose to compile for 8086, or 80186 cpu.
  27.  
  28. If you choose the TC2.0 compiler, be aware that there is one function
  29. that doesn't exist in the TC2.0 library. This is the mktime() call.
  30. There is a substitute in expire.c, but it is NOT 100% accurate. Ie. times
  31. converted and used by the expire code will be off by a few hours...
  32. You also have to tone down the config.h file, since you are likely to run out
  33. of DGROUP space. TC2.0 doesn't allow for other segments to be used (the -Ff=x
  34. option in BC++2.0 and above).
  35.  
  36. I use Borland C++ 2.0 for all executables i distribute.
  37. From 1.06 on, it compiles fine with BC++3.1, after you change optimize
  38. options in the makefile
  39.  
  40. Please also refer to the FAQ, mentioned above, for more info on compiling
  41. the code.
  42.  
  43. CONFIG.H:
  44. There are several different configurations in the source archive.
  45. distconf.h - used to create the distribution executable (8086 code)
  46. bbsconf.h  - as i run it on my bbs system. (WG7J.OR.USA.NA)
  47. gwconfig.h - as i run it on my Internet gateway system (wg7j.ece.orst.edu)
  48. no_ax25.h  - test compile without ax.25 and net/rom code
  49. users.h    - end-user, with serial port and scc drivers, but no bbs options
  50. switch.h   - switch configuration, no mailbox interface.
  51.  
  52. NOTE:
  53. PA0GRI included most of my mods from v0.94 and earlier in his v1.9c and later
  54. I have added additional mods from PA0GRI's v1.9c/d and v2.0a-f
  55.  
  56. DOCUMENTATION:
  57. All PA0GRI specific commands can be found is his nos_1229.man .
  58. As of v1.00 I have written a hopefully more comprehensive document
  59. describing how to use the mods. Some of that is aimed at running
  60. this code as a fullservice BBS, as i do at wg7j.or.usa.na
  61. This can all be found in wg7jmods.txt in the archive wg7jdoc.zip
  62. (last updated for 1.05 ! See this file for 1.06...)
  63.  
  64. SOURCES:
  65. If you obtained sources, feel free to do with them as you please,
  66. as long as you keep and obide the copyrights in the different source modules!
  67. If you add substantial stuff to the code, please modify the version string
  68. in version.c to reflect this. (So i won't have to answer tons of questions
  69. about stuff i didn't write)
  70.  
  71. Latest sources can be obtained on Internet by anonymous ftp from
  72. wg7j.ece.orst.edu in ./1.02 ./1.03 etc.
  73. ucsd.edu in hamradio/packet/tcpip/wg7j
  74. tomcat.gsfc.nasa.gov in tcp/nos/wg7j
  75.  
  76. They can also be found on several phone bbs systems, shortly after
  77. the release date.  Here are some to try (all in the U.S.A.):
  78.  
  79.         N8EMR's Ham BBS (614) 895-2553
  80.         ChowdaNet       (401) 331-0334
  81.  
  82. You can also send a HD 3.5" (ie 1.44Mb)  floppy disk
  83. with return postage to the address below.
  84. (This is SOURCES ONLY, I do NOT do 'custom compiles'!)
  85.  
  86. If you add/modify anything that might be useful to others, I would
  87. appreciate the mods, to possibly add to the code.
  88.  
  89.     As always,
  90.     questions, remarks, suggestions
  91.         are welcome.
  92.  
  93.         Johan Reinalda, WG7J/PA3DIS
  94.         420 NW 9th
  95.         Corvallis, OR 97330
  96.         U.S.A.
  97.  
  98.         email: johan@ece.orst.edu (or wg7j@wg7j.ampr.org.)
  99.         (or the sloooower WG7J@WG7J.OR.USA.NA via packet)
  100.  
  101. "Definitive is the source, not this note :-)"
  102.  
  103. HINT HINT HINT HINT :
  104. if you are experiencing problems receiving with certain tnc's with this
  105. code, set the dtr and rts parameters correctly
  106. 'param <iface> dtr 1' and 'param <iface> rts 1'
  107. (this is due to a rewrite of the original 8250 drivers
  108.  in KA9Q 911218 and later)
  109.  
  110. ERRORS IN NOS:
  111. Here is the long awaited list of error numbers used in nos!
  112. The number listed are directly from the sources (socket.h),
  113. and when appropriate, are followed by a little description I've
  114. shaken out of my pen :-)
  115.  
  116. #define EMFILE          1
  117. #define EBADF           2
  118. #define EINVAL          3
  119. #define ESOCKTNOSUPPORT 4       Socket type not supported
  120. #define EAFNOSUPPORT    5       Address family not supported
  121. #define EOPNOTSUPP      6       Option not supported
  122. #define    EFAULT        7
  123. #define ENOTCONN        8       No connection established
  124. #define ECONNREFUSED    9       Already connected, or refused
  125. #define EAFNOSUPP    10
  126. #define    EISCONN        11
  127. #define EWOULDBLOCK     12      Socket would have blocked
  128. #define    EINTR        13
  129. #define EADDRINUSE      14      Address already in use
  130. #define ENOMEM          15      Not enough system memory to do task
  131. #define EMSGSIZE    16
  132. #define    EALARM        17
  133. #define EABORT          18      Action aborted
  134.  
  135.  
  136. Additions/changes are:
  137.  
  138. 1.08b (930224)
  139. -smtp server bid problem fixed.
  140.  
  141. -finger server fixed
  142.  
  143.  
  144. 1.08 (930222)
  145.  
  146. - all commands that effect interface flags have new syntax.
  147.   They now need ON or OFF to set the state of the flag.
  148.   If no interface is given, all interfaces with the flag set will be shown.
  149.   If interface is given, but no on|off, then the state of the flag will
  150.   be shown.
  151.  
  152.   Eg:
  153.   ax25 bcport
  154.         will show ALL active ax.25 beacon interfaces
  155.   mbox hideport 2m
  156.         will show the state of the interface '2m'
  157.   convers interface 2m on
  158.         will turn on convers call access on interface '2m'
  159.   ax25 digipeat 2m off
  160.         will turn off digipeating on interface '2m'
  161.  
  162.   The command affected are:
  163.  
  164.   mbox ax25only [iface] [on|off]
  165.   mbox useronly [iface] [on|off]
  166.   mbox sysoponly [iface] [on|off]
  167.   mbox bbsonly [iface] [on|off]
  168.   mbox mport [iface] [on|off]
  169.   mbox hport [iface] [on|off]
  170.   convers interface [iface] [on|off]
  171.   ax25 digipeat [iface] [on|off]
  172.   ax25 bcport [iface] [on|off]
  173.   ax25 hport [iface] [on|off]
  174.   ip hport [iface] [on|off]
  175.   arp poll [iface] [on|off]
  176.   arp keep [iface] [on|off]
  177.  
  178.   NOTE that ax.25 ports now default to ON for:
  179.   beacon, mail-id, digipeat, ax-heard and ip-heard !!!
  180.  
  181. - the BID checking in the SMTP server (from 1.05) now works !
  182.   if a 'Message-Id: ' line is received with a valid BID format
  183.   (ie. 'BID#@Bbscall.bbs' format), then the BID will be cross checked
  184.   with the ax.25 bid file ('history' file). If a duplicate, response will be
  185.   "452 Duplicate BID in Message-Id line\n";
  186.  
  187. - 'repeat [interval in ms] command (from new ka9q, ported by wa3dsp)
  188.   Starts a new session screen with the output of the command updated
  189.   every interval ms. If you hit F10 it ends the session.
  190.   Eg: repeat 1000 t s
  191.   (repeat every second 'tcp status' command)
  192.  
  193. - buckbook support driver updated; again, this is NOT tested !.
  194.  
  195. - for all AX.25 ports, you can now indicate what kind (if any) of mailbox
  196.   connections are allowed.
  197.  
  198.   mbox noax25 [<iface>] [on|off]
  199.         shows or setss the 'no ax25 maibox connections.
  200.         This prohibits mailbox connects, but still allows IP in VC mode.
  201.  
  202.   mbox bbsonly [<iface>] [on|off]
  203.         shows or toggles 'bbs only' per port. The IS_BBS bit
  204.         in /ftpusers has to be set in order to be able to login to the bbs
  205.  
  206.   mbox usersonly [<iface>] [on|off]
  207.         shows or toggles the 'users only' flag. Any call with the IS_BBS
  208.         flag NOT set can login to the bbs via this port
  209.  
  210.   mbox sysoponly [<iface>] [on|off]
  211.         shows or toggles the 'sysop only' flag. Any
  212.         call with sysop permissions can login to the bbs via this port.
  213.  
  214.   NOTE: this does NOT work for NET/ROM and TCP connections, since for those
  215.   protocols there is no real concept of incoming port...
  216.  
  217. - TIP MAILBOX improvements from Doug Crompton, WA3DSP
  218.   CD is now detected and influences the login, and XMODEM transfers can
  219.   be done with TIP logins. Here is what Doug writes about it:
  220.  
  221. NEW commands  -
  222.  
  223. 'start tip <interface> <terminal|modem> [timeout seconds]'
  224. BBS added commands - 'dx <filename>' , 'ux <filename>'
  225. Deleted command - 'mbox tiptimeout'
  226.  
  227. Tip code has been extensively modified. It now works with a terminal
  228. (3 wire connect) or modem (CD)  Two tiers of timers, the first being
  229. set on the 'start tip' command line and the second "grace" timer fixed
  230. at 1 minute. CD loss is unconditionally detected. 
  231.  
  232. Tip timeout timers should not effect xmodem as long as they are not set
  233. shorter than xmodem timeout - 120 seconds. Tip default is 180 seconds.
  234. The 'mbox tiptimeout' command has been taken out - setting is in the
  235. start tip command line.
  236.  
  237. Phone connects, and xmodem successful up/downloads are logged if logging
  238. is turned on. xmodem BBS commands are only available with tip connects.
  239. Only 128 byte xmodem packets are allowed at this time. This is the standard
  240. original xmodem format that is supported on most all comm programs.
  241.  
  242. Note that most internal modems do not use a 16550. Therefore on heavily
  243. loaded NOS systems it might be desireable to use an external modem with
  244. a 16550 serial port. I have not run my system above 2400 baud using an
  245. internal modem. Based on what I see on my system I would expect that
  246. a 16550 interface would be a requirement for higher baud rates - I.E 9600.
  247.  
  248.  
  249. - 'convers maxq' command sets or shows the maximum transmit data outstanding
  250.   on convers links (permlink or other) before a hostlink is rudely reset.
  251.   Default is 5kb (ie 5120 bytes)
  252.  
  253. - Bulletins with NO BID can be refused if 'mbox nobid off'
  254.   off means refuse them, on means accept. Default is OFF, ie refuse !
  255.  
  256. - NOTE: the 'mbox haddress' now NEEDS THE CALLSIGN !!!
  257.   eg:  mbox haddress WG7J.OR.USA.NA   !!
  258.   The First part (ie WG7J) will be used to assign BID/MID's from our
  259.   system, eg 1234_WG7J
  260.  
  261. - device files etc. can not be opened anymore; ie no more finger crashes
  262.   to 'CON' 'AUX' etc...
  263.  
  264. - bug in 'route lookup' fixed
  265.  
  266. - Mbox forwarding now marks ALL messages that received the 'NO'
  267.   reply as forwarded.
  268.  
  269. - Mbox forwarding now sends all mail in areas starting with 'nts'
  270.   as traffic, ie. with 'ST'.
  271.  
  272. - a finger to 'links' will shows all convers links at the system.
  273.  
  274. - fixed 'ftp mput' command.
  275.  
  276. - 'convers maxwait' sets the maximum time to wait before trying to
  277.   re-establish a link, after convers links have timed out.
  278.  
  279. - you can now undefine the mail commands (S,R,K,V etc) from the mailbox
  280.   interface, do '#undef MAILCMDS' in config.h
  281.  
  282. - if the first chararcter of a function key definition is the '~' char,
  283.   the following characters will be sent to the command session, and
  284.   NOT the current session. Command sessions becomes the active one.
  285.   Eg. fkey 63 "~ps\n"  allows you to do a ps from any session (output
  286.   will go to command session, wich is made active immediately)
  287.  
  288. - small problem with non ampr.org. domain names in domain.c (resolve_a())
  289.   fixed.
  290.  
  291. - there is no limit of 10 mbox/convers-call users anymore; now only limited
  292.   by memory resources...
  293.  
  294. - mailbox gateway escape char defaults to ctrl-T, to accomodate tnc's (wich
  295.   use the formerly used ctrl-X for line editing)
  296.  
  297. - mailbox disconnect when sending a message and it cannot create tempfiles
  298.  
  299. - message numbers are now in the range 1-99999 (in smtpserv.c)
  300.  
  301. - 'ax25 dest' is now same as 'ax25 hearddest'
  302.  
  303. - tip incoming sessions fixed, go to mailbox again.
  304.  
  305. - even when netrom is not active, you can still set an alias callsign
  306.   for users to connect to.
  307.   'ax25 alias' sets or displays it. Old 'netrom alias' modifies the same call!
  308.  
  309. - duplicate MID problem fixed in smtpserv.c, from KO4KS
  310.  
  311. - ftp server tells file size before transfer starts, from N1BEE
  312.  
  313. - 'mbox header off' also turns off 'mbox thirdparty' !
  314.  
  315. - xspawn shelling modified. Seems to fix most problems.
  316.   Known to still lock up with some ethernet drivers.
  317.   From Brian Lantz, KO4KS
  318.  
  319. - OS/2 multitasking now correctly recognized, from N1BEE
  320.  
  321. - added pop2serv.c and pop3serv.c from N1BEE's v0.85 release.
  322.  
  323. - small nr4 fix from N1BEE
  324.  
  325. - fix for pi driver, from Dave, ve3ifb
  326.  
  327. - stktrace added to buffer-overwrite in sockuser.c; to help trace this.
  328.  
  329.  
  330. 1.07b (921217)
  331.  
  332. - 'mbox motd' is gone; instead, the contents of the file /spool/motd.txt
  333.   will be shown when users login to the bbs.
  334.  
  335. - 'fmotd' is gone; instead, set the ftp message of the day in the file
  336.   /spool/ftpmotd.txt . It will be shown before the ftp login sequence starts.
  337.  
  338.  
  339. 1.07  (921215)
  340.  
  341. - smtp client has been modified.
  342.   'smtp t4' sets a timeout limit (in seconds) for attempts to deliver mail.
  343.   If t4 is 0 (default), behaviour is as before (direct delivery is attempted
  344.   to the host or mx-host.)
  345.   If t4 is set, behaviour changes as follows:
  346.   If a connection has not been established in t4 seconds, the mail will
  347.   be attempted to be delivered to the 'smtp gateway' (if one is defined)
  348.  
  349. - pop code has been modified to hopefully eliminate potential crashes.
  350.   (from Mike Billow, N1BEE)
  351.  
  352. - socklen() fixed for netrom L4. From Paul Healy, EI9GL
  353.  
  354. - lower case only stuff in ftp login eliminated. It is now correctly case-
  355.   sensitive.
  356.  
  357. - added 'tcp blimit' to limit backoff for tcp connections.
  358.  
  359. - 'rip kick' added to send an immediate rip update. From Dave, ve3ifb
  360.  
  361. - mailbox now supports MID's on receiving and forwarding of messages.
  362.  
  363. - 'ftpusers' permissions can be set in hexadecimal, ie '0x32', or '50'
  364.  
  365. - mailbox escape checking can now be set to off in ftpusers file. Add
  366.   #define NO_ESCAPE 65536
  367.   to the permission for a user to have it default to no escape checking while
  368.   gatewaying out. User can change the default. The mailbox 'E' command now
  369.   works as follows:
  370.   'E' shows status (ie. on/off) and escape character.
  371.   'E arg'
  372.         -if arg is one character, it is interpreted as the new escape char
  373.         -if arg starts with a number, it is interpreted as the ascii number
  374.          for the new escape char
  375.         -else if arg starts with 'off' or 'dis' (not case ssensitive)
  376.          then scape checking is turned off
  377.         -anything else will turn escape checking on.
  378.  
  379. - 'more' and 'dir' commands now work correctly from remote sysop.
  380.    Note that there currently is NO -more-? prompting when executed from
  381.    remote !
  382.  
  383. - Forward polling added. If there are no message to be sent to the bbs,
  384.   the system will poll the remote bbs for messages when the forward timer
  385.   expires.  Simply add a 'P' to the end of the first line in the forward.bbs
  386.   script. Thus the format is now either
  387.   <bbsname> P
  388.   or
  389.   <bbsname> <[time]...[time]> P
  390.  
  391. - Extended IP access code. (usefull for gateways only)  NOTE: this is
  392.   NOT compatible with the old version. Ie. modify your autoexec.nos !!!
  393.   Here is the new command format:
  394.  
  395.   access <state> <proto> <src>[/<bits>] <dest>[/<bits>] <if> [<low> [<high>]]
  396.  
  397.   where:
  398.  
  399.   proto = {any|tcp|udp|icmp|<number>} (<number> = decimal IP protocol number)
  400.   dest  = Destination IP address (or "any"), just like <src>
  401.  
  402.   The rest of the parameters are the same as before.  The port parameters are
  403.   used only if proto is "tcp" or "udp"; they are ignored otherwise.
  404.  
  405.   Here are some examples:
  406.  
  407.   ip access permit any  192.111.106/24  all             eth
  408.   ip access permit tcp  all             all             eth     25
  409.   ip access permit tcp  all             all             eth     53
  410.   ip access permit udp  all             all             eth     53
  411.   ip access deny   tcp  all             130.137/16      eth     1       1023
  412.   ip access deny   udp  all             130.137/16      eth     1       1023
  413.   ip access permit any  all             all             eth
  414.  
  415.   Note that the new "ip access" command format is incompatable with the old.  I
  416.   guess I could have made it backward compatable, but I thought it would look
  417.   ugly if I did.
  418.  
  419.   The "ip access" command code could probably stand some additional error
  420.   checking on parameters.  For example, only the first letter of the protocol
  421.   is used (e.g., "ijkl" == "icmp").  If the low port is set to zero, this
  422.   means ignore the port numbers (the same as "all" or just leaving them out),
  423.   whereas it probably ought to generate an error.
  424.  
  425.  
  426. - automatic personal information for convers users.
  427.   When a user log in, either from mbox, convers call, or convers server,
  428.   the Cinfo file is searched for the user name. The Cinfo file defaults to
  429.   /finger/dbase.dat. Name and text need to be separated with a space or tab.
  430.   Everything that follows the name will be set as the personal info.
  431.   Note that the default file is the SAME as the finger database file !!!
  432.   However, this can be changed with the 'Cinfo' line in the filename config
  433.   file described below. (-f command line option)
  434.   Eg. if the Cinfo file contains the line
  435.   'wg7j Johan, in Corvallis, OR, USA'
  436.   then when wg7j logs in to your server, his /p info will be set to
  437.   'Johan, in Corvallis, OR, USA'
  438.  
  439. - command recall feature.
  440.   Command are saved in a circular buffer of a size that can be set with
  441.   'history #', eg. 'history 10', which is the default.
  442.   'history' will show the maximum set, and the history list kept.
  443.   'history 0' disables the feature.
  444.  
  445.   The up-arrow and down-arrow will cycle through old commands when in the
  446.   command session. No editing (yet), just recall.
  447.  
  448. - added case-insensitivity to convers loop detection code, to handle other
  449.   convers systems better...
  450.  
  451. - fixed some defines to allow MAILBOX to be undefined in config.h
  452.  
  453. - sockuser() 'protected' against overwriting of output buffers. System will
  454.   write a message to the log file, and then reboot :-(
  455.  
  456. - mailbox forwarding R: line needs to be explicitely turned on with
  457.   'mbox header on'
  458.  
  459.   This is so that regular users can forward from jnos to another system
  460.   designated as full-service bbs, without leaving a trace of their system.
  461.   This avoids other bbs systems marking them as a fullservice bbs.
  462.  
  463.   (The elements of the R: header are now optional. If not set, they will
  464.    not show in the line, instead of show as 0 or null-strings.)
  465.  
  466. - some more stuff from wa3dsp:
  467.  
  468.   * 'prompt on|off'  - defaults to off
  469.     Turns ON or OFF the display of the current directory at the command prompt
  470.  
  471.   * Commands - rename, copy, dir, cd, pwd, more, tail, del, mkdir rmdir
  472.   now use fully qualified names based on the command session current
  473.   directory. This directory can be ANY valid drive/directory on the
  474.   system.
  475.  
  476.   The command session current buffer assumes the current directory at
  477.   NOS startup. When 'cd' is exercised at the net prompt the ACTUAL
  478.   dos drive and or directory are never changed. Instead the path on a
  479.   per drive basis is stored in a structure known to the command session.
  480.   Filenames are built into fully qualified names using the path and supplied
  481.   name.
  482.  
  483.   This is the same way it is done in the FTPCLI in my previous mods.
  484.   PLEASE advise if there are any other commands that should use this method
  485.   that I may have missed.
  486.  
  487.   * Option added to MORE  - more <filename> [searchstring]
  488.     If searchstring is specified only lines containing the string are displayed.
  489.  
  490.     more /spool/log bbs           - display lines in logfile with the text "bbs"
  491.     more /autoexec.nos netrom     - display lines with text netrom
  492.     more myfile "text to display" - if text contains spaces use quotes!
  493.  
  494.    * Option added to domain - domain look <searchstring>
  495.      This is just a call to the 'more' command with the '/domain.txt' file
  496.      specified.
  497.         domain look 44.80.8
  498.         domain look wa3dsp
  499.  
  500. - All files in nos now can be on any drive and directory. A 'file-naming'
  501.   configuration file can be named on the command line with the -ffilename
  502.   option. (If filename is not given, the -f option will be ignored)
  503.   Eg:  nos -fnos.cfg
  504.  
  505.   The format of the config files is as shown in the accompanying nos.cfg.
  506.   Ie. filename = directory-or-file-path, where dir-or-file-path can be any
  507.   valid path or filename.
  508.  
  509.   This now allows things to be in places that optimize the speed; ie; you
  510.   can copy certain things to ramdrives etc before running nos, and then
  511.   use the much faster access times to improve speed...
  512.  
  513.   You can still use the -d option to set a new 'root' directory for nos.exe,
  514.   but it is only usefull if used before the -f option. If you use -d,
  515.   then you can use the -f to move some files to non-standard directories
  516.   by simply commenting out the files you don't want moved...
  517.   eg.   nos -d/nos -fnos.cfg    is valid
  518.   but   nos -fnos.cfg -d/nos    causes the -d to be ignored !!!
  519.  
  520. - XSPAWN library (c) Whitney Software used to allow swapping out of JNOS
  521.   when shelling to dos. This allows shelling out at all times, with a full
  522.   size dos memory available !! Ie. Full applications can be run; JNOS is
  523.   INACTIVE at this point!. Compile time option is XSPAWN. (MULTITASK is NOT
  524.   available when XSPAWN is used !)
  525.  
  526.   Swapping is to EMS, if available, or to disk. Disk swapping is to the
  527.   current drive. You can set a directory path to try and store the disk image
  528.   with the new command line switch -x. (if you have ems, this isn't usefull)
  529.         eg. nos -xc:\;d:\
  530.  
  531.   From the manual.doc of the xspawn code:
  532.  
  533.         " Each separate path specifier in the _swappath string (separated by a
  534.         ;) can contain a drive, a directory, or both.  If you do not specify
  535.         a drive, XSPAWN will use the current drive.  If the directory is not
  536.         specified, XSPAWN will use the directory that is current on the
  537.         target drive.
  538.  
  539.         You may be wondering why you would ever want to specify multiple
  540.         paths.  To illustrate one use of this feature, let us say your system
  541.         has a ramdrive called D: and a hard drive called C:.  Since writing
  542.         to a ramdrive is many times faster than writing to a hard drive, you
  543.         would naturally prefer to write the swap file to the ramdrive.  The
  544.         problem is that there may not be enough space on the ramdrive to hold
  545.         the swap file.  The _swappath string shown above would cause XSPAWN
  546.         to try the ramdrive first and if there is insufficient space, to try
  547.         the C: drive next.
  548.  
  549.         If a path does not exist, XSPAWN will skip it.  If XSPAWN can't store
  550.         the swap file on any of the specified paths, it will return -1 and
  551.         set errno to EACCES.  "
  552.  
  553.  
  554.   According to the user policy, the complete source for the code is in
  555.   xspawn.zip, inside the jnos107.zip source zipfile... Please read
  556.   license.doc in xspawn.zip for more details.
  557.  
  558. - 'bulletin check' protected against too many forward bbs's (from Jerry, kd4cim)
  559.  
  560.  
  561. 1.06B (921124):
  562.  
  563. - forward bug fixed; netrom forwarding works again
  564.  
  565. - arp display fixed
  566.  
  567. - rip now allows advertizing of route to yourself with the '2' flag
  568.   (ala KarnCode) Eg: rip add 44.26.1.255 600 2
  569.  
  570. 1.06A (921121):
  571.  
  572. - cmdparse fixed to accept both tabs and spaces correctly (debugged from code
  573.   by Mike Gallagher)
  574.  
  575. - twinvec.asm fixed for BC++3.1, dirutil.c for TC2.0
  576.  
  577. - screen sizing is now a command line option: -c# for colums, -r# for rows
  578.   the 'stat' display now shows this, instead of 'info'. 'col' and 'row'
  579.   commands are gone.
  580.   IE. If your screen size is not sensed correctly, use:
  581.   Eg: to run with 43x132 screen: nos -r43 -c132
  582.   (note: this does not SET the video mode; your system has to be in that mode
  583.   already !)
  584.  
  585. - tcp stat bug fixed.
  586.  
  587. VERSION 1.06 (921119)
  588.  
  589. - all commands setting interface flags now TOGGLE! Ie. first time the flag is
  590.   set and the feature turned on, next time it is turned off, ad infinitum :)
  591.   They are:
  592.   convers port                  ax25 bport
  593.   mbox mport                    mbox hide
  594.   ax25 digi                     ax25 hport
  595.   arp eaves                     arp poll
  596.   ip hport
  597.  
  598. - 'tcp access' command added. Good for internet gateways. Defined with
  599.    TCPACCESS switch in config.h
  600.  
  601. - IP heard logging. Turn on per interface with
  602.   'ip hport <iface>'
  603.   For ax.25 interfaces, logs all ip packets heard on the channel.
  604.   For other interface types, logs ip packets that the system routed.
  605.  
  606.   'ip hsize' sets size of table. 0 means no limit!  Default is 8.
  607.  
  608.   Shown with with mailbox 'IH)eard' command, or with
  609.   'ip heard'
  610.   or you can now finger 'iheard' to get the list.
  611.  
  612. - AX25 heard logging needs to be turned ON per interface !!!
  613.   'ax25 hport <iface>' does this. Use 'ax25 filter' still to set
  614.   options for source or destinations. (1=no source address, 2=no dest. address
  615.   3=no logging at all !)
  616.  
  617.   'ax25 hsize' sets maximum number of call in the total list (ie. NOT per
  618.   interface !). 0 means no limit, and is the default !
  619.  
  620. - security hole in mailbox telnet permissions fixed.
  621.  
  622. - screen handling now senses the screen size correctly. Ie. you can use
  623.   80x25,80x43, etc modes. With help from Ron Henderson, WA7TAS
  624.   I tried to assure this works even with vga drivers that
  625.   do not report correct sizes to the gettextmode() call (due to the fact
  626.   that I work on a system that did this faultily :-). It's been tested
  627.   in 80x25,80x28,80x43,80x50,132x50,132x60 modes.
  628.   'info' will show the detected tty size.
  629.  
  630.   On some systems this still doesn't detect the screen size correctly;
  631.   if so, set the number of rows and columns on you screen in the autoexec.nos
  632.   file with 'rows #' and 'columns #' commands (this does NOT work from
  633.   the command line !!!)
  634.  
  635.  
  636. - new arp subcommands:
  637.   'arp eaves [<iface>]'
  638.   Display or set the 'arp eaves drop' functionality per interface.
  639.   If set, all arp replies overheard on the interface will be logged in the
  640.   arp table. This builds a large table on ethernet interfaces, but speeds up
  641.   arp discovery, and might be usefull on radio interfaces.
  642.  
  643.   'arp maxq'
  644.   Display or set the max number of packets waiting for an arp resolution
  645.   to finish. Default is 5 packets.
  646.  
  647.   'arp poll [<iface>]'
  648.   Display or set the 'arp keepalive polling' functionality per interface.
  649.   If set, when an arp entry expires, a query will be sent for the address; this
  650.   keeps the arp table fresh, but possibly retains lots of unneeded entries.
  651.  
  652.   'arp sort y/n', defaults to yes, to sort the arp display.
  653.   (from Doug Crompton, wa3dsp)
  654.  
  655. - Added the PACKETWIN driver, for the Gracilis Packetwin Card.
  656.   To use, define the 'PACKETWIN' option in config.h
  657.   (Disclaimer: I have NOT tested this, but others have used it with my code :-)
  658.  
  659. - Added Doug Crompton's (wa3dsp) mods:
  660.   route sort y/n
  661.   tcp view bytes  - t v b
  662.   tcp view timers - t v t
  663.   icmp trace 0|1|2
  664.   rdate server <ipaddress>
  665.   rdate offset +-n
  666.   'ftp' client commands: ?,help,lcd,ldir, and lmkdir (See w7jmods.txt for more)
  667.   'dir' allows for drive letters.
  668.   'ftp resume/rput' (see wg7jmods.txt)
  669.  
  670. - mbox 'IP' command shows non-private routes only.
  671.  
  672. - morecore failures are only logged to disk when 'mem debug' is on
  673.  
  674. - added nntpserv.c from Doug Crompton, WA3DSP
  675.  
  676. - fixed fifo setup for 16550's
  677.  
  678. - increased stack size for finger and ttylink servers to fix overflow problems
  679.  
  680. - forward connects to unknown netrom nodes now fail.
  681.  
  682. - fixed arp-calls in ax25aar.c
  683.  
  684.  
  685. VERSION 1.05 (921021)
  686.  
  687. - at command allows events to be killed, and rescheduled. From Ron Henderson,
  688.   WA7TAS.
  689.   'at k <#>' to kill event #, where # is the number shown in the 'at' command
  690.   'at [time] command+' to indicate recursion. Ie. after the command has been
  691.   executed, timed execution will be started again.
  692.   EG: at now+0005 dir+   will show a directory listing every 5 minutes
  693.  
  694. - fixed mkname.c for compile with tc2.0
  695.  
  696. - added domain name server fix for CNAME queries, from Don Sandstrom, KG7CP.
  697.  
  698. - new and improved tipmail.c from Milton Miller and Ben Thornton.
  699.  
  700. - asy flow control bug fixed in asytimer() (file i8250.c)
  701.   from Milton Miller and Ben Thornton
  702.  
  703. - made 'Tick' volatile, to avoid problems. From Milton and Ben.
  704.  
  705. - when netrom routes are dropped, either due to obsolesence counter becoming
  706.   zero or by a manual route drop, netrom connections using that route will
  707.   now be be purged if that route was the only route left to the netrom
  708.   destination.
  709.  
  710. - 'netrom connect' and 'netrom split' don't accept unknown node destinations
  711.   anymore.
  712.  
  713. - 'MS' display changed; now has
  714.   Core: 76096                   -> coreleft value in bytes
  715.   Up: 3:19:46:59                -> up 3 days, 19 hours
  716.   Logins: 49                    -> 49 total logins
  717.   Users: 2                      -> currently 2 users
  718.   Count: 19                     -> 19 different users have logged in
  719.   Sent: 43                      -> users sent 36 messages
  720.   Read: 186                     -> users read 186 messages
  721.   Rcvd: 171                     -> got 171 msg forwarded to us
  722.   Fwd: 124                      -> forwarded 124 message to other bbs's
  723.  
  724. - added 'finger database server'; the finger server now will read info
  725.   from the file '/finger/dbase.dat', if there is no '/finger/username' file.
  726.   Ie. if you finger 'johan@wg7j', and the file '/finger/johan' exists,
  727.   it will be sent; if the file '/finger/johan' does NOT exist, the
  728.   '/finger/dbase.dat' file will be scanned (exists.)
  729.   The first line found in this file that starts with the 'username' requested,
  730.   ie here 'johan', will be sent...
  731.   EG: the '/finger/dbase.dat' file can contain:
  732.   johan: WG7J, Corvallis, OR USA, ph.xxx-xxxx. EXTRA CLASS
  733.   ka7ehk is Jim Wagner, in Tangent, OR. Technician license since 1795 :)
  734.   etc...
  735.   NOTE:
  736.   if you have a line starting with 'johannes', a finger to 'johan' will show
  737.   this line if it's the first !
  738.  
  739. - added  'copy <file> <newfile>' command.
  740.  
  741. - added 'timed' support, from Brian K. Teravskis, WD0EFL
  742.  
  743. - fixed buf in send_ax25() and send_nr4(), not freeing buffer if control
  744.   block is invalid.
  745.  
  746. - display flowmode doesn't start until after the autoexec.nos file has been
  747.   executed. Avoids lockups on remote systems.
  748.  
  749. - fixed forwarding with empty subject line in msg; now subject is "none".
  750.  
  751. - fixed '*** done' interpretation in forward.c (looking for -2 instead of 2!)
  752.  
  753. - bbs forwarding now can be 'scripted'. Format of forward.bbs file is expanded:
  754.  
  755.   w0rli                 <- still the bbs to forward to
  756.   ax25 ax0 w0rli        <- still how to forward to
  757.   [ multiples of:
  758.   .send this text
  759.   +continue if this string is received
  760.   @wait_this_long for a reply  ]
  761.   w0rli                 <- the areas to forward...
  762.   pnw
  763.   north
  764.   -----------           <- end of this entry
  765.  
  766.   Valid connect-script lines are:
  767.  
  768.   '.' lines are like before. The text following will be sent over the
  769.         connection.  This line doesn't need to contain text. In that case,
  770.         a <cr> only gets send.
  771.         NOTE: This will also reset the '+'  reply search string to null!
  772.  
  773.   '+' lines set a reply string to search for when a line is being received
  774.         with the @ command.
  775.  
  776.   '@' lines set a timeout in seconds in wich to receive a line over the
  777.         connection. This is the maximum time the system will
  778.         wait for a reply. At this point, an attempt is made to receive a line
  779.         from the connection in the time specified.
  780.         If nothing is received after the timeout time, forwarding for this
  781.         entry is cancelled.
  782.         If something is received, and a search string set with the + command,
  783.         forwarding will be continued only if the search string appears
  784.         somewhere in the line received.
  785.         If the search string was not set, forwarding is continued.
  786.  
  787.         NOTE: if the value after @ can not be converted to a number, the
  788.         default is 90 seconds.
  789.         NOTE: the search string is reset if forwarding continues after the
  790.         @ command.
  791.  
  792.  
  793.    You can have as many of these lines to establish a connection. They need
  794.    not be in any particular order.
  795.  
  796.    CAVEAT:
  797.    Replies from the connection need to be full lines; ie they have to be
  798.    terminated by a proper end-of-line sequence. This means you can not wait
  799.    for the login prompt from a NOS system, since those are NOT terminated
  800.    with a end-of-line sequence. (see the examples)
  801.    You need to know the EXACT reply from systems you connect through.
  802.    Each @ command reads only one line of data from the connection (if
  803.    any, offcourse). This means that if a system replies multiple lines
  804.    after a connection is made, you need multiple @ commands. (see the
  805.    examples below). This makes it hard to connect via systems that can
  806.    have varying replies, like NOS systems that do not have your system
  807.    marked as a BBS, and thus will send welcome messages and varying
  808.    message-of-the-day etc...
  809.  
  810.  
  811. Some examples:
  812.  
  813. 1- a connection via a netrom neigbour:
  814.         w0rli
  815.         ax25 ax0 k7uyx-1        <- initial connection to netrom node
  816.         .c rlimb                <- ask for a netrom connect from this node
  817.         +Connected              <- if we don't get this, things went wrong
  818.         @60                     <- maximum one minute wait !
  819.         w0rli                   <- forward these areas...
  820.         pnw
  821.         allor
  822.         ---------
  823.  
  824. 2- a connection via a JNOS system .
  825.    This assumes that you are marked as a BBS at the JNOS system, so that
  826.    you only get a '[JNOS...] and '>' prompt...
  827.  
  828.         n7dxt
  829.         ax25 iposu              <- initial connection to the JNOS system
  830.         +[JNOS                  <- wait for sign-on message from the JNOS box
  831.         @15                     <- don't wait longer then 15 seconds
  832.         +>                      <- wait for the prompt
  833.         @15                     <- wait 15 seconds at the most
  834.         .c ax0 n7dxt            <- next, request a gateway connect
  835.         +Trying                 <- NOS replies it's trying...
  836.         @15                     <- wait 15 secs max.
  837.         +Connected              <- wait for 'IPOSU:WG7J-3} Connected to N7DXT'
  838.         @60                     <- wait 60 secs max
  839.         n7dxt                   <- send these following areas
  840.         pnw
  841.         allor
  842.         ----------
  843.  
  844. 3- A connection to a JNOS system, and from there a telnet to a remote bbs
  845.    (again, assumes your system is marked as a bbs !)
  846.  
  847.         wg7j
  848.         ax25 con iposu          <- initial connection to JNOS
  849.         +[JNOS                  <- sign-on from JNOS
  850.         @15                     <- shouldn't take too long
  851.         +>                      <- next is the prompt
  852.         @15                     <- not too long either
  853.         .t wg7j.ampr.org.       <- ask for a telnet connect
  854.         +Trying                 <- JNOS is trying
  855.         @15                     <- should come pretty soon
  856.         +connected              <- wait for '*** connected to xxx'
  857.         @45                     <- might take a while
  858.         @30                     <- wait for another (blank) line
  859.         +NOS                    <- now come the telnet sign-on message
  860.         @30                     <- wait for this
  861.         @30                     <- after this is a blank line, wait for it
  862.         .w0rli                  <- now we get 'login:' and "Password:" prompts,
  863.         .whomever               <- but they have no <cr>'s, so just answer
  864.         sysop                   <- we're there, forward these areas.
  865.         allor
  866.         wg7j
  867.         pnw
  868.         nos
  869.         ------
  870.  
  871. - '/sounds y|n' in convers added. This turns the bells on or off.
  872.   Ie. if you don't want the bell if new users log on, do a '/s n' after
  873.   you logon.
  874.  
  875. -'mbox hideport [<iface>]'
  876.  Set or show the 'hide' flags on interfaces. If this flag is set, the mailbox
  877.  'P' command will not list this interface for ax.25 connection, unless the user
  878.  has sysop priviledges.  AX.25 gateway connections are also dis-allowed,
  879.  unless the user has sysop privs. (This is good for stuff like forward-only
  880.  ports, etc...)
  881.  
  882. - fixed scanning of the '/p' command in convers server.
  883.  
  884. - smtp server accepts messages to areas with sub-directories.
  885.  Eg. you can now receive mail for rec.radio.packet, or
  886.  test/toys, or rec\ham
  887.  These messages will be placed in the right subdirectory under /spool/mail.
  888.  CAVEAT: the subdirectory HAS TO EXIST when the mail is received!! It
  889.  is not created.!!!
  890.  (Ie. int the above, /spool/mail/rec/radio, /spool/mail/test have to exist!)
  891.  
  892. - mailbox keeps track of new mail in areas since user last logged out.
  893.  If 'mbox newmail on', user will get notified on login wich areas have
  894.  new mail. New mbox 'AN' command gives the same information.
  895.  (default is on)
  896.  
  897. - the interface flag field, as shown in the 'ifconfig' command,
  898.   has more use. It's bits have the following meanings:
  899. #define CONNECT_MODE    1   /* Send datagrams in connected mode */
  900. #define IS_NR_IFACE     2   /* Activated for NET/ROM */
  901. #define NR_VERBOSE      4   /* NET/ROM broadcast is verbose */
  902. #define IS_CONV_IFACE   8   /* Activated for conference call access */
  903. #define AX25_BEACON     16  /* Send AX.25 beacons */
  904. #define MAIL_BEACON     32  /* Send MAIL beacons */
  905. #define HIDE_PORT       64  /* Don't show port in mbox P command */
  906. #define AX25_DIGI       128 /* Allow digipeating */
  907.  
  908. - convers configuration is now done with commands, and not the convers.cfg
  909.   file any more. New 'convers' command has subcommands :
  910.  
  911.   allow [ipaddres|hostname]
  912.         - if set, only hosts in this list will be allowed to link to us
  913.           This does NOT effect regular users.
  914.           Host to allow can be set with multiple 'convers allow' commands
  915.           Typing 'convers allow' shows the hosts to allow.
  916.  
  917.   hostname [name]
  918.         - set or show the convers host name as announced to users and
  919.           across links. 10 chars max. When the 'hostname' command is
  920.           executed, the 'convers hostname' is automatically set to the
  921.           10 first chars of it, and if '.' are found from the right,
  922.           they terminate the string.
  923.  
  924.   interface [<iface>]
  925.         - activate interface <iface> for ax.25 convers call connections.
  926.          with no argument will show active interfaces.
  927.  
  928.   mycall [call]
  929.         - set or show the ax.25 convers call.
  930.  
  931.   link  [<hostname|ip-address>] [linkname]
  932.         - add a convers link to the system at hostname or ip-address.
  933.           linkname is optional, and sets the name of the link.
  934.           (It will be replaces once the remote systems announces it's
  935.           true name...)
  936.  
  937.   t4 <seconds>
  938.         - set or show the ax.25 t4 timeout value for conference call
  939.           connections. Default is 7200, ie 2 hours.
  940.  
  941. - user permission bit to disallow convers access from mailbox or
  942.   from convers call.
  943.   #define NO_CONVERS 32768
  944.   If set, user will not be allowed to give the 'C' command, or connect
  945.   to the convers call.
  946.  
  947. - fixed double <cr> bug in convers personal data across links. Also fixed
  948.   month display in links-listing.
  949.  
  950. - 'netrom verbose' is gone. 'netrom interface' now defaults to none-verbose
  951.   and the additional 'v' makes it verbose. EG:
  952.   netrom interface ax0 192      -> non-verbose broadcasting
  953.   netrom interface ax0 192 v    -> verbose broadcasting
  954.  
  955. - 'ax25 confcall' and 'ax25 ct4' are gone. See above.
  956.  
  957. - 'ax25 digipeat [<iface>]' now shows or sets digipeating per interface.
  958.   All interfaces default to no digipeating when first attached !
  959.  
  960. - new 'ax25 bcport [<iface>]' command. Sets or displays the ports that
  961.   ax.25 beacons are sent out on. You need one for each interface you want
  962.   to beacon on. Eg:
  963.   ax25 bcport ax1
  964.   ax25 bcport vhf
  965.   (beacon interval and text are still set with 'ax25 bcinterval' and
  966.    'ax25 bctext')
  967.  
  968. - new 'mbox mport [<iface>]' command. Sets or displays the ports that
  969.   'Mail for:' beacons go out on. You need one for each interface you want the
  970.   mail-beacon to be sent out. Eg:
  971.   mbox mport ax1
  972.   mbox mport vhf
  973.  
  974. - new 'mbox sendquery'. If set, the mailbox will send a query to ask users
  975.   if they really want to send the mail after they've type the /ex
  976.   A 'N' or 'n' response will abort the message at that point. The user will
  977.   be notified the message was aborted by a 'Mgs aborted' message.
  978.   (default is on)
  979.  
  980. - forwarding is now a server-process. Start with 'start forward'.
  981.   Timer is still set with mbox timer command.
  982.   (this and a few other things from Milton Miller, kb5tkf and
  983.    Ben Thornton, wd5hls)
  984.  
  985. - fixed bug in forward.c that would forward with Mycall as the node call,
  986.   instead of the netrom call. Caused problems if Mycall != Netromcall
  987.   (with help from Milton Miller)
  988.  
  989. - AX.25 Paclen can now be set on a per-interface basis.
  990.   'ifconfig <iface> paclen <num>' will do the trick.
  991.   (this is good for HF, where you want a small paclen !)
  992.   Default is the 'ax25 paclen' value (ie. 256)
  993.  
  994.   NOTE: If the interface is activated for NETROM, setting this will also
  995.   effect the 'netrom mtu' value. It will be set to (smallest paclen) - 20.
  996.   If this is > 236, the netrom mtu will be 236 (the protocol maximum!).
  997.   Eg: if you have a HF port with paclen of 64 and active with netrom,
  998.   and another VHF port active with netrom and with paclenof 256, then
  999.   netrom mtu is 44 and 'ifconfig netrom' will show this !
  1000.   You can override this automatic assignment with 'ifc netrom mtu <num>',
  1001.   but BE AWARE of fragmentation problems that will occur if you run this
  1002.   over an interface with a smaller paclen then netrom-mtu + 20 !!!
  1003.   (You get ax.25 V2.1 fragmentation, and Thenet, BPQ. MSYS etc can NOT handle
  1004.    this! NOS and it's derivatives are the only one that can handle this !!!! )
  1005.  
  1006. - Setting the netrom mtu now also works for netrom data! (it was originally
  1007.   intended for IP over NETROM use; however, both user data and IP packets are
  1008.   just data for the netrom protocol, so who cares :) Previously, everything
  1009.   pertaining to NR4 data was hardcoded to 236 bytes max, and would result in
  1010.   AX25 V2.1 fragmentation if paclen < 256, NO MATTER what.
  1011.   In NR4.C, send_nr4() now chops packets larger then netrom mtu into
  1012.   multiple smaller ones, thus preventing ax.25 V2.1 fragmantation.
  1013.   (see also 'ifconfig iface paclen' above !)
  1014.  
  1015. - AX.25 connection calls are now on a per-interface basis. Ie. you can have
  1016.   the same two calls with connection on two different interfaces:
  1017.   wg7j-3  <->  ka7ehk  on ax0 , and  wg7j-3  <-> ka7ehk  on ax1 now works.
  1018.  
  1019. - 16550 fifo trigger level can be set from attach command. Valid values are
  1020.   1,4,8 or 14. If you use this, the 'f' option is now mandatory !
  1021.   Add the trigger level following the 'f' or as an additional argument. EG:
  1022.   'attach asy 3f8 4 ax25 ax0 1024 256 9600 f8' or
  1023.   'attach asy 3f8 4 ax25 ax0 1024 256 9600 f 8'
  1024.  
  1025. - bbs forward loop detection added. Ie. when you receive a message that you've
  1026.   forwarded already, there is a forward loop. New 'bulletin loophold' command
  1027.   shows or sets the number of loops after wich to hold a message. 0 disables
  1028.   it, and is the default. Eg. 'bul loop 2' will hold any message that has 2 of
  1029.   your R: headers in the message when it is received. Loop-held messages get
  1030.   an additional header, 'X-BBS-Hold: Loop'.
  1031.   Currently, the sysop is NOT notified of the held message. However, they show
  1032.   up with the common 'H' as the type of the message in the List display.
  1033.   Messages marked 'H' can only be read by users with sysop priviledges, wether
  1034.   that message is in a user's private mail area or not. (This is jumping ahead
  1035.   of possible message contents scanning and holding)
  1036.  
  1037. - stktrace() from the new KA9Q sources added. This is currently only used
  1038.   for invalid free() calls. For each invalid free, it will show a trace of
  1039.   where the call came from. This should facilitate debugging.
  1040.   The 'test' command demonstrates it. Output is in the file stktrace.out.
  1041.   -> You need to have the map-file (nos.map) in the current directory !
  1042.   If you have invalid frees showing in the 'mem stat' command, and you have
  1043.   stktrace.out output, please send me a copy of that file. That will allow
  1044.   me to try and figure out what happened.
  1045.  
  1046. - netrom default round-trip-time increased to 45 seconds.
  1047.   (15 seconds is pretty unrealistic for a loaded 1200bd network :-)
  1048.  
  1049. - minor delinting and convers bug fix by Mike Gallaher, wa3hee
  1050.  
  1051. - incoming ttylinks do not create a session if system is unattended
  1052.  
  1053. - smtp server checks Message-Id's for possible duplicate BID's
  1054.   If found, message is accepted, but not delivered.
  1055.  
  1056. - mailbox disconnects on any '***' command, except '*** linked to' (bug fix)
  1057.   '*** linked to' should now work with any format, including texnet.
  1058.  
  1059. - conference connection sockets are put into no-block mode, this solves
  1060.   the data backlog problem that bogs the system down.
  1061.   (it will still fill up the tx buffer (even beyond the window size),
  1062.   but the send_mbuf() call will not block anymore).
  1063.  
  1064. - fixed conference access via mailbox inactivity timeout problem.
  1065.   Same with mailbox 'D', and 'W' commands.
  1066.  
  1067. - All tcp connections allow verbose ip ports. Currently allowed are
  1068.   "convers","telnet", and "ttylink". This is case sensitive, but you don't
  1069.   need the whole name. First lettter (for convers and telnet), or first
  1070.   two (ie. tt for the ttylink port) is enough.
  1071.   Eg. to telnet to the conference server with a split screen, do
  1072.   "ttylink <hostname> convers" (this is the same as "ttylink <hostname> 3600").
  1073.   This also work from the mailbox: 'T wg7j.ampr.org. convers'
  1074.  
  1075. - added split screen options for ax.25 and netrom connects (if compiled in)
  1076.   New command "split <iface> <call>" is same as "connect", but with S.S.
  1077.   New command "netrom split <node>" is same as "netrom connect" but with S.S.
  1078.   (Remember: you can do S.S. telnet's with the 'ttylink' command, by adding
  1079.    the telnet port number! (see also above))
  1080.  
  1081. - ax25 route commands now takes interface. This allows different digi paths
  1082.   per interface ! Eg. MAIL beaconing:
  1083.   if you want to digi via different nodes on different interfaces...
  1084.   'ax25 route add mail ax0 kf7dq-1'
  1085.   'ax25 route add mail ax1 wg7j-3'
  1086.  
  1087. - arp add/drop/publish now take interface.
  1088.   'arp add wg7j.ampr.org. ax25 wg7j-3 ax0'
  1089.   'arp drop 44.26.0.162 ax25 ax2'
  1090.   'arp publish gw.wg7j.ampr.org. ax25 wg7j-2 ax1'
  1091.  
  1092. - timer process is modified, fixes some timing with PI, SCC and other things.
  1093.  
  1094. - mailbox accepts and handles <del> chars (0x08) (from wa7tas).
  1095.  
  1096. - mailbox areas with more then maxmsg messages now allow reading of first
  1097.   maxmsg messages.
  1098.  
  1099. - fingers to the system now show the 'last connected' info for the requeste
  1100.   user, if exists. After this, the finger file (if exists) will be shown,
  1101.   as usual.
  1102.  
  1103. - remote sysop 'dir' and 'more' commands work, but without more-prompting.
  1104.  
  1105. - 'netrom hidden [on|off]' enables or disables showing of hidden nodes in
  1106.   the N display
  1107.  
  1108. - 'netrom interface' allows changing parameters for already active interfaces
  1109.  
  1110. - Tracing on AXIP interfaces now also works on receive (ie. input)
  1111.  
  1112. - fixed command line expression passing in .asm files for BC++3.1
  1113.  
  1114. - new mkname.c and other stuff for BC++3.1 from n1bee.
  1115.  
  1116. - nr4 ack bug, kiss-ioctl bug fixes per n1bee.
  1117.  
  1118. - netrom bcpoll <ifname>, will poll other systems running jnos1.05(or later)
  1119.   or dataengine's running jnos40 to send a routes broadcast. Speeds up route
  1120.   discovery...
  1121.   Eg. add this to the autoexec file for each activated netrom interface.
  1122.   This was primarily written for the DataEngine code, that doesn't have the
  1123.   'netrom load' from disk capability.
  1124.  
  1125. - tcp retries 0, resets to original KA9Q behaviour, ie no retry max.
  1126.  
  1127.  
  1128. VERSION 1.04 (920805)
  1129.  
  1130. - at command now takes minutes only too; format 'at mm <cmd>'
  1131.  
  1132. - format of /convers.cfg has changed:
  1133.   localname             -> still the local convers name
  1134.   name moot hostname
  1135.   name2 moot hostname2
  1136.   etc.
  1137.   where 'name' and 'name2' are the names of the convers links to put in.
  1138.   'moot' can be anything, but needs to be there for compatibility reasons
  1139.   (previously it had to be 'telnet' but that is the only thing accepted and
  1140.    is now hard coded (saved code))
  1141.   'hostname' is optional, and if defined, it is the hostname that will be used
  1142.   first to resolve the ip address of the host to link to. If 'hostname' can
  1143.   not be resolved, then 'name' will be used as previously.
  1144.   Eg:
  1145.   Corvallis whatever jnos.wg7j.ampr.org.
  1146.   This will try to link to jnos.wg7j.ampr.org. first, if that isn't a valid
  1147.   address, then it will try to link to 'Corvallis'
  1148.  
  1149. - added convers '/personal' command to show some info. Up to 30 chars will
  1150.   be shown in the users display (/w command).  This info also travels across
  1151.   links to compatible servers (ie servers running jnos1.04 or later).
  1152.   eg '/p Johan in Corvallis, OR'
  1153.  
  1154. - convers hostname can be 10 chars now (instead of 8 previously).
  1155.   Be carefull if you link with other server running older, noncompatible
  1156.   code; it is wize to keep it down to 8 chars in that case...
  1157.  
  1158. - added convers loop detection code, from dl9sau
  1159.  
  1160. - bug in convers code that didn't free the socket of a failed link
  1161.   attempt is fixed.
  1162.  
  1163. - separate ax.25 conference call added, with separate t4 timer.
  1164.   If set, connections to this call dump the user directly into the
  1165.   conference bridge. New 'ax25 confcall' and 'ax25 ct4' commands.
  1166.  
  1167. - new commands 'write' and 'writeall' to send message to users.
  1168.   'write' takes either socket # or mailbox username, and message
  1169.   and 'writeall' takes message and sends it to all mailbox users
  1170.   Eg: 'write 131 test'  'write wg7j "testing messages"' or
  1171.   'writeall test'  'writeall "testing messages"'
  1172.  
  1173. - socket display (eg. 'so 131') now shows socket creation time
  1174.  
  1175. - Added tcp retry timeout from iw0cnb. New 'tcp retries' command.
  1176.   Will reset tcp connections after too many retries.
  1177.  
  1178. - commented out some non-used code in the socket interface (AX25_UI sockets)
  1179.   (saves 1.5k :-) )
  1180.  
  1181. - New mailbox rewrite rule:
  1182.   mail rewritten to 'refuse' is refused from the mailbox with a 'NO' or
  1183.   'Bad host' reply.
  1184.  
  1185. - Upped the maximum number of netrom and axip interfaces to 16
  1186.  
  1187. - 'netrom interface' shows active netrom interfaces
  1188.   (verbose flags: v - yes, n - no, and f - according the verbose setting)
  1189.  
  1190. - tcp connect requests (Syncs) are refused if low memory, and
  1191.   socket() call will fail if memory low.
  1192.  
  1193. - AX.25 source call logging now correctly logs outgoing call, instead
  1194.   of interface call. (ie. gateway users will show up in list!)
  1195.  
  1196. - conference bridge access from mailbox is not via telnet connection
  1197.   anymore, but direct. Is faster and saves 2 sockets, 1 process and
  1198.   lots of system overhead. Convers.c has been cleaned up a bit too.
  1199.  
  1200. - added check in telnet login procedure for valid (Dos-filename) login name
  1201.  
  1202. - all memory address displays have dropped the '0008'. All commands involving
  1203.   memory  addresses do not accept the '0008' anymore.
  1204.  
  1205.  
  1206. VERSION 1.03 (920701)
  1207.  
  1208. - 'mbox tmsg' command. Shows or sets the 'telnet msg', that is
  1209.   shown to incoming telnet users before the login: prompt
  1210.   eg. mbox tmsg "Please use your call to login. Thank you"
  1211.  
  1212. - Domain Name Server code added. Start with 'domain startdns'
  1213.   Does not support multiple queries per frame, does not support
  1214.   authority and additional rr's in the reply.
  1215.   Always gives non-authoritative replies.  Has been tested to
  1216.   work with A,CNAME,MX,PTR,HINFO,SOA,NS queries. If other remote servers
  1217.   have been configured, if needed they will be used to resolve queries.
  1218.  
  1219. - 'netrom interface' changed:
  1220.   syntax is now 'netrom interface ifname ### [n|v]'
  1221.   where ifname is the interface name to attach
  1222.   ### is the route quality, 0-255
  1223.   and 'n' or 'v' is optional overriding of the verbose setting.
  1224.   If 'n' is given, the route broadcasts on the interface are none-verbose
  1225.   if 'v' is given, they are verbose.
  1226.   These 2 override the verbose flag !! Ie. if verbose is off, but the
  1227.   interface flag is verbose, all routes are broadcast.
  1228.   If no option is given, the verbose flag is used...
  1229.  
  1230.   This allows verbose broadcasts on axip interfaces, but keeps all the remote
  1231.   nodes off the local lan by disabling verbose broadcasts on that interface.
  1232.  
  1233. - users don't need telnet-permissions anymore for C,CA, and O
  1234.  
  1235. - KU will undelete messages marked for deletion
  1236.  
  1237. - 'L<' searches the 'From:' field
  1238.  
  1239. - a finger to 'conf' will show the conference bridge users (if configured)
  1240.  
  1241. VERSION 1.02 (920615)
  1242.  
  1243. - bugfix for recording of telnet session by Ron, vk6zjm added
  1244.  
  1245. - POP2 and POP3 from was0206 and gri-2.0j was added.
  1246.  
  1247. - userlogging works now also for any mailbox starting with "sys",
  1248.   even if not an area; this allows sysops to read sysop-mail from
  1249.   private areas, and have the system keep track of last read msg.
  1250.  
  1251. - the mailbox 'A' command will show the area names only, NOT
  1252.   the descriptions. To show descriptions, type AF
  1253.   Comments in /spool/areas now NEED TO START with a '#' char...
  1254.   and are only shown in the AF form of the command
  1255.  
  1256. - code to restore 16550 fifo status added (from Bill Simpson)
  1257.  
  1258. - ftp message of the day, modified from Max (iw0cnb).
  1259.   Set/show with 'fmotd' command
  1260.  
  1261. - mailbox (L)ist display has been changed a bit to show the To: field
  1262.   of messages.
  1263.  
  1264. - new mailbox 'L>' command allows searches in the To: field of messages
  1265.   (NOT case sensitive!)
  1266.   eg: 'L> test' will show messages with To: fields of:
  1267.   test@allusa, TEST@somewhere, all@testing.usa, ...
  1268.  
  1269. - expanded mailbox 'ML' command :
  1270.   'ML'       -  lists all past logins since startup
  1271.   'ML n'     -  lists last n logins since startup
  1272.   'ML call'  -  gives last login date/time for call
  1273.  
  1274. - new mailbox 'Move Message' command for sysops:
  1275.   'MM name' moves the current message to mailbox file 'name'
  1276.   'MM n[...] name' moves message n to mailobx file 'name'
  1277.   eg:
  1278.   MM 1 3 4 newarea
  1279.   (Moves messages are deleted in current mailbox file)
  1280.  
  1281. - 'New mail' messages only print to the command screen
  1282.  
  1283. - userlog code now also works during 'R' command
  1284.  
  1285. - mailbox 'SR' doesn't generate a Cc: to the original message To: addressee
  1286.  
  1287. - user default logging added; keeps track of last time logged-in/out,
  1288.   state of XM,XA and XN commands, and how last connection was made.
  1289.   gets read at login and restores values that existed at last logoff.
  1290.  
  1291. - in mailbox send, the rewrite result 'To:' is only shown to sysops
  1292.  
  1293. - new command XN to toggle the netrom id prompt.
  1294.  
  1295. - deleted the masking of chars with 0x7f, to allow international
  1296.   character sets to pass correctly (in ttydriv.c and telnet.c)
  1297.  
  1298. - disallow attaching of axip interfaces with names longer then 6 chars
  1299.   This is needed for the gateway code to work correctly (inherent to the
  1300.   socket internals)
  1301.  
  1302. - fixed bug in the Bye command that would reset the last read message
  1303.   to 0, if nothing was Listed in the last area
  1304.  
  1305. - netrom inactivity timeout disconnection was not working properly in 1.01
  1306.   (wrong timer configured). This is now fixed...
  1307.  
  1308. - refusing of new connections when memory is low is now done
  1309.   in the protocol modules for netrom (nr4.c) and AX.25 (lapb.c)
  1310.  
  1311. - when a nodes-broadcast from a previously unknown netrom
  1312.   neighbour is heard, the system send a nodes broadcast too.
  1313.  
  1314. - new mailbox 'XA' command; toggles showing of the current area
  1315.   with the mailbox prompt. Defaults to on.
  1316.  
  1317. - fixed bug that prevented areas in subdirectories from being accessed
  1318.   (in mlock() and rmlock() functions). This affected systems using nntp
  1319.  
  1320. - modified the nntp client in nntpcli.c to be compatible with my userlog code
  1321.   (added a "Received:" line to articles)
  1322.  
  1323. - message expiry code can now handle both the 'mailbox' style
  1324.   (ie. "Tue, 14 Apr 92 15:11:07") and the 'nntp' style date
  1325.   line (ie. "14 Apr 92 15:11:07").
  1326.   (so it *should* now work with the nntp client; still NOT tested though!)
  1327.  
  1328. - mailbox forwarding: anything that came in with a bid goes out with a bid.
  1329.   Thus now 'SP sysop@blah $bid' goes out with $bid unlike before.
  1330.  
  1331. - when 'bulletin date' is on, "Date: " now only shows the date,
  1332.   no more the  "BBS, ".
  1333.  
  1334. - added st_garbage() fix in sockutil.c
  1335.  
  1336.  
  1337. VERSION 1.01 (920408)
  1338. ************
  1339.  
  1340. - any user can delete messages in any area that starts with "nts".
  1341.   Thus users can delete nts traffic, without having to give them
  1342.   permission to delete everything.
  1343.   Eg: I rewrite all nts stuff i can deliver to the area 'ntslocal'
  1344.   User's can now delete these messages after delivery.
  1345.   All other traffic (ie. not for my area) i rewrite to 'nts' to
  1346.   be forwarded elsewhere. However, 'nts' is NOT an area, so regular
  1347.   users can't touch it (You could also use 'traffic' or whatever
  1348.   else suits you...)
  1349.  
  1350. - plain 'netrom route info' gives info for all routes
  1351.   mailbox 'N *' does the same; from Doug Crompton.
  1352.  
  1353. - telnet login's get 3 tries max to be validated; ctrl-d as the first
  1354.   char will exit the login-procedure.
  1355.  
  1356. - support for the BuckMaster CDRom ham-call database has been added;
  1357.   it compiles just fine, but this has NOT been tested !!
  1358.   (check the compile switches in config.h; not in the standard
  1359.   distribution)
  1360.   The commands for this are 'callbook','callserver2','cdrom',
  1361.   'start callbook' and 'stop callbook'
  1362.   This code comes from KB7YW, taken out of SS_NOS sourcecode,
  1363.   and is provided as is...
  1364.  
  1365. - fixed memory leak with mailbox finger, and overwrite problem
  1366.   with the 'whereto' variable.
  1367.  
  1368. - mkname.c now works with tc2.0, bc2.0 and bc3.0, from Ron Henderson, wa7tas
  1369.  
  1370. - smtp lzw is a more robust; from pa0gri 2.0f
  1371.  
  1372. - tipmail.c timer problem fixed; from ke9yq
  1373.  
  1374. - Function key session switching ! (modified a bit from WNOS3 sources)
  1375.   If the function keys F1-F8 are not defined, they will switch you to
  1376.   the session of that number; eg F3 will switch to session 3 !
  1377.  
  1378. - tracing to a session. Function key F-9, if not re-defined with an fkey
  1379.   command, switches to it from any other session. (it actually toggles;
  1380.   ie you can switch between trace and current session by pressing F9)
  1381.   Session tracing defaults to on.
  1382.   Trace output is only printed in this session when it is the active one.
  1383.   Tracing to file currently disables output to the session.
  1384.   Tracing can be set to go to the command screen with 'strace off' command.
  1385.   (Sometimes you want to see what's going on while you're typing some
  1386.   commands at the console)
  1387.  
  1388.   To save memory (about 4 kb.) session tracing can be disabled with a
  1389.   commandline option. Invoking nos with '-n' will not setup tracing
  1390.   to session, but always trace to the command window.
  1391.   (the 'strace' command is disabled aswell)
  1392.   (eg 'nos -n -s40' will give 40 socket and tracing to the command window)
  1393.  
  1394. - the bid's in history file now have a timestamp with them to allow
  1395.   for automatic expiry. Format is "%s %ld\n", where %s is the bidstring,
  1396.   and %ld is the number of seconds since 1970 (ie. standard time long-integer)
  1397.  
  1398. - BID and MESSAGE expiry built in.
  1399.   command 'oldbids <timer> [age]' or 'oldbids now'
  1400.     <timer> is in hours and sets the interval that the bid file ('history')
  1401.     will be scanned for old ones to delete. Old file is renamed to
  1402.     'history.bak' and a new one created. This will also transform old style
  1403.     bid's (without timestamp) to new style with timestamp.
  1404.     [age] is the optional age in days, and defaults to 30 days.
  1405.     'oldbids' will show current values, 'oldbids now' will expire old bids
  1406.     immediately, with previously set age value (or default if not set)
  1407.  
  1408.   command 'expire <timer>' or 'expire now'
  1409.     <timer> again is in hours, to set the interval to check for expired
  1410.     messages. The expiration in controlled by the file '/spool/expire.dat'
  1411.     This file is a list of fields like
  1412.     area age
  1413.     where area is the area-name WITHOUT the '.txt' extension. Area CAN
  1414.     have subdirs denoted by either '.', '/' or '\' . Thus is *should*
  1415.     work with NNTP articles as well (see note 2). Age is the age in
  1416.     days of the message. If age is omitted, default is 21 days
  1417.     Area and age are separated by one space character !
  1418.     On expiry, any area.txt file is renamed to area.bak, and then all
  1419.     messages are checked for their age. Age comes from the 'Date: ' header.
  1420.     Thus with the 'bulletin date yes' command, BBS style messages can
  1421.     be properly expired.
  1422.     Some valid formats of the '/spool/expire.dat' file:
  1423.  
  1424.     #This is a comment
  1425.     #expire the allusa bulletins after 7 days
  1426.     allusa 7
  1427.     #assume the default for allor (ie 21)
  1428.     allor
  1429.     rec.radio/amateur\packet 10
  1430.  
  1431.     NOTE 1: the use of the mktime() function in the age calculations
  1432.     now forces the use of BCC instead of TCC. There is a sort-of working
  1433.     replacement of mktime() in expire.c for those that want to keep using
  1434.     tcc
  1435.  
  1436.     NOTE 2: I have tested the subdir expiration with mail files; NOT with
  1437.     NNTP originated messages. If this doesn't work, please let me know !
  1438.  
  1439. - mbox mailfor exclude. You can set a list of private mail areas to exclude
  1440.   from the mail-beacon. Same syntax as 'mb jumpstart exclude'.
  1441.   (mailfor code has been rewritten to be more efficient, less hd access)
  1442.  
  1443. - a user does NOT need TELNET_CMD permissions anymore to do the 'CALL'
  1444.   command. This is so that we can disallow telnet's and still allow
  1445.   connections to the call-server.
  1446.  
  1447. - included the latest PI driver in the sources (dated 920329)
  1448.  
  1449. - mailbox.c is now split into mailbox.c and mboxcmd.c
  1450.  
  1451. - mailbox subcommand 'mbox tdisc' sets the inactivity timeout value.
  1452.   If not zero, if mailbox user has not given any input for the timeout
  1453.   period, the mailbox connection is closed. This prevents idle users.
  1454.   Default is 0 seconds, ie off.
  1455.   (can be compiled out with MBXTDISC switch in config.h)
  1456.  
  1457. - ftp server inactivity timeout. Command 'ftptdisc'. Again, if not zero
  1458.   ftp connection will be closed after no data has flown for the timeout
  1459.   period. Defaults to 0 seconds, ie. off.
  1460.   This gets deactivated during file transfers in either direction;
  1461.   this is to avoid looong slooow transfers to cause a timeout.
  1462.   (can be compiled out with FTPTDISC switch in config.h)
  1463.  
  1464. - netrom subcommand 'netrom tdisc'. Sets a timer similar to the 'ax25 t4'
  1465.   timer. If there has been no incoming data over a level 4 circuit for the
  1466.   timeout period, the circuit is reset.
  1467.   Default is 0 seconds, ie. no timeout.
  1468.   This is usefull with idle forward sessions etc.
  1469.   (can be compiled out with NR4TDISC switch in config.h)
  1470.  
  1471. - mailbox 'SR' command works again (sending replies...)
  1472.  
  1473. - 'LL' command was broke since addition of 'LA'. Fixed again.
  1474.  
  1475. - mailbox 'RH' command, to read with all headers (same as 'V')
  1476.  
  1477. - R: header interpretation now allows both '@:bbs' and '@bbs' format
  1478.   as well as '?:bbs' and '?bbs' (for aplink etc.)
  1479.  
  1480. - mailbox 'SC' command to send one message to multiple people
  1481.   'Send Carboncopy'; it asks for a list of Cc:-addresses. A user can
  1482.   answer with one or more addresses, separated by comma's
  1483.   eg: 'Cc: johan@ece.orst.edu, ka7ehk@wg7j.ampr.org,test@nowhere.usa'
  1484.  
  1485. - mailbox 'XM n' to show or set (XM n) the number of lines for
  1486.   more-prompting. Telnet default is 23, others 0 (same as previously)
  1487.   MORE now works for ALL connection types, instead of only for telnets.
  1488.   MORE also works with all the 'L' commands (as well as R/V commands)
  1489.   (this is NOT logged(yet), so at each login, the defaults are set)
  1490.  
  1491. - smtp bactch processing fixed ala VK6RJM
  1492.  
  1493. - 'info' command now shows compile date/time.
  1494.  
  1495.  
  1496. VERSION 1.00 (920318)
  1497. ************
  1498.  
  1499. - New commands 'bulletin <check|date|return>'
  1500.   (Can be compiled out by undefining 'MAILFOR' in config.h)
  1501.  
  1502.   'bulletin date on/off' (DEFAULT: OFF)
  1503.   if on, the original message date from the last R: line will be
  1504.   used in the message 'Date:' line. Off acts as plain ka9q code.
  1505.   This allows a more correctly indication of the age of the message
  1506.   and improves automatic expiry of messages
  1507.   (with the 'at hhmm "shell expire..." ' command !)
  1508.   (NOTE: due to the lack of the mktime() routine in the TC2.0 libraries,
  1509.    the weekday field in the ARPA-date header is set to "BBS"; as soon
  1510.    as i get around rewriting that routine (it is in BC2.0 and above)
  1511.    that will be fixed. This causes no grief :-), just shows something like
  1512.    'Date: BBS, 12 Mar 92 11:21:00 UTC'
  1513.    the presence and length of this field are imperative, since at several
  1514.    places the string is scanned for the ',' (smtp) or the lenght (forward) )
  1515.  
  1516.   'bulletin return on/off' (DEFAULT: OFF)
  1517.   if set, when a message is received via bbs-forwarding
  1518.   a 'valid bbs-style return address' will be taken from the
  1519.   last R:-line, if one is present. This works with any message
  1520.   type that starts with R:-headers (so personal mail as well).
  1521.  
  1522.   the 'true from-address' is made as 'user@last-R:line-bbs'
  1523.   ie. the from-address is set to come from the user, as send
  1524.      with the 'S bla@blah < USER' line, and the 'home' bbs will
  1525.      be extracted from the last R: line found
  1526.      This allows a correct 'from' the be shown, and allows
  1527.      the SR (Send Reply) to work normal, however....
  1528.      eg. If the message is forwarded as 'SP W7ABC < W6XYZ'
  1529.      and the last R:-header is
  1530.      R:920312/1200z @:N7PQR.AB.CD.EF [TEST] #:0 Z:1
  1531.      then the 'From:' line will read:
  1532.      'From: w6xyz@n7pqr.ab.cd.ef'
  1533.  
  1534.      NOTE !!!!
  1535.      Since in most of these occasions, the from-hosts will NOT
  1536.      be tcp/ip hostnames (eg. wg7j.ampr.org) but rather
  1537.      bbs H-addresses (eg. WG7J.OR.USA.NA)
  1538.      YOU (ie. the sysop) HAVE TO MAKE SURE your system can handle
  1539.      these new addresses by setting up the ALIAS and REWRITE files
  1540.      to handle these, and then setup bbs-forwarding (if needed)
  1541.      as well with FORWARD.BBS
  1542.  
  1543.   'bulletin check on/off'
  1544.   When turned on, the forward.bbs file is scanned to build a list
  1545.   of bbs's we forward to. If on, 'bulletin check' will give this list.
  1546.   When a bbs connects, each time a bulletin or any message send with BID
  1547.   is forwarded the R: trail (if present) will be read for comparison
  1548.   to the list. If an R: line from a BBS we forward to is found,
  1549.   an 'X-Forwarded-To' header is added to the smtp headers of the messages.
  1550.   (They are written as the very first thing, to speed up the scanning
  1551.    of the headers during forwarding...)
  1552.   This 'X-Forwarded-To' header is lateron used by the
  1553.   forward code to realize that those bbs-es already have the
  1554.   message, and we don't have to try to send it,
  1555.   only to get a 'NO' reply. Thus not as much time and network
  1556.   bandwith is wasted...
  1557.  
  1558. - mailbox 'read' only sets the 'READ' flag when the area is the
  1559.   users private mail area. This prevents users with sysop privs
  1560.   that read other private areas to mark stuff as read.
  1561.   eg. I rewrite lots of private mail into two private mailboxes,
  1562.   north.txt and south.txt, to be forwarded in those directions.
  1563.   I don't want regular users to be able to read this, so they can't be areas.
  1564.   I want to be able to read them myself (sysop privs), but doing so would
  1565.   previously set the 'READ' status and cause a message not to be forwarded!
  1566.   Thus the fix...
  1567. - When a message originates here, and goes out over bbs-forwarding,
  1568.   after our R: header, a blank line is inserted followed by the message text.
  1569.   (previously the text followed immediately)
  1570. - when forwarding a message out of a private area, when the message is a
  1571.   bulletin, the message does not get deleted (previously it would). Reason:
  1572.   i rewrite certain buls to a private area, so that regular users can't read
  1573.   them (eg. 'sb sysop@allor'). I also forward these, and thus might miss the
  1574.   message if it gets killed after forwarding... (now 'sp sysop@allor' still
  1575.   get killed after forwarding :-( )
  1576. - by changing the subject-prompt G3ZZC's LANLINK's auto-upload
  1577.   is supported (some of my users run this).
  1578. - mailbox 'MS' shows mail-status; number of received,forwarded msgs. etc.
  1579.   also shown with 'mbox mailstat' command
  1580. - userlogging does NOT work for area names 'help' This allows new users
  1581.   to list help messages over and over with a simple L command, without
  1582.   having to know the 'internals' of the L-subcommands. Suggested by
  1583.   my local users
  1584. - user is only notified of new received private mail if user is currently
  1585.   in his own mail area. Prevent users from doing RM upon new mail nofication
  1586.   and getting the new messages in a different area. Suggested by my local
  1587.   users
  1588.  
  1589. - remote-sysops 1-packet pings are allowed.
  1590.  
  1591.  
  1592. VERSION 0.99 (920310)
  1593. ************
  1594.  
  1595. - Mailbox command 'RM','VM' and 'KM' to read-mine, verbose-mine and kill-mine
  1596.   This will read at the most the first 19 unread messages, or
  1597.   kill (ie. delete) the first 19 read messages IN THE CURRENT AREA.
  1598.   (19 is inherent to the cmdparser routine)
  1599.   Also 'LA' to list all messages, and LM same as L for compatibility
  1600.   (ie. list unread messages)
  1601. - A commandfile, ~/onexit.nos, if present, will be parsed when the 'exit'
  1602.   command is given, and after this the system exits. (from iw0cnb)
  1603. - When the remote-listener receives a valid 'exit' or 'reset' command,
  1604.   the same stuff is done as when 'exit' is typed on the keyboard
  1605.   ie. processes are notified, onexit.nos parsed etc...
  1606.   then if 'reset' a system reset occurs, otherwize a regular exit()
  1607. - Mailbox user display ('M' or 'mbox') is enhanced, showing
  1608.   detailed state of all users
  1609.   (users in sysop mode will only show to others with sysop privs,
  1610.    regular users will see that user to be 'Idle')
  1611. - New mbox command 'mbox mailfor <interval>'
  1612.   (Can be compiled out by undefining 'MAILFOR' in config.h)
  1613.   <interval> is in seconds. A 'Mail for:' beacon will be send
  1614.   every <interval> seconds to the address 'MAIL'.
  1615.   It contains a list of all private mailfiles
  1616.   (ie. none-areas) that have unread mail.
  1617.   The beacon is also send when the timer is set,
  1618.   and can be forced (ie. kicked) with 'mbox mailfor now'
  1619.   Simple 'mbox mailfor' will show the timer value and the current
  1620.   users that have mail waiting...
  1621. - 'netrom load' now works !
  1622.  
  1623. VERSION 0.98 (920303)
  1624. ************
  1625. - LZW compression in smtp now works (thanks Gerard!(pa0gri))
  1626. - Mailbox minimal tcp negotiation added (thanks Bob!)
  1627. - (hopefully) fixed the last incompatibilities with BID's when
  1628.   forwarding.
  1629. - Made the 'R:' line "bulletproof" for certain fields not set (from iw0cnb).
  1630. - fixed bug that reset number of new messages when new mail was received
  1631.   in current public area
  1632. - made 'domain translate' work correctly again (from g1emm)
  1633. - fixed jumpstart problem (actually ax.25 spec 'problem') when a second
  1634.   SABM frame is received. (from Ron Murray, vk6zjm)
  1635. - trace only outputs to command session or files; ie. doesn't garble
  1636.   other sessions anymore (from iw0cnb)
  1637. - added a 'call' command to mailbox.
  1638.   (code is optional via the CALLBOOK switch in config.h)
  1639.   This is an automatic telnet connect
  1640.   to a host and port set with the 'callserver' command.
  1641.   Format is 'callserver <host> <port>' where the callbook server
  1642.   resides on tcp-port <port> on <host>
  1643.   This is mainly useful for gateway systems on Internet.
  1644.   It allows users to use the callbook-server at buffalo.edu in an easy way.
  1645.   Note: User needs to have telnet permissions
  1646.   eg: 'callserver marvin.cs.buffalo.edu 2000'
  1647.   then the mailbox 'call' command will try to telnet to this host/port
  1648. - added the 'at' timed command execution, from IW0CNB's code
  1649.   (this can be compiled optionally with the ATCMD switch in config.h)
  1650.   The "at" command with no arguments shows the list of events that are to
  1651.   be executed.
  1652.   at yymmddhhmm <command>
  1653.     Executes <command> at specified date,expressed in Year-Month-Day-Hour-Min.
  1654.     If specified date is past, the command is not executed.
  1655.   at hhmm <command>
  1656.     Executes <command> at specified hour and minute of the current day, or of
  1657.     the next day if the specified time is past.
  1658.   at now+hhmm <command>
  1659.     Executes <command> hh hours and mm minutes from now. hh and mm can be up
  1660.     to 99.
  1661.  
  1662.   Notes and examples:
  1663.   <command> may be any valid NOS command, possibly enclosed in quotes,
  1664.   as well as a DOS shell command.
  1665.   If you want multiple commands to be executed, use the "source <filename>"
  1666.   command.
  1667.   The third mode of operation requires the exact writing "now+" in lower case
  1668.   and without spaces between hhmm.
  1669.  
  1670.   Single command execution examples:
  1671.   at 9202150900 exit   /* Shuts off on 15 Feb 92 at 9:00am */
  1672.   at 2245 "! /c pkzip oldmail \spool\mail\*.*"
  1673.   at now+0500 "smtp kick"
  1674.  
  1675.   Multiple command execution examples:
  1676.   at now+0859 "source cleanup.net"
  1677.  
  1678. (VERSION 0.97b)
  1679. - fixed little incompatibility with texnet '*** linked' stuff
  1680. - added check for console on all session-invoking commands.
  1681.   (ie. you can not do 'dir',etc. from remote sysop anymore!)
  1682.  
  1683. VERSION 0.97 (920220)
  1684. ************
  1685.  
  1686. - User status keeping.
  1687.   The mailbox now keeps track of the last listed message
  1688.   in each area for each user. Next time the area is listed, by default
  1689.   only newer messages are listed. 'L start# stop#' and 'LL #' will
  1690.   still list all messages.
  1691.   This info is kept in a file 'areaname.USR' in \spool\mail .
  1692.   eg. the area 'amsat' has it's info in \spool\mail\amsat.usr
  1693.   The content is simply a list of user names, followed by the id-number
  1694.   of the last message listed in this area.
  1695.   The content is updated when the user switches areas, or logs out.
  1696.   The .usr files are build completely automatically, there is nothing
  1697.   you need to do to get things started.
  1698.   This feature can be turned of by undefining USERLOG in config.h
  1699.   It currently DOES NOT work in areas in subdirectories under ~spool/mail .
  1700.  
  1701. - The expanded bbs-forward R: line gets only send if all of
  1702.   mbox haddress, fwdinfo, qth and zip are set. Otherwize a simplified
  1703.   R: line gets send with only time, @-bbs and message-#
  1704.  
  1705. - the mailbox '*** linked to' handling is a bit more robust.
  1706.   Every user has permission to do this now, but if sysop-password is not
  1707.   set, SYSOP_CMD priviledges are reset.
  1708.   It will not allow some one to reset the NO_SENDCMD, NO_READCMD or
  1709.   NO_3PARTY protection, if they were disallowed in the original login.
  1710.   It now also sets the new call for outgoing gateway connects.
  1711.   Handles the TEXNET 'linked to' message, but doesn't use the ssid
  1712.   from this (i see no need for this)
  1713.   If 'linked to' is done, this logged to the logfile
  1714.  
  1715. VERSION 0.96
  1716. ************
  1717.  
  1718. - requested by wb5bbw: logging of mailbox telnet/netrom/ax25 gateway connects
  1719.  
  1720. - 'mbox expert' command is gone. Instead default state can be set for each
  1721.   user in ftpusers database. Use value of 16384 to set user as expert.
  1722.   X command from mailbox will still toggle, but NOT update the default in
  1723.   ftpusers.
  1724.  
  1725. - hidden ML mailbox command to show previous users,
  1726.   also shown with 'mbox past'
  1727.  
  1728. - lzw compression in smtp (same as in gri2.0d)
  1729.   (disabled in the distribution .exe, since there are reportedly bugs!)
  1730.  
  1731. VERSION 0.95
  1732. ************
  1733.  
  1734. - jumpstart has been ruggidized. Lapb now sets a flag in the ax.25 control
  1735.   block to indicate wether jumpstart was used. If not used, the first line
  1736.   to trigger the mailbox is eaten again.
  1737.   Also, a list of calls to excluded from jumpstart can be set (or shown) with:
  1738.   mbox jumpstart exclude <one or more call>
  1739.   eg:
  1740.   'mbox jumpstart exclude wg7j-4 kb7bhf-5 pa3dis'
  1741.   Now when either one of those connects, jumpstart will not be used.
  1742.   You can show the list of excluded calls with 'mbox jumstart exclude'
  1743.   or add more with additional 'mbox jumpstart exclude call call call...'
  1744.   lines
  1745.  
  1746. - added Jerzy Taraziuk's ksubr mods  (main-process stack checking)
  1747.  
  1748. - added code in lapb.c to drop non-local ax.25 routes when a connection closes
  1749.   (ie. routes coming from gateway users using digis etc.) Inspired by K4TQL
  1750.   Changed routes added in the mailbox gateway and in doconnect() from AX_LOCAL
  1751.   to AX_AUTO, such that these routes are only temporary.
  1752.   The only permanent ax.25 route entries are now those entered with the
  1753.   'ax25 route add' command.
  1754.  
  1755. - added Mike Billow, N1BEE's minheap trick in pc.c to (hopefully) resolve
  1756.   memory problems when shelled out with the multitasking shell on
  1757.  
  1758. - additional config.h switches to undefine multitasking shell code,
  1759.   ax.25 ip autoroute, shell-command and some unneeded sessions
  1760.   (for switch setup)
  1761.  
  1762. - dropped autoroute in the distribution because it causes problems
  1763.   when using vc for ip links. It still can be added by changing config.h
  1764.   and recompiling
  1765.  
  1766.  
  1767. VERSION 0.94
  1768. ************
  1769.  
  1770. - bbs flag in ftpuser:
  1771.   IS_BBS     -    the user should be treated as a bbs
  1772.   (#define IS_BBS      8192    /*This user is a bbs*/)
  1773.  
  1774. - node list in mailbox 'N' command is sorted, per Doug Crompton's code
  1775.   Sort can be done by alias or call, set by 'netrom route sort' command
  1776.   default: by ALIAS
  1777.  
  1778. - netrom neighbours can be listed with 'NR' from mailbox
  1779.   this also shows if a route has been used in the last 60 seconds
  1780.   (an '>' shows up in front)
  1781.  
  1782. - better protection for mbox password and lock commands
  1783.   (only access via keyboard, suggested by Gerard, pa0gri)
  1784.  
  1785. - fixed a longtime bug with loosing the BID when forwarding bbs mail
  1786.   that was received with a bid from someone else
  1787.  
  1788. - little bug fixed that would show multiple paths in the ftpserver pwd command
  1789.  
  1790. - when jumpstart is off, the line that triggers the mailbox (ie. the CR)
  1791.   will be eaten again, like in plain KA9Q (instead of being taken as a
  1792.   command, as in previous versions)
  1793.  
  1794. - ala PA0GRI:
  1795.   mailbox chat is now 'operator'
  1796.   mailbox users is now 'mboxusers'
  1797.   mailbox upload is back !
  1798.  
  1799. VERSION 0.93 (920126)
  1800. ************
  1801.  
  1802. - anonymous permission ala pa0gri's 'univperm'
  1803.  
  1804. - Additional mailbox user permissions:
  1805. NO_SENDCMD -  disallow all mail, except to 'sysop' or 'SYSOP'
  1806. NO_READCMD -  disallow reading of any mail
  1807. NO_3PARTY  -  disallow 3rd-party mail to be send
  1808. These bits need to be set in order to disallow those actions,
  1809. such that ftpusers need not be modified if you don't want to mess
  1810. with them
  1811.  
  1812. Thus permissions are now:
  1813. #define AX25_CMD        8       /* AX.25 gateway operation allowed */
  1814. #define TELNET_CMD    16    /* Telnet gateway operation allowed */
  1815. #define NETROM_CMD    32    /* NET/ROM gateway operation allowed */
  1816. #define SYSOP_CMD    64    /* Remote sysop access allowed */
  1817. #define EXCLUDED_CMD    128    /* This user is banned from the BBS */
  1818. /* 256 and 512 are used in PPP*/
  1819. #define NO_SENDCMD  1024    /*Disallow send command*/
  1820. #define NO_READCMD  2048    /*Disallow read command*/
  1821. #define NO_3PARTY   4096    /*Disallow third-party mail*/
  1822.  
  1823. - additional 'cls' command to clear the command-session screen
  1824.  
  1825. - mailbox command to set offset between computer's time and UTC.
  1826.   this is used with forwarding ax.25 bbs mail such that the R: line
  1827.   indicates correct UTC time with the 'z'.
  1828.   ie. if you don't have your computer running with UTC time,
  1829.   set this parameter.
  1830.  
  1831.   eg: on the west coast, local time is UTC - 8 hours.
  1832.       if your computer runs with local time, issue the following
  1833.       command:
  1834.       'mbox utc -8'
  1835.       The default value is 0, ie computer time = UTC .
  1836.  
  1837.       Both positive and negative offsets (for those outside the US :-))
  1838.       are supported. The code will automatically account for jumps into
  1839.       the next or previous day, or year and checks for leap-years on
  1840.       february 28/29
  1841.  
  1842. - Netrom Level 4 problem (not sending data queueud up)
  1843.   is fixed (ala Dave Perry, VE3IFB)
  1844.  
  1845. - Remote Sysop password protection
  1846.     Set the password with 'mbox password your_password'
  1847.     Maximum password lenght is 30 chars.
  1848.     NOTE: Users still need sysop premission in the ftpusers file !
  1849.     (this is easy to change in the soures)
  1850.     If the password is not set, users with sysop priviledges don't get to
  1851.     pass the query, but jump into sysop-mode right away. (the old way!)
  1852.     If it is set, 5 numbers are prompted. The user then needs to answer
  1853.     with the correct 5 characters from the password. The first char is number
  1854.     zero !
  1855.     You can give as many lines answering the query, to mislead people
  1856.     listening in :-). End with a blank line, and if one of the answers you
  1857.     gave was correct, sysop permission is granted!
  1858.  
  1859.     eg: 'mbox password *12345abCDE'
  1860.     you give the '@' command:
  1861.     system prompts: '3 7 2 9 0'
  1862.     you answer:     agk4e
  1863.                     thier
  1864.                     3b2D*           <--- the right answer !
  1865.                     9qPr&
  1866.                     <blank line>    <--- just hit <CR>
  1867.  
  1868.     Sysop permission is now granted !
  1869.  
  1870. -Forced NS16550 attaching
  1871.     optional 'f' parameter in 'attach asy' forces the presence of the 16550.
  1872.     eg: attach asy 0x3f8 4 slip sl0 2012 1006 2400 vf
  1873.     sets VJHeader compression ( the 'v') and forces the 16550 ('f')
  1874.  
  1875. VERSION 0.92 (920114)
  1876. ************
  1877.  
  1878. -Some additional configuration switches in config.h
  1879. These save lots of memory (MBFWD and ALLCMD undef'd save about 50k!)
  1880. MBFWD  - if not defined, excludes mailbox forwarding code
  1881.          and related commands
  1882. ALLCMD - if not defined, excludes a bunch of rarely used commands
  1883.          (I this did for the internet-slip server we run here)
  1884.     Excluded are:
  1885.     delete,rename,more,tail,dump,status,motd,cd,dir,finger,fkey,info,mail,mkdir
  1886.     pwd,record,rmdir,watch,test,upload,bbs
  1887. ALLSERV - if not defined, only the basic servers are included
  1888.     Excluded are:
  1889.     discard,echo,tip,ttylink servers,
  1890.     the ttylink command and the split screen code
  1891. Along with these are some fixes regarding NRS and TRACE. Main.c and scc.c
  1892. had a few things not properly ifdef'd such that modules needlesly were pulled
  1893. in at link-time.
  1894.  
  1895. -Kicking or stats of sockets made easier :
  1896. 1-'tcp|ax25|netrom kick' or 'tcp|ax25|netrom stat' commands
  1897.     can be given just the first 4 numbers.
  1898.     The '0008' is automatically appended when a lenght of 4 is detected.
  1899.     eg: 'tcp kick 76ea' is the same as 'tcp kick 76ea0008'
  1900.     (this is ala N1BEE)
  1901.  
  1902. 2- New command 'skick <socket#>' to automatically kick whatever type the
  1903.     socket is. This kicks valid sockets of type TCP, AX25 and NETROM.
  1904.     Use 'socket' command to get a list of used sockets.
  1905.  
  1906. -AX.25 forwarding is changed.
  1907. 1) the R: line is ALWAYS sent.
  1908.  
  1909. 2) some additional R: line fields can be set with
  1910.     -mbox zip <your zip>           : sets zip code to be used
  1911.         eg. 'mbox zip 97330'             will show 'Z:97330' in R: line
  1912.     -mbox haddress <your Haddress> : sets Hierarchical address
  1913.         eg. 'mbox haddress #CRV.OR.USA' (note NO leading period!)
  1914.                 will show '@WG7J.#CRV.OR.USA' in R: line (assuming Mycall
  1915.                 is set to WG7J)
  1916.     -mbox fwdinfo <your info>      : sets [info]
  1917.         eg. 'mbox fwdinfo "BCARES BBS"'  will show '[BCARES BBS]' in R: line
  1918.         eg. 'mbox fwdinfo Testing        will show '[Testing]' in R: line
  1919.     -mbox qth <"qth, St">          : sets your qth (and state)
  1920.         eg. 'mbox qth "Corvallis, OR"'   will show 'Corvallis, OR' in R: line
  1921.         eg. 'mbox qth Corvallis          will show 'Corvallis' in R: line
  1922.  
  1923. 3) A message number is sent.
  1924.    The message number sent in the '#:' segment comes from the 'id AA####'
  1925.    part of the smtp header.
  1926.  
  1927.     The R: line looks as follows:
  1928. R:date/time @:MYCALL.HADDRESS [your info] your-qth-st #:IDNUM Z:your-zip
  1929.  
  1930. 4) Optionally sending of the smtp headers.
  1931.     Sometimes a message will come in over SMTP and go out via AX.25 forwarding.
  1932. Normally the SMTP headers of the message are NOT sent. Thus there is no trace-
  1933. back trail beyond your system, since the only trace is your R: line.
  1934. If you want to include most of the SMTP headers from all previous
  1935. delivery hops, then use the command :
  1936.  
  1937. 'mbox smtptoo on|yes|1'     (default: OFF)
  1938.  
  1939. (This does not send some duplicate line line Subject: etc. that already have
  1940. been sent)
  1941.  
  1942. VERSION 0.91 (920103)
  1943. ************
  1944. These mods originated in my work on the V25/V40 port of NOS. Version number
  1945. is taken from that code-version.
  1946.  
  1947. Several NET/ROM changes:
  1948.  
  1949. One netrom call, different from any other interface call can be set with
  1950. 'netrom mycall <nrcall>'   (or 'ifconfig netrom linkaddress yourcall')
  1951. This is the call used in netrom route broadcasts !
  1952.  
  1953. Netrom alias setting:
  1954. Either the 'old' way can be used:
  1955. netrom interface <label> <alias> <pathqualilty>
  1956. or the alias can be set with 'netrom alias <myalias>'.
  1957.  
  1958. If 'netrom alias' has not been set when the old 'netrom interface' command
  1959. is given, the alias will be taken from this.
  1960. If 'netrom alias' has been set, the 'netrom interface' alias is ignored.
  1961. If the alias is set with the 'netrom interface' command, later
  1962. 'netrom alias' commands will override the alias !
  1963.  
  1964. Thus there is only ONE alias for the system
  1965. This alias is used for ALL active netrom interfaces, wether you set
  1966. different aliases in the 'netrom interface' commands or not !
  1967.  
  1968. This alias is also used in netrom route broadcasts.
  1969. (
  1970. The 'netrom interface' commands doesn't need the alias in it anymore
  1971. You can use a simlified version of the netrom interface command:
  1972. 'netrom interface <ifname> <quality>'
  1973. )
  1974.  
  1975. Connects (and digi's) to this netrom call and to the alias (with ANY ssid)
  1976. are accepted.
  1977.  
  1978. If not running netrom, you can still set the netrom alias, and thus
  1979. allow connections to the alias...
  1980. (digipeating also works then, with any ssid)
  1981.  
  1982. SOME EXAMPLES:
  1983. ******
  1984. eg. 1
  1985. if you have the following configured :
  1986.  
  1987. netrom mycall WG7J-11
  1988. netrom alias WGJBOX
  1989. netrom interface ax0 192     #assuming ax0 and ax1 are valid interfaces
  1990. netrom interface ax1 191
  1991.  
  1992. then netrom broadcasts on both ax0 and ax1 will announce you as WGJBOX:WG7J-11
  1993. users can connect (or digi's via (if enabled)) WG7J-11, WGJBOX-x, where x=0-15
  1994. Connects to the regular ax25 mycall, or other valid interface calls
  1995. set with ifconfig are accepted as well.
  1996. ******
  1997. eg. 2
  1998. if you don't run netrom but still want an alias for your system
  1999. (and netrom-support is compiled in your executable :-))
  2000. then simply set the alias:
  2001.  
  2002. netrom alias WGJBOX
  2003.  
  2004. This allows connections and digi's (if enabled) to WGJBOX-x, where x=0-15
  2005. Connects to the regular ax25 mycall, or other valid interface calls
  2006. set with ifconfig are accepted as well.
  2007. ******
  2008.  
  2009. -LOTS of MAILBOX changes:
  2010.  
  2011. - mailbox outgoing connects use the user call !
  2012.   If a user logs in over telnet, the login name will be used as call,
  2013.   if:
  2014.   A -  there is at least 1 digit (0-9) in the name
  2015.   B -  the name can successfully be set to a call
  2016.     (ie, 'anonymous' won't work !)
  2017.   If the above 2 rules don't work, ax.25 and netrom permission are
  2018.   denied, no matter what they we're set to in ftpusers
  2019.   Be careful, this still allow someone with '4us' as login and
  2020.   permissions set, to go out on ax.25 or netrom with call '4us-15' !!
  2021.  
  2022.  
  2023. JUMPSTART:
  2024. The mailbox is jump-started when:
  2025. the remote address connecting to us is not a known netrom neighbour and
  2026. the interface mode is not VC. If both these are true, it is assume to be
  2027. a user connecting to the mailbox, and the mailbox is jump-started
  2028. upon the SABM frame is received and answered. Thus NO ADDITIONAL cr or whatever
  2029. is needed to trigger the mailbox...
  2030.  
  2031. In Yeoman's terms: regular users get the prompt IMMEDIATELY upon connecting!!
  2032.  
  2033. The above is on by default, but can be changed (ie. turned off) with
  2034. 'mbox jumpstart on/off' (default: ON)
  2035.  
  2036. MAILBOX PROMPT:
  2037. 'mbox expert on/off'  (default: OFF)
  2038. Start user in Expert mode; ie short prompt. This can be toggled from
  2039. the mailbox with the (X)pert command.
  2040.  
  2041. 'mbox nrid on/off'    (default: OFF)
  2042. If on, the prompt is 'ALIAS:CALL} ' followed by the whole list of
  2043. commands when not in expert mode.
  2044. If off, the prompt is as normal in none-expert mode, and '> ' in
  2045. expert mode. BBS prompt is unchanged.
  2046.  
  2047. Thus,
  2048. With nrid OFF and expert OFF, the system looks like 'normal':
  2049. Msg #0: A,B,.....,Z,?>
  2050.  
  2051. With nrid OFF and expert ON, you get a short prompt :
  2052. >
  2053.  
  2054. With nrid ON and expert ON, it looks like a 'standard netrom' switch:
  2055. WGJBOX:WG7J-11}
  2056.  
  2057. With nrid ON and expert OFF, it looks like :
  2058. WGJBOX:WG7J-11} Msg #0: A,B,.....,Z,?>
  2059.  
  2060. USER COMMAND-CHANGES
  2061. No separate pseudo-netrom interface (the old N command) exists anymore.
  2062. (N)odes has taken its place, giving the regular list of nodes
  2063.  
  2064. New mailbox user commands are:
  2065. (X)pert: toggle expert status
  2066. (P)orts: gives port/interface description
  2067. (N) nodename : gives more descriptive information
  2068. (U)sers: shows all users and outbound link with type (ie. telnet,netrom,ax25)
  2069.     (the Upload command has been sarificed for this, since no-one around here
  2070.      uses that)
  2071. (C)onnect:
  2072. 'c' is the old chat with sysop.
  2073. 'c name' is a netrom connect, accepting BOTH ALIAS and CALL. Gives error
  2074.          and help if name isn't either one.
  2075. 'c port call' is an ax25 connect. Uses the USER's call with inverted SSID !
  2076.         gives help on error.
  2077.  
  2078.  
  2079. -KEYBOARD LOCKING
  2080. 'lock password <your unlock password>' sets the password
  2081. typing this DOES NOT clear the screen, so set it in the autoexec file
  2082. or type lots of CR's to clear the screen after this
  2083. then typing 'lock' will disable any command from being executed
  2084. until the password is type. During this input echoing is disabled,
  2085. so that your password will not be echoed to the console.
  2086. This only works form the keyboard, so that remote sysops cannot lock you
  2087. out !
  2088.  
  2089. -MINOR COSMETIC CHANGES:
  2090.  
  2091. -'ifconfig <iface> description "your description"'
  2092. This shows up in the new (P)orts command in the mailbox,
  2093. as well as the ifconfig list
  2094.  
  2095. - G4JEC's ax.25 ip autoroute code is added.
  2096.   This code automatically adds a temporary ip route to the target
  2097.   (if none exists) when ip packets are received.
  2098.   Configurable with:
  2099.   'autoroute on/off'. (default: OFF)
  2100.  
  2101.   As suggested by Mike Billow, this only works when RSPF is not active.
  2102.   Attaching the first rspf interface automatically turns it off, and
  2103.   autoroute can not be turned on anymore after that.
  2104.  
  2105. -mailbox sysop (@) is protected against 'exit'. This now simply returns
  2106.  you to the mailbox, instead of exiting net.exe!
  2107.  
  2108. -kiss attach checks for asy interface type (such that you cannot attach
  2109.  kiss ontop of the netrom interface etc.)
  2110.  
  2111. -mbuf.c interrupt allocation fixed per hb9rwm
  2112.  
  2113.  
  2114.