=======                                             NOSview [301]
!CMDSET
=======

This file contains details of all of the commands to be found in
the major NOS packages generally available.

Note that not all commands are available in every package.

Default parameters are shown in braces; e.g. {30}.

_________________________________________________________________

  ?                        (help: list of top-level NOS commands)
  ! [<external_DOS_command>]                 (break out to shell)
  #                                                (comment line)
  F10                               (escape to NOS command level)
_________________________________________________________________

  abort       [<session_number>]                            (FTP)

  arp

  arp add     <host> ether|ax25|netrom|arcnet
                                    <ether_address>|<callsign>

  arp drop    <host> ether|ax25|netrom|arcnet
  arp flush

  arp publish <host> ether|ax25|netrom|arcnet
                                    <ether_address>|<callsign>

  asystat

  attach 3c500  <ioaddress> <vector> arpa <interface> <qlen>
                                             <mtu> [<ip_address>]

  attach asy    <ioaddress> <vector>[c] ax25|nrs|ppp|slip|raw
                    <interface> <buffers> <mtu> <speed> [options]

                                     option c: enable RTS/CTS
                                            r: enable RLSD/CD
                                            v: enable compression

  attach axip   <interface> <mtu> <their_host> <my_axip_callsign>

  attach drsi   <ioaddress> <vector> ax25 <interface> <bufsize>
                    <mtu> <chan_a_speed> <chan_b_speed>
                    [<ip_address_a>] [<ip_address_b>]

  attach eagle  <ioaddress> <vector> ax25 <interface> <buffers>
                  <mtu> <speed> [<ip_address_a>] [<ip_address_b>]

  attach hapn   <ioaddress> <vector> ax25 <interface>
                    <rx_bufsize> <mtu> csma|full [<ip_address>]

  attach hs     <ioaddress> <vector> ax25 <interface> <buffers>
                    <mtu> <txdelay> <persistence>
                    [<ip_address_a>] [<ip_address_b>]

  attach kiss <existing_asy_interface> <port> <interface> [<mtu>]

  attach netrom

  attach packet <vector> <interface> <tx_queue_length>
                  <mtu> [<ip_address>]

  attach pc100  <ioaddress> <vector> ax25 <interface> <buffers>
                  <mtu> <speed> [<ip_address_a>] [<ip_address_b>]

  attach pi

  attach scc    <devices> init <ioaddress> <spacing> <Aoff>
                    <Boff> <Dataoff> <intack> <vector> [p]<clock>
                    [hardware_type] [<param>]

  attach scc    <chan> slip|kiss|nrs|ax25 <interface> <mtu>
                    <speed> <bufsize> [<callsign>]

  attach slfp

  attended        [on|off]                                   {on}

  autoroute       [on|off]                                  {off}

  ax25 bc         <interface> [on|off]                      {off}
  ax25 bcinterval [<seconds>]                                 {0}
  ax25 bckick     <interface>
  ax25 bctext     ["<broadcast_text>"]
  ax25 blimit     [<count>]                                  {30}
  ax25 dest       [<interface>]
  ax25 digipeat   [on|off]                                   {on}
  ax25 filter     [0|1|2|3]                   0=src+dest      {0}
                                              1=dest only
                                              2=src only
                                              3=neither
  ax25 flush
  ax25 heard      [<interface>]
  ax25 hearddest  [<interface>]
  ax25 irtt       [<millisecs>]                            {5000}
  ax25 kick       <&AXB>
  ax25 maxframe   [<window_size>]                             {1}
  ax25 mycall     [<callsign>]
  ax25 paclen     [<bytes>]                                 {256}
  ax25 pthresh    [<bytes>]                                 {128}
  ax25 reset      <&AXB>
  ax25 retry      [<n>]                                      {10}
  ax25 route
  ax25 route add  <target_callsign> [<digi_callsign> ...]
  ax25 route drop <target_callsign>
  ax25 route mode <target_callsign> [vc|datagram|interface]
  ax25 status     [<&AXB>]
  ax25 t3         [<millisecs>]                               {0}
  ax25 t4         [<seconds>]                               {300}
  ax25 timertype  [original|linear|exponential]     {exponential}
  ax25 version    [1|2]
  ax25 window     [<bytes>]                                {2048}

