home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
MAXQREF.ZIP
/
MAXQREF.TXT
Wrap
Text File
|
1990-03-25
|
22KB
|
595 lines
MECCA Tokens
The following is an alphabetical list of all of the tokens that the
MECCA compiler uses, which code they translate into, and what the
effect of each token is.
[?below] ^pB? display rest of line if priv/key less than ?
[?equal] ^pQ? display rest of line if priv/key equal ?
[?file] ^p? display rest of file if priv/key greater than ?
[?line] ^pL? display rest of line if priv/key greater than ?
[?xclude] ^pX? display current line if priv/key NOT ?
[ansopt] ^f^v do NOT require an answer for [menu | readln]
[ansreq] ^f^u require an answer for [menu | readln]
[bell] ^g send a beep (ASCII 07) to user
[black] ^v^a^@ set current text colour to black.
[blink] ^v^b causes text to following colour token to blink
[blue] ^v^a^a set current text colour to blue.
[brown] ^v^a^f set current text colour to brown.
[bs] ^h generate a backspace (Ascii 08)
[choice]<c> ^oU<c> process current line if last [menu] response equal
<c>
[city] ^f^c display user's city
[ckoff] ^b Turn OFF ^C/^K Checking
[ckon] ^c Turn ON ^C/^K Checking
[cleol] ^v^g emit clear-to-end-of-line command.
[cls] ^l Clear user's screen.
[col80] ^w8 display current line if user's screen >= 79
columns
[color] ^oE display text to [endcolor] if user has graphics
[comment <c>] Comment; does not generate any MECCA output
[copy <f>] Copy file <f> to output file when compiling
[cr] ^m send carriage return to user.
[cyan] ^v^a^c set current text colour to cyan
[darkgray] ^v^a^h set current text colour to dark gray.
[date] ^f^d display current date in "dd mmm yy" format
[decimal] %d for OECC compatability only
[delete]<f> ^wD<f> delete file <f> from disk
[display]<f> ^oS<f> display file <f>.bbs - does not return to current
file
[dl] ^f^x display user's total downloads (k), including
today
[dos]<c> ^oC<c> run DOS command <c> (can include arguments)
[down] ^v^d move cursor down one line if graphics enabled
[endcolor] ^oe end of sequence for color callers (see [color])
[enter] ^a display "Press ENTER to continue and wait for
return
[expert] ^wHE display remainder of line if help level EXPERT
[exit] ^wE quit ALL linked files
[file] act as if encountered "MenuHeader File" statement
but without the associated display
[file_carea] ^wGA display area NUMBER of user's current file area.
[file_cname] ^wGN display area NAME of user's current file area.
[fname] ^f^f display user's first name.
[goto <l>] ^oV jump to label <l>
[gray] ^v^a^g set current text colour to gray ("normal")
[green] ^v^a^b set current text colour to green
[hangup] ^f^n immediately disconnect user.
[hex] %x Included for OECC compatability
[hotflash] ^wHH display remainder of line if help level HOTFLASH
[include <f>] include file <f> in the compile
[islocal] ^wIL display current line to only LOCAL users
[isremote] ^wIR display current line to only REMOTE users
[key?] ^wT? toggle setting of user's key ?.
[language] ^oL OECC compatability only
[lastcall] ^f^a disply date of user's last call
[leave_comment] ^wK put user in message editor to edit message to
sysop
[left] ^v^e move cursor one space left
[length] ^f^l display current length of user's call, in minutes
[lf] ^j display a linefeed to user
[lightblue] ^v^a^i set current text colour to light blue.
[lightcyan] ^v^a^k set current text colour to light cyan.
[lightgreen] ^v^a^j set current text colour to light green.
[lightmagenta] ^v^a^m set current text colour to light magenta.
[lightred] ^v^a^l set current text colour to light red.
[link]<f> display <f>.bbs, return control to current file
[locate <r> <c>] ^v^h<r><c> move cursor to <r>th row, <c>th column
[log]<s> ^wA<s> add statement <s> to system log (see manual)
[magenta] ^v^a^e set the current text colour to magenta.
[menu]<c> ^oR<c> prompt user for character, within string c
[menupath]<p>^wM<p> sets path for *.MNU files to <p>.
[message] Act as if encountered MenuHeader Message, but no
display
[minutes] ^f^k display total number of minutes user on in last 24
hrs
[more] ^d displays More [Y,n,=] prompt
[moreoff] ^k turn off automatic More prompting
[moreon] ^e turn on automatic More prompting
[msg_carea] ^wBA displays the message number of current area.
[msg_checkmail]^wC invokes internal mail checker.
[msg_cmsg] ^wBL displays current message number in current msg
area
[msg_cname] ^wBN displays name of current message area
[msg_nummsg] ^wB# displays number of messages in current area.
[netdl] ^f^r displays user's net downloads for today.
[newfiles] ^wF invoke a new-files scan
[nostacked] ^wS display current line only if no stacked commands
[novice] ^wHN display current line if help set at NOVICE
[on] interpret next token as background colour
[onexit]<f> ^oF<f> set "On Exit" filename for current file.
[open]<f> ^o<f> open questionnair answer file <f>
(post/store/readln)
[other] act as if encountered MenuHeader None, but no
display
[pause] ^f^g pause for 1/2 second
[phone] ^wP display current user's phone number.
[post] ^wP write user info to questionnaire answer file
[quit] ^oQ quit display of current file immediately
[quote] ^f^a display next quote from quote file
[ratio] ^f^y display current user's download ration (UL:DL)
[readln]<d> ^oN get line of input from user, write to answer file
[realname] ^wR display real name (if applicable) of current user
[red] ^v^a^d set current text colour to red
[regular] ^wHR display current line if help level REGULAR
[remain] ^f^o number of minutes remaining this call
[repeat]<c>[<n>] ^y<c><n> output character <c>, <n> times.
[right] ^v^f move cursor one space to the right
[store]<d> ^oM write response to last [menu] command to answer
file
[string] %s for OECC compatability only
[subdir]<d> ^oD set current directory to <d>.
[syscall] ^f^q display total calls BBS has received (ordinal
number)
[tab] ^i send tab to user
[time] ^f^t display current time in hh:mm:ss format
[timeoff] ^f^p display full time with \n when user must be off
[top] ^oT go to top of current file
[ul] ^f^w display user's total kbytes uploaded, including
today
[unsigned] %u for OECC compatability only
[up] ^v^c move user's cursor up one line.
[user] ^f^b display user's full name.
[usercall] ^f^e display number times user has called as ordinal
number
[white] ^v^a^o set current text colour to white.
[write]<l> ^wW<l> write line <l> to answer file - see manual
[xtern_chain]<c> ^wXC<c> load program overtop MAX, (no
bat's)
[xtern_dos]<c> ^wXD<c> run program through COMMAND
(bat's)
[xtern_erlvl]<c> ^wXE<c> exit with errorlevel/BBSBATCH
method
[xtern_run]<c> ^wXR<c> load program (no COMMAND) (no
bat's)
[yellow] ^v^a^n set current text colour to yellow
MECCA Tokens by Function
Colours
[black] ^v^a^@ set current text colour to black.
[blink] ^v^b causes text to following colour token to blink
[blue] ^v^a^a set current text colour to blue.
[brown] ^v^a^f set current text colour to brown.
[cyan] ^v^a^c set current text colour to cyan
[darkgray] ^v^a^h set current text colour to dark gray.
[gray] ^v^a^g set current text colour to gray ("normal")
[green] ^v^a^b set current text colour to green
[lightblue] ^v^a^i set current text colour to light blue.
[lightcyan] ^v^a^k set current text colour to light cyan.
[lightgreen] ^v^a^j set current text colour to light green.
[lightmagenta]^v^a^m set current text colour to light magenta.
[lightred] ^v^a^l set current text colour to light red.
[magenta] ^v^a^e set the current text colour to magenta.
[on] interpret next token as background colour
[red] ^v^a^d set current text colour to red
[white] ^v^a^o set current text colour to white.
[yellow] ^v^a^n set current text colour to yellow
Positioning
[bell] ^g send a beep (ASCII 07) to user
[bs] ^h generate a backspace (Ascii 08)
[cleol] ^v^g emit clear-to-end-of-line command.
[cls] ^l Clear user's screen.
[cr] ^m send carriage return to user.
[down] ^v^d move cursor down one line if graphics enabled
[left] ^v^e move cursor one space left
[lf] ^j display a linefeed to user
[locate <r> <c>] ^v^h<r><c> move cursor to <r>th row, <c>th column
[repeat]<c>[<n>] ^y<c><n> output character <c>, <n> times.
[right] ^v^f move cursor one space to the right
[tab] ^i send tab to user
[up] ^v^c move user's cursor up one line.
Output Control
[?below] ^pB? display rest of line if priv/key less than ?
[?equal] ^pQ? display rest of line if priv/key equal ?
[?file] ^p? display rest of file if priv/key greater than ?
[?line] ^pL? display rest of line if priv/key greater than ?
[?xclude] ^pX? diplay current line if priv/key NOT ?
[choice]<c> ^oU<c> process current line if last [menu] response equal
<c>
[col80] ^w8 display current line if user's screen >= 79
columns
[color] ^oE display text to [endcolor] if user has graphics
[endcolor] ^oe end of sequence for color callers (see [color])
[expert] ^wHE display remainder of line if help level EXPERT
[hotflash] ^wHH display remainder of line if help level HOTFLASH
[islocal] ^wIL display current line to only LOCAL users
[isremote] ^wIR display current line to only REMOTE users
[nostacked] ^wS display current line only if no stacked commands
[novice] ^wHN display current line if help set at NOVICE
[regular] ^wHR display current line if help level REGULAR
[ckoff] ^b Turn OFF ^C/^K Checking
[ckon] ^c Turn ON ^C/^K Checking
[display]<f> ^oS<f> display file <f>.bbs - does not return to current
file
[enter] ^a display "Press ENTER to continue and wait for
return
[exit] ^wE quit ALL linked files
[goto <l>] ^oV jump to label <l>
[link]<f> display <f>.bbs, return control to current file
[more] ^d displays More [Y,n,=] prompt
[moreoff] ^k turn off automatic More prompting
[moreon] ^e turn on automatic More prompting
[onexit]<f> ^oF<f> set "On Exit" filename for current file.
[pause] ^f^g pause for 1/2 second
[quit] ^oQ quit display of current file immediately
[quote] ^f^a display next quote from quote file
[top] ^oT go to top of current file
User/Call Information
[city] ^f^c display user's city
[date] ^f^d display current date in "dd mmm yy" format
[dl] ^f^x display user's total downloads (k), including
today
[file_carea] ^wGA display area NUMBER of user's current file area.
[file_cname] ^wGN display area NAME of user's current file area.
[fname] ^f^f display user's first name.
[lastcall] ^f^a disply date of user's last call
[length] ^f^l display current length of user's call, in minutes
[minutes] ^f^k display total number of minutes user on in last 24
hrs
[msg_carea] ^wBA displays the message number of current area.
[msg_cmsg] ^wBL displays current message number in current msg
area
[msg_cname] ^wBN displays name of current message area
[msg_nummsg] ^wB# displays number of messages in current area.
[netdl] ^f^r displays user's net downloads for today.
[phone] ^wP display current user's phone number.
[ratio] ^f^y display current user's download ration (UL:DL)
[realname] ^wR display real name (if applicable) of current user
[remain] ^f^o number of minutes remaining this call
[syscall] ^f^q display total calls BBS has received (ordinal
number)
[time] ^f^t display current time in hh:mm:ss format
[timeoff] ^f^p display full time with \n when user must be off
[ul] ^f^w display user's total kbytes uploaded, including
today
[user] ^f^b display user's full name.
[usercall] ^f^e display number times user has called as ordinal
number
Questionnaires
[ansopt] ^f^v do NOT require an answer for [menu | readln]
[ansreq] ^f^u require an answer for [menu | readln]
[menu]<c> ^oR<c> prompt user for character, within string c
[open]<f> ^o<f> open questionnair answer file <f>
(post/store/readln)
[post] ^wP write user info to questionnaire answer file
[readln]<d> ^oN get line of input from user, write to answer file
[store]<d> ^oM write response to last [menu] command to answer
file
[write]<l> ^wW<l> write line <l> to answer file - see manual
DOS/BBS Interface
[delete]<f> ^wD<f> delete file <f> from disk
[dos]<c> ^oC<c> run DOS command <c> (can include arguments)
[file] act as if encountered "MenuHeader File" statement
but without the associated display
[hangup] ^f^n immediately disconnect user.
[key?] ^wT? toggle setting of user's key ?.
[leave_comment] ^wK put user in message editor to edit message to
sysop
[log]<s> ^wA<s> add statement <s> to system log (see manual)
[menupath]<p>^wM<p> sets path for *.MNU files to <p>.
[message] Act as if encountered MenuHeader Message, but no
display
[msg_checkmail] ^wC invokes internal mail checker.
[newfiles] ^wF invoke a new-files scan
[other] act as if encountered MenuHeader None, but no
display
[subdir]<d> ^oD set current directory to <d>.
[xtern_chain]<c> ^wXC<c> load program overtop MAX, (no
bat's)
[xtern_dos]<c> ^wXD<c> run program through COMMAND
(bat's)
[xtern_erlvl]<c> ^wXE<c> exit with errorlevel/BBSBATCH
method
[xtern_run]<c> ^wXR<c> load program (no COMMAND) (no
bat's)
Compiler Controls
[comment <c>] Comment; does not generate any MECCA output
[copy <f>] Copy file <f> to output file when compiling
[include <f>] include file <f> in the compile
OECC Compatability
[decimal] %d for OECC compatability only
[hex] %x Included for OECC compatability
[language] ^oL OECC compatability only
[string] %s for OECC compatability only
[unsigned] %u for OECC compatability only
Other Reference Notes
Maximus Errorlevels
1-4 Error Condition (Restart Mailer)
5 User logoff, no Echomail/NetMail
11 Netmail Entered, No Echomail
12 Echomail (and possibly NetMail)
16 Internal Stack Error (Restart Mailer)
255 Undefined Error Condition (Restart Mailer)
MAXIMUS Command Line Parameters
-b<x> baud rate at which user is calling
-c create a user.bbs file
-k log on in local mode, no caller on-line
-l<p> selects name of log file for this session
-m<p> type of multitasker
-n<x> task number to use
-p<x> port number to use
-r restart previous session from RESTAR*.BBS
-t<x> maximum time available to user (i.e., to next
event)
-u -uh run user editor; run user editor with HOTFLASH
Error Levels Under BinkleyTerm
ErrorLevel Means Caused By
1 Exit Alt-X Keypress
3 300 bps Call Non-Mail Call at 300 Baud
10 E1= Exit ** F1 Keypress *
12 1200 bps Call Non-Mail Call at 1200 Baud
20 E2= Exit ** F2 Keypress *
24 2400 bps Call Non-Mail Call at 2400 Baud
30 E3= Exit ** F3 Keypress *
40 ** F4 Keypress
48 4800 bps Call Non-Mail Call at 4800 Baud
50 ** F5 Keypress
60 ** F6 Keypress
70 ** F7 Keypress
80 ** F8 Keypress
90 ** F9 Keypress
96 9600 bps Call Non-Mail Call at 9600 Baud
99 ExtrnMail External Mail String Received *****
100 ** F10 Keypress
128 38400 bps Call Non-Mail Call at 38,400 Baud ****
192 19200 bps Call Non-Mail Call at 19,200 Baud
254 Error Address Not Found in Nodelist ***
255 Error Microsoft C Produced Error
ConfMail Errorlevels
2 Severe Error in Processing
1 Messages Were Imported
0 No Messages Imported
Qmail Errorlevels
Upon exit, Qmail will register a DOS error level based on the
following:
0 No messages were tossed or exported
1 Messages were tossed
2 Error during processing
3 Disk full error
4 Messages were scanned and exported
5 'MaxMsgs' were exported (see config file)
6 Only netmail was received
Environment Variables
BINKLEY Location of Binkley configuration file