|
|
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 - downloadIndex: T U u
Length: 16002 (0x3e82)
Types: TextFile
Notes: UNIX file
Names: »ucdefs«
└─⟦bee8f15db⟧ Bits:30004169/disk2.imd Uniplex II+ V.6 release 1.0 (dansk)
└─⟦bee8f15db⟧ UNIX Filesystem
└─⟦this⟧ »up/new/usr/UAP/uc/ucdefs«
V.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T....H..
************************************************************************
* UNIPLEX II+ SPREADSHEET *
* CONFIGURATION FILE Release AP *
* *
* 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=mf
CALC=k
CALC=kalk
COMMENT=#
COPY=ko
CURSOR=mar
CWIDTH=s▶9b◀
CWIDTH=kb
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=s
DOWN=DOWN
EDIT=r
ELSE=el
ENDIF=endif
EXIT=ex
FORMAT=fo
GET=h
GOTO=go
GRAPH=graf
GRAPH=gr
HDR=ho
HELP=hj
INIT=init
INPUT=indd
INPUT=indf
INSERT=inds
KILL=a
LABEL=bet
LASTCMD=$
LEFT=LEFT
LIST=l
LOCK=bes
MACRO=ma
MARK=afm
MOVE=fl
NEW=t▶9b◀
PASTE=flyt
PRECISION=pr
PRINT=u
PRINT=m
SETPRINT=s▶91◀t
QUIT=af
QUIT=q
REDRAW=gen
REPEAT=rp
RIGHT=RIGHT
RULER=fml
SAVE=g
SCROLL=rul
SPLIT=del
STATUS=st
TITLE=t
UNLABEL=fj
UNLOCK=o
UNLOCK=oph
UNSPLIT=sa
UP=UP
USE=br
VIEW=vis
WNDOW=v
ZERO=nu
))
************************************************************************
* *
* #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=K
AROW=R
ROW=r
COL=s
COL=k
* 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 optimised 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=alt
CENTRE=centrer
CENTRE=ce
CM_OFF=fr
CM_ON=ti
COLWISE=kv
CONVERTER=konv
DATA=data
DATE=datofmt
DB=db
DEL_POINT=SLET_P
DEL_RANGE=SLET_I
DIF=dif
TEMPLATE=skabelon
DOLLAR=Kr.
DOWN=n
EFFECT=effekt
FMT_COMMA=punktum
FORMAT=fo
FORMAT=type
FRACSPEC=dec
FRACSPEC=frac
FROM=fra
GRAPH=graf
GRAPH=gr
GROUP=grup
HDR=ho
LABEL=bet
LEFT=v
LEFT=venstre
LIMITS=lim
LIMITS=limit
MACROLEFT={
MACRORIGHT=}
MARK=afm
NATURAL=naturlig
ONESHOT=engangs
OPTIONS=vlg
REPEATCHAR=_
RIGHT=h
RIGHT=h▶9b◀jre
ROWWISE=rv
RULER=fml
SCIENTIFIC=enot
SPACING=linieafstand
STERLING=#
SIZE=st▶9b◀rrelse
TEXT=tekst
TITLE=titel
* TO is no longer used in range defs, ':' is hard coded.ex II.
* TO defined here is a synonym for > for use in copy and move commands.
TO=til
UP=o
VAR_POINT=X
WIDTH=bred
WIDTH=bredde
X_PIPE=|
EXPAND=h▶9b◀jopl
KILL=slet
* function names
ABS=abs
AND=AND
AND=OG
ARCCOS=acos
ARCSIN=asin
ARCTAN=atan
ATAN2=atan2
AVG=gnm
BAR=streg
CHOOSE=udpeg
COLFUNC=COL
COLFUNC=KOL
COS=cos
COUNT=tl
DATACELL=datacelle
DATENUM=dato
DAY=dag
DAYINMON=dag_mnd
DAYINMON=dag_md
DEFCELL=defcell
DEFCELL=defcelle
DEGREES=grad
DIV=div
EMPTYCELL=tom
EVAL=eval
EXP=exp
FALSE=FALSK
FIXED=fast
FV=fv
IF=if
IF=hvis
IN=i
INDEX=indeks
INTR_PER=period
INTR_RATE=rate
INTSPEC=hel
IRR=irr
LENGTH=lang
LINK=tilknyt
LINK=link
UNLINK=bryd
LOG10=log10
LOG=log
LOOKUP=opslag
MAX=max
MIDSTR=mid
MIN=min
MOD=mod
MONTH=month
MONTH=md
NOT=NOT
NOT=IKKE
NPV=npv
OR=OR
OR=ELLER
PI=PI
PIPE=pipe
PMT=pmt
PV=pv
RADIANS=rad
RAND=rand
ROOT=root
ROOT=rod
ROUND=rnd
ROWFUNC=ROW
ROWFUNC=R▶92◀K
RPT=rpt
RSHELL=rsh
RULES=regel
SELECT=hvor
SELF=selv
SFV=sfv
SHELL=sh
SIN=sin
SINK_FUND=sink
SPV=spv
SRAND=srand
STDEV=stdev
STRCMP=cmp
STRCMP=sml
STRCONV=str
STRLEN=len
SUM=sum
TAN=tan
TEXTCELL=tekstcelle
LITRANGE=lit
TODAY=DAG
TRUE=TRUE
TRUE=SAND
VALCONV=val
YEAR=aar
NA=UK
ERR=FEJL
ISNA=eruk
ISERR=erfejl
* 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=fed
EF_A=fe
EF_B=dobbel
EF_B=dbl
EF_C=understreg
EF_C=us
EF_D=ustekst
EF_D=ust
EF_E=usfed
EF_F=usdbl
))
************************************************************************
* *
* #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.
F03={NC}a @
F06=s r{R▶92◀K}
F09=inds r{R▶92◀K}
* goto top left of screen (home-key)
* goto top of doc and goto bottom (max row)
F25={23}{}{21}ex
F29=cu r1
F30=cu r{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(defcelle(@),datacelle(@),tom(@)))ex{}r{}{67}d@=val({22}")
*F25=(OR(defcelle(@),tekstcelle(@),tom(@)))ex{}r{}{67}"
* ESC = followed by a single digit selects the cut/paste buffer.
F077=mf {MSG 204}{K1}
* cut and paste stuff works as follows:
* Mark top left in same way for serial or block.
F052=afm <@{MSG 194}
F071=afm <@{MSG 194}
* when root for bottom right is recieved mark and put up prompt.
G005=afm >@{}{MSG 202}
* perform appropriate action on getting next letter
* Append, blank and leave do a cut.
F054=m afm
F053=m afm{}{NC}a afm
F055=m afm{}{NC}a afm
F072=u afm i {MSG 190}{INP}
F085={KB}
F096=m afm >
*
* PASTE: on getting the paste root put up a prompt
*
G006={MSG 203}{KB}
*Then perform the require action on our marked area
F057=flyt
F058=flyt
F119=ko afm > @
F120=fl afm > @
*Saving files now works as follows.
*Esc E = Save and unconfirmed quit.
*Esc W = Save
G014={MSG 214}{KB}
F061=gem{}{NC}q
F062=q
F063=gem
F074=gem i {MSG 190}{INP}
*
*READ a file.
*
G007={MSG 207}{KB}
F073=indd fra {MSG 190}{INP}
F065=indd fra {MSG 190}{INP}
F151=hent fra {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=del r{R▶92◀K}
F171=v+
F172=saml
F174=v-
F173=v+
F176=v tilknyt
F177=v bryd
*
* 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=status
F050=vis
*
* Some format options. LEFT RIGHT CENTER are supported via keystrokes.
* A cheat here, use lower case L to mean left.
*
G003={MSG 206}
F078=fo@ h▶9b◀jre
F033=fo@ centrer
F031=fo@ v
F034=fo@ us
))
*************************************************************************
*
* Spare copy of the MAPS section:
*
*************************************************************************
*#MAPS
*MAPS section for the new (AP) set of uniplex commands.
*All commands prefixed with '/' to force command even in text entry mode.
* delete word is unconfirmed kill of the current cell.
* ^O to open (insert) a row, ^X to delete a row.
F03={NC}/a @
F06=/s r{R▶92◀K}
F09=/inds r{R▶92◀K}
* goto top left of screen (home-key)
* goto top of doc and goto bottom (max row)
F25={23}{}{21}/ex
F29=/cu r1
F30=/cu r{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(defcelle(@),datacelle(@),tom(@)))ex{}r{}{67}d@=val({22}")
*F25=(OR(defcelle(@),tekstcelle(@),tom(@)))ex{}r{}{67}"
* ESC = followed by a single digit selects the cut/paste buffer.
F077=/mf {MSG 204}{K1}
* cut and paste stuff works as follows:
* Mark top left in same way for serial or block.
F052=/afm <@{MSG 194}
F071=/afm <@{MSG 194}
* when root for bottom right is recieved mark and put up prompt.
G005=/afm >@{}{MSG 202}
* perform appropriate action on getting next letter
* Append, blank and leave do a cut.
F054=/m afm
F053=/m afm{}{NC}a afm
F055=/m afm{}{NC}a afm
F072=/u afm i {MSG 190}{INP}
F085={KB}
F096=/m afm >
*
* PASTE: on getting the paste root put up a prompt
*
G006={MSG 203}{KB}
*Then perform the require action on our marked area
F057=/flyt
F058=/flyt
F119=/ko afm > @
F120=/fl afm > @
*Saving files now works as follows.
*Esc E = Save and unconfirmed quit.
*Esc W = Save
G014={MSG 214}{KB}
F061=/gem{}{NC}q
F062=/q
F063=/gem
F074=/gem i {MSG 190}{INP}
*
*READ a file.
*
G007={MSG 207}{KB}
F073=/indd fra {MSG 190}{INP}
F065=/indd fra {MSG 190}{INP}
F151=/hent fra {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=/del r{R▶92◀K}
F171=/v+
F172=/saml
F174=/v-
F173=/v+
F176=/v tilknyt
F177=/v bryd
*
* 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=/status
F050=/vis
*
* Some format options. LEFT RIGHT CENTER are supported via keystrokes.
* A cheat here, use lower case L to mean left.
*
G003={MSG 206}
F078=/fo@ h▶9b◀jre
F033=/fo@ centrer
F031=/fo@ v
F034=/fo@ us
))
************************************************************************
* *
* #DEFAULTS defines the default settings for a number of options. *
* *
************************************************************************
#DEFAULTS
VIEW=on
STATUS=on
CALC=off
SCROLL=on
WINDOW=()
ROWS=1024
COLS=1024
PERCENT=100
))
************************************************************************
* *
* #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.
1 S▶9b◀n,Man,Tirs,Ons,Tors,Fre,L▶9b◀r
2 jan.,feb.,mar.,apr.,maj,jun.,jul.,aug.,sep.,okt.,nov.,dec.
3 DD.MM.YY
4 0D.0M.YY
5 DD. MONTH YYYY
6 DAY. DD. MONTH YYYY
7 DAYdag d. DD. MONTH YYYY
8 Kalundborg d. DD. MONTH YYYY
9 MONTH 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 is the cell contains ZERO then display it as an empty cell.
* fmt 5 is invisble format for hiding secret data.
* fmt 6 rewrite invisble data.
* fmt 7 insert 'Kr. ' (inclusiv space) in front of number.
20 {>=0}#.###{<0}-#.###
21 {>=0}# {<0}(#)
22 {>=0-}#.###{<0A}-#.###
23 {>0}# {==0} {<0}-#\s
24 {>=0}{<=0}
25 {>=0}# {<0}-#
26 {>=0}Kr.\s# {<0}Kr.\s-#
))
************************************************************************
*
* HELP
* COMMAND=nnn HELP_SECTION
* where nnn is help msg number and HELP_SECTION is a section in the help file
*
************************************************************************
#HELP
NUMBER= 500 tal
QUOTE= 501 anf▶9b◀relsetegn
EQUAL= 502 lighedstegn
CALC= 503 kalk
COPY= 504 kopi
CURSOR= 505 mark▶9b◀r
CWIDTH= 506 kolonnebredde
DATA= 507 data
DB= 508 database
DEFINE= 509 definer
DELETE= 510 slet
EDIT= 511 rediger
FORMAT= 512 format
GET= 513 hent
GRAPH= 514 graf
INIT= 515 init
INPUT= 516 indata
INSERT= 517 inds▶91◀t
KILL= 518 annuller
LABEL= 519 betegn
LIST= 520 list
LOCK= 521 beskyt
MACRO= 522 makroer
MOVE= 523 fl
PASTE= 524 flyt
PRINT= 525 udskriv
SAVE= 526 gem
SPLIT= 527 del
TITLE= 528 titel
UNLABEL= 529 fjern
UNLOCK= 530 oph▶91◀v
UNSPLIT= 531 saml
USE= 532 brug
WNDOW= 533 vindue
ZERO= 534 nulstil
))
*17.05.88 RC COMPUTER/esk