_________________________________________________________________

  bbs

    Help      ? (command list)
    Area      A [<area_name>]
    Bye       B
    Chat      C
 or Connect   C <netrom_node>
              C <port> <callsign>
    Download  D <filename>                (ASCII file)
              DU <filename>               (uuencoded binary file)
    Escape    E [<esc_char>]                                 {^X}
    Finger    F [<username>][@<host>]
    Gateway   G <interface> <callsign> [<digi_callsign>...]
    Help      H [<command_name>]
    Info      I
    Heard     J [<interface>]
    Kill      K <n> ...
    List      L [<n> ...]
    Mbxusers  M
    Nodes     N
 or Netrom    N                      subcommands:  c <callsign>
                                                   i
                                                   n <callsign>
                                                   u
    Operator  O
    Ports     P
    Read      R <n> ...

    Send      S <username>  [%<host>][@<host>]
                   [< <from_addr>] [$<bulletin_id>]

    Forward   SF <username> [%<host>][@<host>]
                   [< <from_addr>] [$<bulletin_id>]

    Reply     SR [<n>]

    Telnet    T <host> [well_known_port_number>]             {23}
    Upload    U <filename>
    Verbose   V <n> ...
    What      W [<directory>]
    Expert    X
    Zap       Z <filename>

    Sysop     @


  bootp      defaultfile [<boot_file> | default]
  bootp      dns [<ip_address>]
  bootp      dyip [<interface> |
                   <interface> <ip_addr1> <ip_addr2> |
                   <interface> off]
  bootp      homedir [<directory> | default]
  bootp      host [<host_addr> <hardware_type> <hardware_address>
                   <ip_address> [<boot_file>]]
  bootp      logfile [<filename> | default] [on|off]
  bootp      logscreen [on|off]
  bootp      rmhost <ip_address>
  bootp      start
  bootp      stop

  bootpd

_________________________________________________________________

  cd         [<directory>]

  close      [<session_number>]

  cls

  comm       <interface> "<string>"

  connect    <interface> <callsign> [<digi_callsign> ...]

_________________________________________________________________

  delete     <filename>

  detach     <interface>

  dialer     <interface> [<file>[<seconds> [<pings>[<host>]]]]

                            control up|down
                            send <string>
                            speed 9600|4800|2400|1200|300
                            status up|down
                            wait <millisecs> [<string> [speed]]

  dialer     <interface> <seconds> <target_host>
                                             <dialer_filename>

  dialer     <interface> 0                     (turns dialer off)

  dir        [<directory>|<filename>]

  disconnect [<session_number>]                           (AX.25)

  domain addserver <host> [<host> ...]

  domain cache clean [on|off]                               {off}
  domain cache list
  domain cache size  [<entries>]                             {20}
  domain cache wait  [<seconds>]                            {300}

  domain dropserver <host> [<host> ...]
  domain list
  domain maxwait    [<seconds>]                              {60}
  domain query      <host>

  domain remote add   <host> [<host> ...]
  domain remote drop  <host> [<host> ...]
  domain remote list
  domain remote retry [<n>]
  domain remote trace [on|off]

  domain retry      [<n>]                                     {2}
  domain suffix     [<domain_suffix>]                 {ampr.org.}
  domain trace      [on|off]                                {off}
  domain translate  [on|off]                                {off}
  domain verbose    [on|off]                                 {on}
  domain xyzzy

  drsistat

  dump  <hex_memory_address> | <.> [<decimal_range>]
                   (memory address is 8 hex chars without colon)

_________________________________________________________________

  eaglestat
  echo   [accept|refuse]                     (telnet)    {accept}
  eol    [standard|null]                     (telnet)  {standard}

  escape <literal_character>                             {CTRL-X}
                                                 (also F10 on PC)
  etherstat
  exit

