|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 14686 (0x395e) Types: TextFile Notes: UNIX file Names: »issidefs«
└─⟦bee8f15db⟧ Bits:30004169/disk2.imd Uniplex II+ V.6 release 1.0 (dansk) └─⟦bee8f15db⟧ UNIX Filesystem └─⟦this⟧ »up/new/usr/UAP/uc/issidefs«
L.......T.......T.......T.......T.......T.......T.......T.......T......T......R ************************************************************************ * * * UNIPLEX Version 6 SPREADSHEET * * ISSI: CONFIGURATION FILE * * * * * * Sections start with the keywords; * * #COMMANDS, #KEYWORD, #DEFAULTS, #MAPS, #FORMATS, #HELP * * Each section ends with )) * * Comments within sections are lines starting with * * * Anything between sections is ignored. * * * * backslash followed by s is <space>: \s * * this is needed by the FORMAT section. * ************************************************************************ ************************************************************************ * * * #COMMANDS are the words used to start a spreadsheet command. * * * * The first word (upto first space) of a command is matched against * * this list and the longest leading string match is found. * * Numbers, " and = are special cases. * ************************************************************************ #COMMANDS BANG=! BUFFER=buf CALC=c COMMENT=# COPY=co CURSOR=cu CWIDTH=cw DATA=d * 'database' as required by the database in use on the system. * DB should be duplicately defined, the longer version being 'invoke' or DB=database DB=db DEFINE=def DELETE=del DOWN=DOWN EDIT=ed ELSE=el ENDIF=en EXIT=ex FORMAT=f GET=ge GOTO=go GRAPH=g HDR=hdr HELP=h INIT=init INPUT=inp INSERT=ins KILL=k LABEL=lab LASTCMD=$ LEFT=LEFT LIST=l LOCK=lo MACRO=ma MARK=mark MOVE=m MOVE=mo NEW=n PASTE=pa PRECISION=pre PRINT=cut PRINT=pri SETPRINT=set QUIT=q REDRAW=r REPEAT=rp RIGHT=RIGHT RULER=ru SAVE=s SCROLL=scr SPLIT=sp STATUS=st TITLE=t UNLABEL=unlab UNLOCK=un UNSPLIT=uns UP=UP USE=u VIEW=v WNDOW=w ZERO=z )) ************************************************************************ * * * #KEYWORDS are used to build the remainder of a command. * * Spreadsheet looks for exact longest string matches * * * ************************************************************************ #KEYWORDS * absolute/relative row and column chars. * Must be single chars. ACOL=C AROW=R ROW=r COL=c * single char codes for current cell (AT) and list labels (LBLSYM) * if multi char sequence is required use F92 and F95 in uniplex.cmd AT=@ LBLSYM=~ * standard separators, best not to redefine these EQUAL== COMMA=, * mathematical operators. * all but POW must be single char (common redef for pow is **). DIVIDE=/ MINUS=- PLUS=+ POW=^ TIMES=* LPAREN=( RPAREN=) CONCAT=& PERCENT=% * logical operators. * Note: LTE and GTE cannot be redefined => and =< because lexical * analysis won't handle it (it's optimized for EQUAL). * Note: GT symbol is also used in copy and move statements, so it's best * not to redefine it. GT=> LT=< EQ=== NEQ=!= LTE=<= GTE=>= * string delimiters QUOTE and QUOTE2 must be a SINGLE characters QUOTE=" QUOTE2=' * misc statement keywords ALL=all CENTRE=center CENTRE=centre CM_OFF=off CM_ON=on COLWISE=col CONVERTER=conv DATA=data DATE=datefmt DB=db DEL_POINT=DEL_P DEL_RANGE=DEL_R DIF=dif TEMPLATE=template DOLLAR=$ DOWN=d EFFECT=effect EXPAND=expand FMT_COMMA=comma FORMAT=f FORMAT=type FRACSPEC=dec FRACSPEC=frac FROM=from GRAPH=graph GROUP=group SIZE=size HDR=h HDR=hdr KILL=kill LABEL=lab LABEL=label LEFT=l LEFT=left LIMITS=lim LIMITS=limit MACROLEFT={ MACRORIGHT=} MARK=mark NATURAL=nat ONESHOT=oneshot OPTIONS=opt * note REPEATCHAR defined as backslash needs \\ REPEATCHAR=\\ RIGHT=right ROWWISE=row RULER=ruler SCIENTIFIC=sci SPACING=spacing STERLING=# TEXT=text TITLE=title UP=u VAR_POINT=X WIDTH=width X_PIPE=| * function names ABS=abs AND=AND ARCCOS=acos ARCSIN=asin ARCTAN=atan ATAN2=atan2 AVG=avg BAR=bar CHOOSE=choose COLFUNC=COL COS=cos COUNT=count DATACELL=datacell DATENUM=date DAY=day DAYINMON=day_mon DEFCELL=defcell DEGREES=deg DIV=div EMPTYCELL=empty EVAL=eval EXP=exp FALSE=FALSE FIXED=fix FV=fv IF=if IN=in INDEX=index INTR_PER=period INTR_RATE=rate INTSPEC=int IRR=irr LENGTH=length LINK=link UNLINK=unlink LOG10=log10 LOG=log LOOKUP=lookup MAX=max MIDSTR=mid MIN=min MOD=mod MONTH=month NOT=NOT NPV=npv OR=OR PI=PI PIPE=pipe PMT=pmt PV=pv RADIANS=rad RAND=rand ROOT=root ROUND=rnd ROWFUNC=ROW RPT=rpt RSHELL=rsh RSHELL=rsh RULES=rules SELECT=where SELF=self SFV=sfv SHELL=sh SHELL=sh SIN=sin SINK_FUND=sink SPV=spv SRAND=srand STDEV=stdev STRCMP=cmp STRCONV=str STRLEN=len SUM=sum TAN=tan TEXTCELL=textcell LITRANGE=lit TODAY=TODAY TRUE=TRUE VALCONV=val YEAR=year NA=NA ERR=ERR ISNA=isna ISERR=iserr * graph types, these must be defined, but cannot be translated. * ugraph won't understand translated names (yet). V_BAR=V_BAR H_BAR=H_BAR VS_BAR=VS_BAR HS_BAR=HS_BAR LINE=LINE SCATTER=SCATTER MAXMIN=MAXMIN PIECHART=PIE * The print effects EF_A=bold EF_A=b EF_B=double EF_B=dbl EF_B=large EF_C=underscore EF_C=us EF_D=ustext EF_D=ust EF_E=usbold EF_F=italic )) ************************************************************************ * * * #MAPS section * * maps UNIPLEX keystroke cmds, from uniplex.cmd to spreadsheet cmds * * * * The spreadsheet commands may be macros. * * Notes: For this section end of line is equivalent to pressing return * * If its necessary to return to keyboard input then use {KB} * * * ************************************************************************ #MAPS *MAPS section for the new (AP) set of uniplex commands. * delete word is unconfirmed kill of the current cell. * ^O to open (insert) a row, ^X to delete a row. * Now delete row is not confirmed (this might be dangerous?) F03={NC}kill @ F06=del {ROW} F09=ins {ROW} * goto top of doc and goto bottom (max row) F29=cu 1 F30=cu {MR} * these macros switch text to numbers and numbers to text at a keystroke. * only problem is ^T (to text) ^N (to number) have different meaning in WP. * These commands would make good tapes!! but can't be commands 'cos the * keystrokes have changed. *F18=(OR(defcell(@),datacell(@),empty(@)))ex{}ed{}{67}d@=val({22}") *F25=(OR(defcell(@),textcell(@),empty(@)))ex{}ed{}{67}" * ESC = followed by a single digit selects the cut/paste buffer. F077=buf {MSG 204}{K1} * cut and paste stuff works as follows: * Mark top left in same way for serial or block. F052={5}mark <@{}{MSG 194} F071={5}mark <@{}{MSG 194} * when root for bottom right is recieved mark and put up prompt. G005={5}mark >@{}{MSG 202} * perform appropriate action on getting next letter * Append, blank and leave do a cut. F054={5}cut mark F053={5}cut mark{}{NC}k mark F055={5}cut mark{}{NC}k mark F072={5}pri mark on 9 in {MSG 190}{INP} F085={KB} F096={5}cut mark > * * PASTE: on getting the paste root put up a prompt * G006={MSG 203}{KB} *Then perform the require action on our marked area F057={5}pa F058={5}pa F119={5}copy mark > @ F120={5}move mark > @ *Saving files now works as follows. *Esc E = Save and unconfirmed quit. *Esc W = Save G014={MSG 214}{KB} F061={5}save{}{NC}q F062=q F063={5}save F074={5}save in {MSG 190}{INP} * *READ a file. * G007={MSG 207}{KB} F073={5}inp from {MSG 190}{INP} F065={5}inp from {MSG 190}{INP} F151={5}get from {MSG 190}{INP} * * WINDOW commands: * Generic G11: show msg 211 * Open, Close, Forward, Back, Link, Unlink, Switch. * Note: Switch is same as forward for now, since SS doesn't support it. * Lots more options are available via SS commands than are * supported via keystrokes. * G011={MSG 211}{KB} F170={5}spl {ROW} F171={5}w+ F172={5}unspl F174={5}w- F173={5}w+ F176={5}w link F177={5}w unlink * * MODES: rather a cheat here since we reuse some uniplex options. * column will turn status on and off. * options will turn view on and off. * Insert and Edit are handled internally. * headers on/off is missing. * G018={MSG 218}{KB} F056={5}status F050={5}view * * Some format options. LEFT RIGHT CENTER are supported via keystrokes. * A cheat here, use lower case L to mean left. * G003={MSG 206} F078={5}f@ right F033={5}f@ center F031={5}f@ left F034={5}f@ us )) ************************************************************************ * * * #DEFAULTS defines the default settings for a number of options. * * * * VIEW : view mode, on -> show cell contents on status line. * * STATUC : status mode, off -> useful to speed up performance. * * CALC : auto calculate mode * * SCROLL : on -> scroll by single lines, off -> by pages * * CURSOR : define cell pointer. * * can be bracket pair, eg. () or effect eg. A * * if not present then default uses PAINT ruler effect. * * WINDOW : chars used for window indicator, top left of each window. * * ROWS : maximum number of rows in the worksheet. -R flag overrides * * COLS : maximum number of columns in the worksheet. -C flag overrides * * WIDTH : default print page width. -w flag overrides. * * LENGTH : default print page length. -l flag overrides. * * COMPRESSED : on -> default print in small font. * * PERCENT : percent multiply factor. format % multiplies by this val * * EFFECT : 6 chars giving mapping of 6 ucalc effect onto print effects * * see: EF_A - EF_F definition in #KEYWORDS section. * * * ************************************************************************ #DEFAULTS VIEW=on STATUS=on CALC=on SCROLL=on WINDOW=[] ROWS=1024 COLS=256 WIDTH=112 LENGTH=42 COMPRESSED=off PERCENT=100 EFFECT=AHCDEI )) ************************************************************************ * * * #FORMATS section defines the available date formats and user * * definable numeric formats. * * * ************************************************************************ #FORMATS * 1 is the list of day names; each name separated by a comma * 2 is the list of month names; each name separated by a comma * 3 should be the same as DATEFMT in #SYSTEM of uniplex.cmd * 3 - 19 are the formats correspond to datefmt 1 - 16 in ucalc * * In a format key chars are D M and Y, * D = Day number (1-31) M = Month number (1-12) Y = last 2 digits. * * or alternatively (but the same) * DD = Day number (1-31) MM = Month number (1-12) YY = last 2 digits. * * or to put leading zero onto sigle digit days and months eg. 04/03/86 * 0D = Day number (01 - 31) 0M = Month number (01-12) * * or extended formats * DAY = Day name (msg 90) MONTH = Month name (msg 91) YYYY = years AD. * * 123 equivalents * * datefmt style * 8 DD-MMM-YY eg. 06-Jan-87 * 9 DD-MMM eg. 06-Jan * 10 MMM-YY eg. Jan-54 * 11 MM/DD/YY eg. 01/06/87 (international long) * 12 MM/DD eg. 01/06 (international short) * 1 Sun ,Mon ,Tue ,Wed ,Thur,Fri ,Sat\s 2 Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec 3 MM/DD/YY 4 0M/0D/YY 5 DAY MONTH DD YYYY 6 DD MONTH YYYY 7 DAY DD MONTH YYYY 10 0D-MONTH-YY 11 0D-MONTH 12 MONTH-YY 13 0M/0D/YY 14 0M/0D * 20 to 36 are for user defined formats. format syntax is as follows: * they correspond to formats 1 to 16 in ucalc * {COMPARISON VALUE [A-F][crl]}any text #.## etc etc... * eg. {>=0}# {<0}(#) Will put brackets around negative values. * eg. {>=0-l}#{<0Ar}# OD Value < 0 will be right justified, bold and * have a following OD (overdrawn). * * fmt 1 is decimal point aligned. * fmt 2 is backets around negative nos. * fmt 3 is decimal point aligned negative nos in highlight. * fmt 4 if the cell contains ZERO then display it as an empty cell. * fmt 5 is invisble format for hiding secret data. * * Reserve 8-15 for forgign curreny formats. * fmt 8 Duesch Mark * fmt 9 French Franc * fmt 10 Lira * * 20 {>=0}#.###{<0}-#.### 21 {>=0}# {<0}(#) 22 {>=0-}#.###{<0A}-#.### 23 {>0}# {==0} {<0}-#\s 24 {>=0}{<=0} 27 DM:{>=0}DM# {<0}(DM#) 28 F:{>=0}#F{<0}(#)F 29 L:{>=0}#L{<0}(#)L )) ************************************************************************ * * HELP * COMMAND=nnn HELP_SECTION * where nnn is help msg number and HELP_SECTION is a section in the help file * ************************************************************************ #HELP NUMBER= 500 number QUOTE= 501 quote EQUAL= 502 equal CALC= 503 calculate COPY= 504 copy CURSOR= 505 cursor CWIDTH= 506 cwidth DATA= 507 data DB= 508 db DEFINE= 509 define DELETE= 510 delete EDIT= 511 edit FORMAT= 512 format GET= 513 get GRAPH= 514 graph INIT= 515 init INPUT= 516 input INSERT= 517 insert KILL= 518 kill LABEL= 519 labels LIST= 520 list LOCK= 521 lock MACRO= 522 macros MOVE= 523 move PASTE= 524 cut&paste PRINT= 525 print SAVE= 526 save SPLIT= 527 split TITLE= 528 title UNLABEL= 529 labels UNLOCK= 530 unlock UNSPLIT= 531 unsplit USE= 532 use WNDOW= 533 window ZERO= 534 zero ))