home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / MAXQREF.ZIP / MAXQREF.TXT
Text File  |  1990-03-25  |  22KB  |  595 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.        MECCA Tokens
  9.  
  10.        The following  is an  alphabetical list of all of the tokens that the
  11.        MECCA compiler uses, which code they translate into, and what the
  12.        effect of each token is.
  13.  
  14.        [?below]     ^pB?   display rest of line if priv/key less than ?
  15.        [?equal]     ^pQ?   display rest of line if priv/key equal ?
  16.        [?file]      ^p?    display rest of file if priv/key greater than ?
  17.        [?line]      ^pL?   display rest of line if priv/key greater than ?
  18.        [?xclude]    ^pX?   display current line if priv/key NOT ?
  19.        [ansopt]     ^f^v   do NOT require an answer for [menu | readln]
  20.        [ansreq]     ^f^u   require an answer for [menu | readln]
  21.        [bell]       ^g     send a beep (ASCII 07) to user
  22.        [black]      ^v^a^@ set current text colour to black.
  23.        [blink]      ^v^b   causes text to following colour token to blink
  24.        [blue]       ^v^a^a set current text colour to blue.
  25.        [brown]      ^v^a^f set current text colour to brown.
  26.        [bs]         ^h     generate a backspace (Ascii 08)
  27.        [choice]<c>  ^oU<c> process current line if last [menu] response equal
  28.                            <c>
  29.        [city]       ^f^c   display user's city
  30.        [ckoff]      ^b     Turn OFF ^C/^K Checking
  31.        [ckon]       ^c     Turn ON ^C/^K Checking
  32.        [cleol]      ^v^g   emit clear-to-end-of-line command.
  33.        [cls]        ^l     Clear user's screen.
  34.        [col80]      ^w8    display current line if user's screen >= 79
  35.                            columns
  36.        [color]      ^oE    display text to [endcolor] if user has graphics
  37.        [comment <c>]       Comment; does not generate any MECCA output
  38.        [copy <f>]          Copy file <f> to output file when compiling
  39.        [cr]         ^m     send carriage return to user.
  40.        [cyan]       ^v^a^c set current text colour to cyan
  41.        [darkgray]   ^v^a^h set current text colour to dark gray.
  42.        [date]       ^f^d   display current date in "dd mmm yy" format
  43.        [decimal]    %d     for OECC compatability only
  44.        [delete]<f>  ^wD<f> delete file <f> from disk
  45.        [display]<f> ^oS<f> display file <f>.bbs - does not return to current
  46.                            file
  47.        [dl]         ^f^x   display user's total downloads (k), including
  48.                            today
  49.        [dos]<c>     ^oC<c> run DOS command <c> (can include arguments)
  50.        [down]       ^v^d   move cursor down one line if graphics enabled
  51.        [endcolor]   ^oe    end of sequence for color callers (see [color])
  52.        [enter]      ^a     display "Press ENTER to continue and wait for
  53.                            return
  54.        [expert]     ^wHE   display remainder of line if help level EXPERT
  55.        [exit]       ^wE    quit ALL linked files
  56.        [file]              act as if encountered "MenuHeader File" statement
  57.                            but without the associated display
  58.        [file_carea] ^wGA   display area NUMBER of user's current file area.
  59.        [file_cname] ^wGN   display area NAME of user's current file area.
  60.        [fname]      ^f^f   display user's first name.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.        [goto <l>]   ^oV    jump to label <l>
  74.        [gray]       ^v^a^g set current text colour to gray ("normal")
  75.        [green]      ^v^a^b set current text colour to green
  76.        [hangup]     ^f^n   immediately disconnect user.
  77.        [hex]        %x     Included for OECC compatability
  78.        [hotflash]   ^wHH   display remainder of line if help level HOTFLASH
  79.        [include <f>]       include file <f> in the compile
  80.        [islocal]    ^wIL   display current line to only LOCAL users
  81.        [isremote]   ^wIR   display current line to only REMOTE users
  82.        [key?]       ^wT?   toggle setting of user's key ?.
  83.        [language]   ^oL    OECC compatability only
  84.        [lastcall]   ^f^a   disply date of user's last call
  85.        [leave_comment] ^wK put user in message editor to edit message to
  86.                            sysop
  87.        [left]       ^v^e   move cursor one space left
  88.        [length]     ^f^l   display current length of user's call, in minutes
  89.        [lf]         ^j     display a linefeed to user
  90.        [lightblue]  ^v^a^i set current text colour to light blue.
  91.        [lightcyan]  ^v^a^k set current text colour to light cyan.
  92.        [lightgreen] ^v^a^j set current text colour to light green.
  93.        [lightmagenta] ^v^a^m set current text colour to light magenta.
  94.        [lightred]   ^v^a^l set current text colour to light red.
  95.        [link]<f>           display <f>.bbs, return control to current file
  96.        [locate <r> <c>] ^v^h<r><c> move cursor to <r>th row, <c>th column
  97.        [log]<s>     ^wA<s> add statement <s> to system log (see manual)
  98.        [magenta]    ^v^a^e set the current text colour to magenta.
  99.        [menu]<c>    ^oR<c> prompt user for character, within string c
  100.        [menupath]<p>^wM<p> sets path for *.MNU files to <p>.
  101.        [message]           Act as if encountered MenuHeader Message, but no
  102.                            display
  103.        [minutes]    ^f^k   display total number of minutes user on in last 24
  104.                            hrs
  105.        [more]       ^d     displays More [Y,n,=] prompt
  106.        [moreoff]    ^k     turn off automatic More prompting
  107.        [moreon]     ^e     turn on automatic More prompting
  108.        [msg_carea]  ^wBA   displays the message number of current area.
  109.        [msg_checkmail]^wC  invokes internal mail checker.
  110.        [msg_cmsg]   ^wBL   displays current message number in current msg
  111.                            area
  112.        [msg_cname]  ^wBN   displays name of current message area
  113.        [msg_nummsg] ^wB#   displays number of messages in current area.
  114.        [netdl]      ^f^r   displays user's net downloads for today.
  115.        [newfiles]   ^wF    invoke a new-files scan
  116.        [nostacked]  ^wS    display current line only if no stacked commands
  117.        [novice]     ^wHN   display current line if help set at NOVICE
  118.        [on]                interpret next token as background colour
  119.        [onexit]<f>  ^oF<f> set "On Exit" filename for current file.
  120.        [open]<f>    ^o<f>  open questionnair answer file <f>
  121.                            (post/store/readln)
  122.        [other]             act as if encountered MenuHeader None, but no
  123.                            display
  124.        [pause]      ^f^g   pause for 1/2 second
  125.        [phone]      ^wP    display current user's phone number.
  126.        [post]       ^wP    write user info to questionnaire answer file
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.        [quit]       ^oQ    quit display of current file immediately
  140.        [quote]      ^f^a   display next quote from quote file
  141.        [ratio]      ^f^y   display current user's download ration (UL:DL)
  142.        [readln]<d>  ^oN    get line of input from user, write to answer file
  143.        [realname]   ^wR    display real name (if applicable) of current user
  144.        [red]        ^v^a^d set current text colour to red
  145.        [regular]    ^wHR   display current line if help level REGULAR
  146.        [remain]     ^f^o   number of minutes remaining this call
  147.        [repeat]<c>[<n>] ^y<c><n> output character <c>, <n> times.
  148.        [right]      ^v^f   move cursor one space to the right
  149.        [store]<d>   ^oM    write response to last [menu] command to answer
  150.                            file
  151.        [string]     %s     for OECC compatability only
  152.        [subdir]<d>  ^oD    set current directory to <d>.
  153.        [syscall]    ^f^q   display total calls BBS has received (ordinal
  154.                            number)
  155.        [tab]        ^i     send tab to user
  156.        [time]       ^f^t   display current time in hh:mm:ss format
  157.        [timeoff]    ^f^p   display full time with \n when user must be off
  158.        [top]        ^oT    go to top of current file
  159.        [ul]         ^f^w   display user's total kbytes uploaded, including
  160.                            today
  161.        [unsigned]   %u     for OECC compatability only
  162.        [up]         ^v^c   move user's cursor up one line.
  163.        [user]       ^f^b   display user's full name.
  164.        [usercall]   ^f^e   display number times user has called as ordinal
  165.                            number
  166.        [white]      ^v^a^o set current text colour to white.
  167.        [write]<l>   ^wW<l> write line <l> to answer file - see manual
  168.        [xtern_chain]<c>    ^wXC<c>   load program overtop MAX, (no           
  169.                            bat's)
  170.        [xtern_dos]<c>      ^wXD<c>   run program through COMMAND             
  171.                            (bat's)
  172.        [xtern_erlvl]<c>    ^wXE<c>   exit with errorlevel/BBSBATCH           
  173.                            method
  174.        [xtern_run]<c>      ^wXR<c>   load program (no COMMAND) (no           
  175.                            bat's)
  176.        [yellow]     ^v^a^n set current text colour to yellow
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.        MECCA Tokens by Function
  206.  
  207.  
  208.        Colours
  209.  
  210.        [black]      ^v^a^@ set current text colour to black.
  211.        [blink]      ^v^b   causes text to following colour token to blink
  212.        [blue]       ^v^a^a set current text colour to blue.
  213.        [brown]      ^v^a^f set current text colour to brown.
  214.        [cyan]       ^v^a^c set current text colour to cyan
  215.        [darkgray]   ^v^a^h set current text colour to dark gray.
  216.        [gray]       ^v^a^g set current text colour to gray ("normal")
  217.        [green]      ^v^a^b set current text colour to green
  218.        [lightblue]  ^v^a^i set current text colour to light blue.
  219.        [lightcyan]  ^v^a^k set current text colour to light cyan.
  220.        [lightgreen] ^v^a^j set current text colour to light green.
  221.        [lightmagenta]^v^a^m set current text colour to light magenta.
  222.        [lightred]   ^v^a^l set current text colour to light red.
  223.        [magenta]    ^v^a^e set the current text colour to magenta.
  224.        [on]                interpret next token as background colour
  225.        [red]        ^v^a^d set current text colour to red
  226.        [white]      ^v^a^o set current text colour to white.
  227.        [yellow]     ^v^a^n set current text colour to yellow
  228.  
  229.        Positioning
  230.  
  231.        [bell]       ^g     send a beep (ASCII 07) to user
  232.        [bs]         ^h     generate a backspace (Ascii 08)
  233.        [cleol]      ^v^g   emit clear-to-end-of-line command.
  234.        [cls]        ^l     Clear user's screen.
  235.        [cr]         ^m     send carriage return to user.
  236.        [down]       ^v^d   move cursor down one line if graphics enabled
  237.        [left]       ^v^e   move cursor one space left
  238.        [lf]         ^j     display a linefeed to user
  239.        [locate <r> <c>] ^v^h<r><c> move cursor to <r>th row, <c>th column
  240.        [repeat]<c>[<n>] ^y<c><n> output character <c>, <n> times.
  241.        [right]      ^v^f   move cursor one space to the right
  242.        [tab]        ^i     send tab to user
  243.        [up]         ^v^c   move user's cursor up one line.
  244.  
  245.        Output Control
  246.  
  247.        [?below]     ^pB?   display rest of line if priv/key less than ?
  248.        [?equal]     ^pQ?   display rest of line if priv/key equal ?
  249.        [?file]      ^p?    display rest of file if priv/key greater than ?
  250.        [?line]      ^pL?   display rest of line if priv/key greater than ?
  251.        [?xclude]    ^pX?   diplay current line if priv/key NOT ?
  252.        [choice]<c>  ^oU<c> process current line if last [menu] response equal
  253.                            <c>
  254.        [col80]      ^w8    display current line if user's screen >= 79
  255.                            columns
  256.        [color]      ^oE    display text to [endcolor] if user has graphics
  257.        [endcolor]   ^oe    end of sequence for color callers (see [color])
  258.        [expert]     ^wHE   display remainder of line if help level EXPERT
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.        [hotflash]   ^wHH   display remainder of line if help level HOTFLASH
  272.        [islocal]    ^wIL   display current line to only LOCAL users
  273.        [isremote]   ^wIR   display current line to only REMOTE users
  274.        [nostacked]  ^wS    display current line only if no stacked commands
  275.        [novice]     ^wHN   display current line if help set at NOVICE
  276.        [regular]    ^wHR   display current line if help level REGULAR
  277.  
  278.        [ckoff]      ^b     Turn OFF ^C/^K Checking
  279.        [ckon]       ^c     Turn ON ^C/^K Checking
  280.        [display]<f> ^oS<f> display file <f>.bbs - does not return to current
  281.                            file
  282.        [enter]      ^a     display "Press ENTER to continue and wait for
  283.                            return
  284.        [exit]       ^wE    quit ALL linked files
  285.        [goto <l>]   ^oV    jump to label <l>
  286.        [link]<f>           display <f>.bbs, return control to current file
  287.        [more]       ^d     displays More [Y,n,=] prompt
  288.        [moreoff]    ^k     turn off automatic More prompting
  289.        [moreon]     ^e     turn on automatic More prompting
  290.        [onexit]<f>  ^oF<f> set "On Exit" filename for current file.
  291.        [pause]      ^f^g   pause for 1/2 second
  292.        [quit]       ^oQ    quit display of current file immediately
  293.        [quote]      ^f^a   display next quote from quote file
  294.        [top]        ^oT    go to top of current file
  295.  
  296.        User/Call Information
  297.  
  298.        [city]       ^f^c   display user's city
  299.        [date]       ^f^d   display current date in "dd mmm yy" format
  300.        [dl]         ^f^x   display user's total downloads (k), including
  301.                            today
  302.        [file_carea] ^wGA   display area NUMBER of user's current file area.
  303.        [file_cname] ^wGN   display area NAME of user's current file area.
  304.        [fname]      ^f^f   display user's first name.
  305.        [lastcall]   ^f^a   disply date of user's last call
  306.        [length]     ^f^l   display current length of user's call, in minutes
  307.        [minutes]    ^f^k   display total number of minutes user on in last 24
  308.                            hrs
  309.        [msg_carea]  ^wBA   displays the message number of current area.
  310.        [msg_cmsg]   ^wBL   displays current message number in current msg
  311.                            area
  312.        [msg_cname]  ^wBN   displays name of current message area
  313.        [msg_nummsg] ^wB#   displays number of messages in current area.
  314.        [netdl]      ^f^r   displays user's net downloads for today.
  315.        [phone]      ^wP    display current user's phone number.
  316.        [ratio]      ^f^y   display current user's download ration (UL:DL)
  317.        [realname]   ^wR    display real name (if applicable) of current user
  318.        [remain]     ^f^o   number of minutes remaining this call
  319.        [syscall]    ^f^q   display total calls BBS has received (ordinal
  320.                            number)
  321.        [time]       ^f^t   display current time in hh:mm:ss format
  322.        [timeoff]    ^f^p   display full time with \n when user must be off
  323.        [ul]         ^f^w   display user's total kbytes uploaded, including
  324.                            today
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.        [user]       ^f^b   display user's full name.
  338.        [usercall]   ^f^e   display number times user has called as ordinal
  339.                            number
  340.  
  341.        Questionnaires
  342.  
  343.        [ansopt]     ^f^v   do NOT require an answer for [menu | readln]
  344.        [ansreq]     ^f^u   require an answer for [menu | readln]
  345.        [menu]<c>    ^oR<c> prompt user for character, within string c
  346.        [open]<f>    ^o<f>  open questionnair answer file <f>
  347.                            (post/store/readln)
  348.        [post]       ^wP    write user info to questionnaire answer file
  349.        [readln]<d>  ^oN    get line of input from user, write to answer file
  350.        [store]<d>   ^oM    write response to last [menu] command to answer
  351.                            file
  352.        [write]<l>   ^wW<l> write line <l> to answer file - see manual
  353.  
  354.        DOS/BBS Interface
  355.  
  356.        [delete]<f>  ^wD<f> delete file <f> from disk
  357.        [dos]<c>     ^oC<c> run DOS command <c> (can include arguments)
  358.        [file]              act as if encountered "MenuHeader File" statement
  359.                            but without the associated display
  360.        [hangup]     ^f^n   immediately disconnect user.
  361.        [key?]       ^wT?   toggle setting of user's key ?.
  362.        [leave_comment] ^wK put user in message editor to edit message to
  363.                            sysop
  364.        [log]<s>     ^wA<s> add statement <s> to system log (see manual)
  365.        [menupath]<p>^wM<p> sets path for *.MNU files to <p>.
  366.        [message]           Act as if encountered MenuHeader Message, but no
  367.                            display
  368.        [msg_checkmail] ^wC invokes internal mail checker.
  369.        [newfiles]   ^wF    invoke a new-files scan
  370.        [other]             act as if encountered MenuHeader None, but no
  371.                            display
  372.        [subdir]<d>  ^oD    set current directory to <d>.
  373.        [xtern_chain]<c>    ^wXC<c>   load program overtop MAX, (no           
  374.                            bat's)
  375.        [xtern_dos]<c>      ^wXD<c>   run program through COMMAND             
  376.                            (bat's)
  377.        [xtern_erlvl]<c>    ^wXE<c>   exit with errorlevel/BBSBATCH           
  378.                            method
  379.        [xtern_run]<c>      ^wXR<c>   load program (no COMMAND) (no           
  380.                            bat's)
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.        Compiler Controls
  404.  
  405.        [comment <c>]       Comment; does not generate any MECCA output
  406.        [copy <f>]          Copy file <f> to output file when compiling
  407.        [include <f>]       include file <f> in the compile
  408.  
  409.        OECC Compatability
  410.  
  411.        [decimal]    %d     for OECC compatability only
  412.        [hex]        %x     Included for OECC compatability
  413.        [language]   ^oL    OECC compatability only
  414.        [string]     %s     for OECC compatability only
  415.        [unsigned]   %u     for OECC compatability only
  416.  
  417.        Other Reference Notes
  418.  
  419.  
  420.        Maximus Errorlevels
  421.  
  422.               1-4          Error Condition (Restart Mailer)
  423.  
  424.                 5          User logoff, no Echomail/NetMail
  425.  
  426.                11          Netmail Entered, No Echomail
  427.  
  428.                12          Echomail (and possibly NetMail)
  429.  
  430.                16          Internal Stack Error (Restart Mailer)
  431.  
  432.               255          Undefined Error Condition (Restart Mailer)
  433.  
  434.  
  435.        MAXIMUS Command Line Parameters
  436.  
  437.             -b<x>          baud rate at which user is calling
  438.  
  439.             -c             create a user.bbs file
  440.  
  441.             -k             log on in local mode, no caller on-line
  442.  
  443.             -l<p>          selects name of log file for this session
  444.  
  445.             -m<p>          type of multitasker
  446.  
  447.             -n<x>          task number to use
  448.  
  449.             -p<x>          port number to use
  450.  
  451.             -r             restart previous session from RESTAR*.BBS
  452.  
  453.             -t<x>          maximum time available to user (i.e., to next
  454.                            event)
  455.  
  456.             -u -uh         run user editor; run user editor with HOTFLASH
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.        Error Levels Under BinkleyTerm
  470.  
  471.  
  472.  
  473.             ErrorLevel     Means          Caused By
  474.  
  475.               1            Exit           Alt-X Keypress
  476.               3            300 bps Call   Non-Mail Call at 300 Baud
  477.              10            E1= Exit **    F1 Keypress *
  478.              12            1200 bps Call  Non-Mail Call at 1200 Baud
  479.              20            E2= Exit **    F2 Keypress *
  480.              24            2400 bps Call  Non-Mail Call at 2400 Baud
  481.              30            E3= Exit **    F3 Keypress *
  482.              40            **             F4 Keypress
  483.              48            4800 bps Call  Non-Mail Call at 4800 Baud
  484.              50            **             F5 Keypress
  485.              60            **             F6 Keypress
  486.              70            **             F7 Keypress
  487.              80            **             F8 Keypress
  488.              90            **             F9 Keypress
  489.              96            9600 bps Call  Non-Mail Call at 9600 Baud
  490.              99            ExtrnMail      External Mail String Received *****
  491.             100            **             F10 Keypress
  492.             128            38400 bps Call Non-Mail Call at 38,400 Baud ****
  493.             192            19200 bps Call Non-Mail Call at 19,200 Baud
  494.             254            Error          Address Not Found in Nodelist ***
  495.             255            Error          Microsoft C Produced Error
  496.  
  497.        ConfMail Errorlevels
  498.  
  499.             2              Severe Error in Processing
  500.  
  501.             1              Messages Were Imported
  502.  
  503.             0              No Messages Imported
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.        Qmail Errorlevels
  536.  
  537.        Upon exit, Qmail will register a DOS error level based on the
  538.        following:
  539.  
  540.              0             No messages were tossed or exported
  541.  
  542.              1             Messages were tossed
  543.  
  544.              2             Error during processing
  545.  
  546.              3             Disk full error
  547.  
  548.              4             Messages were scanned and exported
  549.  
  550.              5             'MaxMsgs' were exported (see config file)
  551.  
  552.              6             Only netmail was received
  553.  
  554.        Environment Variables
  555.  
  556.             BINKLEY        Location of Binkley configuration file
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.