_________________________________________________________________

  finger [<username>]@<host>       (no spaces between parameters)


  fkey
  fkey   <key_number> [<value> | "<string>" ]     (use ^M for CR)

  f1  59 | sf1  84 | cf1   94 | af1  104 | pgup  73 |
  f2  60 | sf2  85 | cf2   95 | af2  105 | pgdn  81 |
  f3  61 | sf3  86 | cf3   96 | af3  106 | home  71 |
  f4  62 | sf4  87 | cf4   97 | af4  107 | end   79 |
  f5  63 | sf5  88 | cf5   98 | af5  108 | arup  72 |
  f6  64 | sf6  89 | cf6   99 | af6  109 | ardn  80 |
  f7  65 | sf7  90 | cf7  100 | af7  110 | ar l  75 |
  f8  66 | sf8  91 | cf8  101 | af8  111 | ar r  77 |
  f9  67 | sf9  92 | cf9  102 | af9  112 | ins   82 |
  f10 68 | sf10 93 | cf10 103 | af10 113 | del   83 |


  ftp <host>

    ascii
    batch   [on|off]
    binary
    cd      <remote_dir>
    dele    <remote_file>
    dir     [<remote_dir>|<remote_file> [<local_file>]]
    flow    [on|off]
    get     <remote_file> [<local_file>]
    hash
    list    [<remote_dir>|<remote_file> [<local_file>]]
    ls      [<remote_dir>|<remote_file> [<local_file>]]
    mget    <remote_file> [<remote_file> ...]
    mkdir   <remote_dir>
    mput    <local_file>  [<local_file> ...]
    nlst    [<remote_dir>|<remote_file> [<local_file>]]
    pass    <password>
    put     <local_file>  [<remote_file>]
    pwd
    quit
    rmdir   <remote_dir>
    type    [a | i | l <bytesize> ]                           {a}
    user    <username>
    verbose [<n>]                                n=0: errors only
                                                   1: + summary
                                                   2: + progress
                                                   3: + hash

  ftype    [ascii | binary | image | logical <size>]      {ascii}

  F10                            (to escape to NOS command level)
_________________________________________________________________

  hapnstat
  help                           (list of top-level NOS commands)

  hop check   <host>
  hop maxttl  [<hops>]                                       {30}
  hop maxwait [<seconds>]                                     {5}
  hop queries [<count>]                                       {3}
  hop trace   [on|off]                                      {off}

  hostname    [<hostname>]
  hs

_________________________________________________________________

  icmp echo   [on|off]      (must be on for one-shot ping)   {on}
  icmp status
  icmp trace  [on|off]      (turn off for hop check)        {off}

  ifconfig
  ifconfig [<interface>]
  ifconfig <interface> broadcast     <bcast_ip_address>
  ifconfig <interface> description   ["<description>"]

  ifconfig <interface> encapsulation
                            none|ax25|encap|ether|slip|netrom|ppp

  ifconfig <interface> forward       <fwd_interface>
  ifconfig <interface> ip_address    <ip_address>
  ifconfig <interface> linkaddress   <callsign|ether_addr>
  ifconfig <interface> mtu           <bytes>
  ifconfig <interface> netmask       [0x]<hexmask>
  ifconfig <interface> rxbuf         <buffer_size>

  info

  ip access  permit|deny|delete <ip_address>|all[/<bits>]
                     <interface>
                     [<low_port_no>|none [<high_port_no>]]

  ip address [<ip_address>]
  ip rtimer  [<seconds>]                                     {30}
  ip status
  ip ttl     [<hops>]                                       {255}

  isat       [on|off]                                       {off}

_________________________________________________________________

  kick       [<session_number>]
_________________________________________________________________

  lock       [password <"password_string>"]

  log        [<log_filename>|stop]

  lzw        mode [fast | compact]                      {compact}
  lzw        bits [<n>]                                       {9}

_________________________________________________________________

  mail

  mbox
  mbox attend     [on|off]
  mbox expert     [on|off]                                  {off}
  mbox fwdinfo    ["<forward_info>"]
  mbox haddress   ["<home_address>"]
  mbox jumpstart  [on|off]                                  {off}
  mbox kick
  mbox maxmsg     [<n>]                                     {200}
  mbox motd       ["<string>"]
  mbox nrid       [on|off]
  mbox operator   [<ip_address>]
  mbox password   "<password_string>"
  mbox qth        ["<qth_string>"]
  mbox secure     [on|off]
  mbox smtptoo    [on|off]
  mbox status
  mbox timer      [<seconds>]                                 {0}
  mbox tiptimeout [<seconds>]                               {180}
  mbox trace      [on|off]                                  {off}
  mbox utc        [+|-][<n>]
  mbox zipcode    ["<zipcode>"]

  mem circular    [on|off]                                  {off}
  mem debug       [on|off]                                  {off}
  mem efficient   [on|off]                                   {on}
  mem free
  mem garbage
  mem ifbufsize   [<bytes>]                                {2048}
  mem minheap     [<n>]
  mem nibufs      [<n>]                                       {5}
  mem sizes
  mem status
  mem thresh      [<bytes>]                                {8192}

  mkdir  <directory>

  mode   <interface> [vc|datagram]                        (AX.25)
  mode   netrom [vc|datagram]

  more <filename> [<filename> ...]                 (q: quit)
                                               (space: next page)
                                                  (CR: next line)
  motd      ["<string>"]
  multitask [on|off]                                         {on}

_________________________________________________________________

  netrom acktime    [<millisecs>]                          {3000}
  netrom alias      [<node_alias>]
  netrom bcnodes    <interface>
  netrom call       [<callsign>]                    {ax25 mycall}
  netrom connect    <node_callsign>|<node_alias>
  netrom choketime  [<millisecs>]                        {180000}
  netrom derate     [on|off]                                 {on}
  netrom interface  <interface> <quality>
  netrom interface  <interface> <alias> <quality>
  netrom irtt       [<millisecs>]                         {15000}
  netrom kick       <&CB>
  netrom load
  netrom minquality [<n>]                                    {10}

  netrom nodefilter
  netrom nodefilter add  <neighbour_callsign> <interface>
                                                [<quality>]
  netrom nodefilter drop <neighbour_callsign> <interface>
  netrom nodefilter mode [none|accept|reject]            {accept}

  netrom nodetimer  [<seconds>]                               {0}
  netrom obsotimer  [<seconds>]                               {0}
  netrom promiscuous [on|off]                               {off}
  netrom qlimit     [<bytes>]                              {2048}
  netrom reset      <&CB>
  netrom retries    [<n>]                                    {10}

  netrom route

  netrom route add  <alias> <target_callsign> <interface>
                                   <quality> <neighbour_callsign>

  netrom route drop <target_callsign> <neighbour_callsign>
                                                      <interface>
  netrom route info <target_callsign>|<target_alias>

  netrom save
  netrom status     [<&CB>]
  netrom timertype  [linear|exponential]
  netrom ttl        [<hops>]                                 {10}
  netrom user       [<username>]
  netrom verbose    [on|off]                                {off}
  netrom window     [<frames>]                                {4}

  nntp addserver    <nntpserver_host> [<interval_in_seconds>]
                         [<time_range>] [<group> [<group> ...]]

  nntp directory    [spool|control <directory>]
  nntp dropserver   <nntpserver_host>
  nntp groups       [<newsgroup_name> ... ]
  nntp kick         <nntpserver_host>
  nntp listservers
  nntp quiet        [on|off]
  nntp trace        [<n>]                  n=0: no trace
                                             1: serious errors
                                             2: transient errors
                                             3: session progress
                                             4: received articles
                                             5: errors

  nrstat

_________________________________________________________________

  param <interface>
  param <interface> <param> [<param> ...]

  param <interface> 0 <data frame>
  param <interface> 1 <TX_delay>                     (10mS units)
  param <interface> 2 <persistence>                       (0-255)
  param <interface> 3 <slot_time>                    (10mS units)
  param <interface> 4 <TX_tail>                      (10mS units)
  param <interface> 5 <n>                              (n=0: HDX)
                                                       (n>0: FDX)
  param <interface> 6                        (hardware dependent)
  param <interface> 7                        (TX mute)
  param <interface> 8|dtr [<n>]                     (n=0: DTR lo)
                                                    (n=1: DTR hi)
  param <interface> 9|rts [<n>]                     (n=0: RTS lo)
                                                    (n=1: RTS hi)
  param <interface> 10                       (speed)
  param <interface> 11                       (end delay)
  param <interface> 12                       (group)
  param <interface> 13                       (idle)
  param <interface> 14                       (min)
  param <interface> 15                       (max key)
  param <interface> 16                       (wait)
  param <interface> 17 <parity>                       (n=0: none)
                                                      (n=1: even)
                                                      (n=2: odd)
  param <interface> 129                      (down)
  param <interface> 130                      (up)
  param <interface> 254                      (return2)
  param <interface> 255                               (exit KISS)

  ping   <host> [<len> [<seconds> [<incflag>]]]
  ping   <host> [<len> [<milliseconds> [<incflag>]]]

  pop kick

  pop mailbox  <mbox_name>
  pop mailhost [<host>]
  pop quiet    [on|off]                                     {off}
  pop timer    [<seconds>]                                    {0}
  pop userdata [<username> <password>]

  popmail addserver <host> [<seconds>] [hh:mm-hh:mm]
                       <protocol> <mailbox> <username> <password>
  popmail dropserver <host>
  popmail list
  popmail quiet [on|off]
  popmail trace [<n>]                            (n=0: no trace)
                                                 (n=1: serious)
                                                 (n=2: transient)
                                                 (n=3: session)

  ppp <interface>

  ppp <interface> ipcp open active|passive
  ppp <interface> ipcp timeout [<seconds>]
  ppp <interface> ipcp try configure [<count>]
  ppp <interface> ipcp try failure [<count>]
  ppp <interface> ipcp try terminate [<count>]
  ppp <interface> ipcp local|remote address
                                     [<host>|allow [on|off]]
  ppp <interface> ipcp local|remote compress [tcp <slots>
                                     [<flag>|none|allow [on|off]]

  ppp <interface> lcp close
  ppp <interface> lcp local|remote
  ppp <interface> lcp local|remote accm
                                   [<bitmap> | allow [on|off]]
  ppp <interface> lcp local|remote authenticate
                                   [pap|none|allow [on|off]]
  ppp <interface> lcp local|remote compress address|control
                                   [on|off|allow [on|off]]
  ppp <interface> lcp local|remote compress protocol
                                   [on|off|allow [on|off]]
  ppp <interface> lcp local|remote default
  ppp <interface> lcp local|remote magic  [on|off|allow [on|off]]
  ppp <interface> lcp local|remote mru   [<size>]|allow [on|off]]
  ppp <interface> lcp open active|passive
  ppp <interface> lcp timeout [<seconds>]
  ppp <interface> lcp try configure [<count>]
  ppp <interface> lcp try failure [<count>]
  ppp <interface> lcp try terminate [<count>]

  ppp <interface> pap user [<username> [<password>]]

  ppp <interface> trace [<flags>]

  ps
  pwd          [<directory>]

_________________________________________________________________

  rarp
  rarp query   <interface> <ether_addr> | <callsign>
                             [<ether_addr> | <callsign>...]

  record       [<filename>|off]                             {off}

  remote       [-p <port>] [-k <key>] [-a <kickaddr>] <host>
                                             exit|reset|kick
  remote       -s <key>

  rename       <old_filename> <new_filename>

  reset        [<session_number>]

  rip accept   <incoming_gateway_host>

  rip add      <destination_host> <secs> [<flags>]
                                   flags=1: include route to self
                                         2: split horizon
                                         4: triggered update

  rip drop     <destination_host>
  rip merge    [on|off]                                     {off}
  rip refuse   <incoming_gateway_host>
  rip request  <incoming_gateway_host>
  rip status
  rip trace    [<n>]                            n=0: no trace
                                                  1: changes only
                                                  2: full trace
  rip ttl      [<seconds>]                                  {240}

  rlogin       <host>
  rmdir        <directory>

  route
  route add         <target_host>[/<bits>] | default <interface>
                                     [gateway_host [<metric>]]

  route addprivate  <target_host>[/<bits>] | default <interface>
                                     [gateway_host [<metric>]]

  route drop        <target_host>[/<bits>]
  route flush
  route lookup      <target_host>

  rspf interface    [<interface> <quality> <horizon>]
  rspf maxping      [<n>]                                     {5}
  rspf message      [<"message_string">]
  rspf mode         [vc|datagram|none]                     {none}
  rspf routes
  rspf rrhtimer     [<seconds>]                               {0}
  rspf status
  rspf suspecttimer [<seconds>]
  rspf timer        [<seconds>]                               {0}

_________________________________________________________________

  sccstat

  session
  session  [<session_number>]
  session  <session_number>  flowmode [on|off]              {off}

  shell

  skick    <socket_number>

  smtp batch      [on|off]                                  {off}
  smtp gateway    [<host>]
  smtp kick
  smtp kill       <job_number>
  smtp list
  smtp maxclients [<n>]                                      {10}
  smtp mode       [queue|route]                           {route}
  smtp mxlookup   [on|off]                                  {off}
  smtp quiet      [on|off]                                  {off}
  smtp reclzw     [on|off]                                   {on}
  smtp sendlzw    [on|off]                                   {on}
  smtp timer      [<seconds>]                                 {0}
  smtp trace      [<n>]                            n=0: trace off
                                                     1: trace on
  smtp usemx      [on|off]                                  {off}

  socket    [<socket_number>] [flowmode [on|off]]

  source    <script_filename>

  start     ax25|discard|echo|finger|ftp|netrom|pop|pop2|pop3|
                                  remote|rip|smtp|telnet|ttylink

  start tip <sync_interface>

  status

  stop      ax25|discard|echo|finger|ftp|netrom|pop|pop2|pop3|
                                  remote|rip|smtp|telnet|ttylink

  stop tip  <sync_interface>

_________________________________________________________________

  tail  <filename>

  tcp irtt      [<millisecs>]                              {5000}
  tcp kick      <&TCB>
  tcp mss       [<bytes>]                                   {512}
  tcp reset     <&TCB>
  tcp rtt       <&TCB> <millisecs>
  tcp status    [<&TCB>]
  tcp syndata   [on|off]                                    {off}
  tcp timertype [linear|exponential]                {exponential}
  tcp trace     [on|off]                                    {off}
  tcp view
  tcp window    [<bytes>]                                  {2048}

  telnet <host>    [<well_known_port_number>]                {23}
  telnet <host> 25                                 (SMTP)
  telnet <host> 87                                 (CHAT/TTYLINK)

  test

  third-party   [on|off]                                     {on}

  tip       <async_interface>

  ttylink   <host> [<well_known_port_number>]                {87}

  trace
  trace   <interface> [<BTIO_flags> [<trace_filename>]]]

       BTIO_flags:

         B=0   Broadcast filter off (trace all packets)
         B=1   Broadcast filter on  (ignore broadcasts)

         T=0   Display protocol headers only
         T=1   Display headers + ASCII text
         T=2   Display headers + ASCII text + hex

         I=0   Ignore input packets
         I=1   Trace input packets

         O=0   Ignore output packets
         O=1   Trace output packets

_________________________________________________________________

  udp      status

  upload
  upload   <filename>

_________________________________________________________________

  watch    [on|off]                                         {off}
  watchdog [on|off]                                         {off}

_________________________________________________________________



NOS STARTUP OPTIONS
===================
  nos [-b]                             (console BIOS)
      [-d <root_directory>]
      [-m <heap_memory_in_KB>]
      [-s <socket_array_size>]
      [-v]
      [ <nos_autoexec_filename> ]


FTPUSERS PERMISSIONS
====================
  ftp and telnet
  --------------
    1     read file
    2     create new file
    4     write/delete file


  telnet only
  -----------
    8     AX.25 Gateway access
   16     Telnet Gateway access
   32     NET/ROM Access
   64     Remote control
  128     Disallow access

  ppp only
  --------
  256     PPP connection
  512     peer ID/password lookup

  miscellaneous
  -------------
 1024     disallow send commands (except for sysop)
 2048     disallow read commands
 4096     disallow third-party mail
 8192     known BBS


WELL-KNOWN PORT NUMBERS
=======================
    0  reserved     23  TELNET          79  FINGER
  1-4  unassigned   25  SMTP            87  TTYLINK
    5  RJE          37  TIME            95  SUPDUP
    7  ECHO         39  RLP            101  HOSTNAME
    9  DISCARD      42  NAMESERVER     102  ISO-TSAP
   11  USERS        43  NICNAME        109  POP-2
   13  DAYTIME      53  DOMAIN         113  AUTH
   15  NETSTAT      67  BOOTPS         117  UUCP-PATH
   17  QUOTE        68  BOOTPC         119  NNTP
   19  CHARGEN      69  TFTP           513  RLOGIN
   20  FTP-data     75  private dialout
   21  FTP          77  private rje
