SD Core for Linux LC2.0-0

SD TCL - Syntax

Every verb you can type, alphabetically, with its syntax and nothing else.

A lookup card, and nothing else. If you know which verb you want and have forgotten its arguments, it is here. If you want to know what it does, the subject documents are where that lives.

Italics mark something you supply, bold a word typed as it stands, braces an optional part, and a vertical bar separates alternatives. SD folds case, so any of this may be typed in either case.

This page lists every verb SD ships (214 of them). The shapes come from the subject documents, where each verb is described in full.

The "who" column is the VOC, not an opinion. It is taken from the vocabulary SD installs, so it says what an account actually gets. A verb your account does not have is not refused — the name is simply not recognized.

every account 167 verbs newvoc, identical for every ordinary account
SDSYS only 47 more in voc_template but not newvoc

The verbs#

syntax who
abort abort {message}
ai ai text — ask the AI the administrator has chosen: you see what will be sent and say yes first; put text that ends with ? in quotes (needs the account's ai gate: modify.account account ai-on)
alias alias command target
analyse.index analyse.index file {index {statistics} {detail}} {lptr {n}} {no.page}
analyze.file analyze.file {dict} file {statistics} {lptr}
autologout autologout {minutes}
backup.account backup.account name … {to directory} · backup.account all {to directory} S
basic basic {file} record {record …}
bell bell on | off
block.print block.print text
block.term block.term text
break break on | off | on user n
build.index build.index file field … | all
catalog catalog {file {call.name}} {program} {local | global | pcode} {no.xref}
ced ced {dict} file {id … | *}
clean.account clean.account S
clear.abort clear.abort
clear.data clear.data
clear.file clear.file {data | dict} file
clear.input clear.input
clear.locks clear.locks {n} S
clear.prompts clear.prompts
clear.select clear.select {list.no}
clear.stack clear.stack
clr clr
cname cname old.file to new.file
command.logging command.logging {on | off}
como como on {record} | off | pause | resume
compare.files compare.files {dict} file1 {dict} file2 {detail}
compile.dict compile.dict {data} file {i-type …} {no.query} {no.page} · compile.dict local · compile.dict all
config config {lptr | gpl | contrib | param value}
configure.file configure.file {dict} voc.name {parameters} | default · configure.file voc.name next n | query
convert.data convert.data from.pathname to.pathname {from format} {as format} {header} {no.query}
copy copy from {dict} src {to {dict} tgt} {id …} {(options}
copy.list copy.list list {,new} {from src} {to tgt} {options}
count count {dict} file {selection}
create.account create.account user name {ssh | api | both | none} {ssh-key-on} {sh-on} {os-on} {voc-on} {bp-on} {dict-on} {shared-read-off} {shared-write-on} {net-on} {files-on} {files-write-on} {files-admin-on} {ai-on} {start-menu | start-terminal} {pins-on} {recovery-on} {xfer-on} {no.query} · create.account group name {shared-read-off} {shared-write-on} {start-menu | start-terminal} {pins-on} {no.query} · create.account other name pathname {shared-read-off} {shared-write-on} {start-menu | start-terminal} {pins-on} {no.query} S
create.file create.file {dict} voc.name {directory} {parameters} {server server {as remote.name}}
create.index create.index file field … {no.nulls} {pathname path}
ct ct {dict} file {id … | *} {(options}
date date | internal | n | date
date.format date.format on | off | display
debug debug
decatalog decatalog {file} name …
delete delete {dict} file {id …} {no.query}
delete.account delete.account account {remove.home} {no.query} S
delete.catalog delete.catalog name … {global | local}
delete.common delete.common name
delete.file delete.file {dict | data} voc.name {force} {no.query}
delete.index delete.index file field … | all
delete.list delete.list list
delete.netlogin delete.netlogin server
delete.server delete.server name S
disable.index disable.index file index … | all
display display text
docs.install docs.install directory — copy the PDF files of a directory into the shared account's pdf directory (administrator) S
dump dump {dict} file {id … | *} {(options}
echo echo on | off | echo to toggle
ed ed {dict} file {id … | creating.seqkey}
edit edit {dict} file record
encrypt.key encrypt.key set name salt {confirm} · encrypt.key clear {name} · encrypt.key list
execute.list execute.list command {; command …} — a pair of brackets () in a command is replaced by each id of list 0 in turn
exit exit — from the terminal that home gave, back to the home screen; anywhere else it ends the session as quit does
file.stat file.stat {dict} {file …} {lptr {n}} {no.page}
find.file find.file {dict} file
find.program find.program name {detail}
fixdir fixdir file {id …}
form.list form.list {dict} file {list.no}
format format {file} {record} {case}
fstat fstat file on | off | {lptr} · fstat global {lptr} · fstat reset · fstat
fstat.user fstat.user {top} {user n} {lptr {n}} {no.page}
generate generate {dict} file record …
get.list get.list list {to list.no}
get.stack get.stack {name}
go go label
home home — the home screen: tiles for the account's tools, a terminal, switch account and sign out
hsm hsm on | off | display {user n}
hush hush on | off | hush to toggle
ide ide {file record}
if if condition command
import.csv import.csv pathname file {header} {delimiter x} {quote x} {escape x} {id column | generate} {dict} {overwriting}
import.json import.json pathname collection.file {id name | generate} {overwriting}
import.xml import.xml pathname file {id name | generate} {overwriting}
inhibit.login inhibit.login {on | off} S
list list {dict} file {selection} {fields} {options}
list.common list.common {all} {detail}
list.files list.files
list.index list.index file {field …}
list.item list.item {dict} file {selection}
list.label list.label {dict} file {selection} {fields}
list.locks list.locks S
list.phantoms list.phantoms {user name}
list.readu list.readu {user.no} {detail} {wait} {no.page} {lptr {n}} S
list.servers list.servers {name} S
list.shared list.shared S
list.term.types list.term.types {lptr {n}}
list.triggers list.triggers {file …} {lptr {n}}
list.vars list.vars {pattern}
list.voc.removed list.voc.removed {account} — the VOC records SD no longer ships and, with an account, what the next update.accounts would do in it (changes nothing) S
listu listu {detail} {no.page} {lptr {n}} S
load.examples load.examples {account …} — put the shipped example programs into examples.bp of the account you are in and compile them there (needs bp.edit); naming accounts is the administrator's
load.help load.help — load the shipped context help into the file context.help of the shared account (administrator) S
local.sdsys local.sdsys {ssh | api} {add user {no.query} | remove user | clear} S
lock lock n {no.wait} S
lock.tracer lock.tracer on | off | {user n} {lptr {n}} {no.page} S
logmsg logmsg text
logout logout | n … | all
logto logto account {reset {all}}
map map {all} {lptr {n}} {file {name}}
menu menu — the full-screen menu (the home screen), also from the terminal it gave you
merge.list merge.list list.no rel.op list.no {to list.no} {count.sup}
message message user.no {immediate} {text}
micro micro {dict} file record
modify.account modify.account account add | delete user · account ssh | api | both | none · account ssh-key-on | ssh-key-off · account sh-on | sh-off | os-on | os-off · account sd-on | sd-off · account voc-on | voc-off | bp-on | bp-off | dict-on | dict-off | recovery-on | recovery-off | xfer-on | xfer-off · account net-on | net-off · account shared-read-on | shared-read-off | shared-write-on | shared-write-off · account files-on | files-off | files-write-on | files-write-off | files-admin-on | files-admin-off · account ai-on | ai-off · account sdsys-on | sdsys-off · account start-menu | start-terminal | start-default · account pins-on | pins-off · account suspended | unsuspended · any number of these actions except add and delete may follow the account, in one command S
modify.password modify.password {account}
move.list move.list n to m {keep}
my.menu my.menu — add your own programs to your home screen, when the administrator has allowed it (modify.account account pins-on)
nls nls {currency | thousands | decimal {value}} · nls default
nselect nselect file {list.no}
off off
option option name {on | off | display} · option all off · option
oscopy oscopy source target {overwrite | append}
pause pause {seconds}
pdebug pdebug {command}
pdump pdump n
phantom phantom {no.msg} {data} {group} {user n} {log file} command
printer printer {unit} query | at name | file file record | width n | lines n | top.margin n | bottom.margin n | left.margin n | keep.open | close | reset
profiler profiler on {user n} {event …} | off {user n} | {display} {user n}
pstat pstat {user n} {level n} {no.page} {lptr {n}}
pterm pterm display | lptr | break … | newline … | return … | binary … | telnet … | reset string | prompt p c
qselect qselect {dict} file {id … | *} {(options}
quit quit — the same verb as off
rebuild.all.indices rebuild.all.indices {no.query}
receive receive {overwrite}
redo redo {times n} {every s} command
reformat reformat {dict} file {selection} {fields}
release release file id … · release filelock file
remote.api remote.api {on | local | off} S
remote.sdsys remote.sdsys {on | off | ssh {on | off} | api {on address ... | on any | off}} S
remote.ssh remote.ssh {on | off} S
remove.examples remove.examples {account …} — take the shipped example programs, with their compiled objects, out of examples.bp of the account you are in (needs bp.edit); programs you added are kept; naming accounts is the administrator's
report.src report.src on | off | report.src to toggle
report.style report.style {name | off}
restore.account restore.account archive name … {no.query} · restore.account archive all {no.query} · restore.account latest name … | all {no.query} S
restore.voc restore.voc account id · restore.voc account all — put back the newest saved copy of a record the VOC update removed; never overwrites S
run run {file} record {arguments}
run.in run.in account {basic file program {debugging} {no.query} | catalog file program {local} {no.query} | decatalog program | delete.catalog program {local} | debug file program | compile.dict file item} — the administrator runs one of these commands inside another account and is back in SDSYS afterwards, whatever happens to it; the account's LOGIN does not run and its basic never catalogs (it is given no.catalog); refused when a word of the command is not the VOC entry SD supplies in that account, when a file it writes lies outside the account, when a file it opens has a trigger, or (in a compile) at a $execute line, or at an include record or dictionary that lies outside the account S
save.list save.list list {from list.no}
save.stack save.stack {name}
scan scan {dict} file {selection} {id …} {all} {no.case} {all.match | no.match} {strings file record} for "text" …
search search {dict} file {selection}
sed sed {dict} file {record | creating.seqkey}
select select {dict} file {selection} {list.no}
select.dir select.dir pathname {to n}
selectindex selectindex {dict} file index {value} {to n}
send send file id {id …}
set set name value
set.ai set.ai · set.ai provider name | none · set.ai model provider name | - · set.ai models provider · set.ai key provider {clear | handover} · set.ai custom name url format auth version maxparam | clear · set.ai ca path | - · set.ai limit name number · set.ai context hex | - — the AI provider, model, key, limits and standing text for every account (administrator); the key is typed at the helper's own prompt S
set.backup.directory set.backup.directory {directory} S
set.batch set.batch {{add | remove} account command} — the commands an account may run from the command line, as a scheduled job runs one (none is allowed as delivered); without arguments, lists them S
set.config set.config parameter value — changes one of 14 tuning parameters of sd.conf (administrator, through the root helper); value is a whole number inside the range SD enforces S
set.date set.date date S
set.exit.status set.exit.status n
set.file set.file account file pointer
set.job set.job {{add | change} name job schedule | {delete | run} name} — the administrator's scheduled jobs (through the root helper): job is backup-all or update-accounts; schedule is every n minutes, hourly, daily hh:mm, weekly day hh:mm or monthly d hh:mm; without arguments, lists them with their next and last runs S
set.mode set.mode {dict} file {all | from listno | id …} {no.query} mode
set.netlogin set.netlogin server
set.server set.server name host port account {pin | connect} {read | write} {accounts a,b,…} {no.query} S
set.start.default set.start.default {menu | terminal} — where accounts with no start setting of their own start; without a word, says what it is S
set.tile set.tile {account tile on | off} — turn a home screen tile off or on for one account (tiles are on as delivered; sign out cannot be turned off; tile recent is the Recent group); without arguments, says what is off S
set.trigger set.trigger file name {modes}
setptr setptr unit | default,width,depth,top,bottom,mode {,options} · setptr display · setptr unit,display
settings.report settings.report {directory} S
sh sh command
show show {dict} file {selection}
show.list show.list {n}
sleep sleep n | hh:mm{:ss}
sort sort {dict} file {selection} {fields} {options}
sort.item sort.item {dict} file {selection}
sort.label sort.label {dict} file {selection} {fields}
sort.list sort.list name {from file}
sp.view sp.view
spool spool file id … {lines n m} {lnum} {lptr n}
sreformat sreformat {dict} file {selection} {fields}
sselect sselect {dict} file {selection} {list.no}
status status
stop stop
sum sum {dict} file {selection} field
term term | width{,lines} {type} | color bg{,fg} | default | display
time time | internal
tool.accounts tool.accounts — the accounts on one screen (administrator): every account with its kind, suspension, gates that are on and sessions; modify.account (suspend, add or take away a person) and create.account behind a box answered Run, and delete.account from one dialog where the name is typed and Run pressed, with the terminal given to the verb only where it asks for a password S
tool.ai tool.ai — the AI choice page (administrator): the provider with a check box (Anthropic, OpenAI, Google, DeepSeek or Custom), its model (each named provider has a default) and key, and which accounts may use the AI S
tool.audit tool.audit — the audit trail on one screen (administrator): read from its end a screen at a time, with filters by time, event, account, user and text, go to a time, follow, the rotated files, and the lines shown saved to a record of $HOLD; it runs no command S
tool.backups tool.backups — backups and restores on one screen (administrator): the saved directory, the archives in it with the manifest of each, who else is signed on, and backup.account, restore.account and set.backup.directory behind a box answered Run S
tool.bulk tool.bulk — a bulk update of one data file of the account: choose the records (conditions, a saved list or every record), up to ten operations from a closed set, a dry run that writes nothing, apply under record locks after a box that asks the file's name typed, and undo of the last run
tool.catalog tool.catalog — the programs of the account on one screen: compiled or not, current or stale, and where each is cataloged (private, local, global); compile it, catalog it privately or locally, and take a catalog entry out, each through its own verb after a box that shows the command
tool.config tool.config — the configuration on one screen (administrator): every parameter of sd.conf with what SD is running with, what the file says, the default and when a change takes effect, the backup directory and the operating system part of the settings report; E changes one of 14 tuning parameters through set.config behind a box answered Run, and shows why and the line to add by hand for every other S
tool.dict tool.dict {file} — the dictionary of a file on one screen: its items by type with their heading, format, conversion and expression, described in words; make an item (after asking its id) or edit one in the IDE (the page writes nothing itself; the IDE asks for the dict-edit gate), delete or compile one through its verb, try one on a record; and the file's indices (make, build, delete, list)
tool.entries tool.entries — the master files page (administrator): the VOC entries, the dictionary items and the programs (K) of every registered account read from the account's own files, with the edit gates it holds and whether the sdsys user is in its group; filter by a part of an id (or a heading) or find it in every account; a pointer whose target lies outside the account is marked >; E and N edit or make a VOC entry, a dictionary item or a program in its own account, in the IDE; D deletes one after a box that asks its id typed; C compiles and B debugs a program in its own account (through run.in); G changes every row the filter or find shows, in every account, after one preview box, and U puts the last such change back S
tool.files tool.files — the files of the account on one screen: kind, records, modulus, size, indices, trigger; make, clear and delete a file, each through its own verb after a box that shows the command; analyze a file and list its indices and triggers by handing the terminal to the verb
tool.gates tool.gates — for the administrator the gate matrix (every account against every per-account gate; queued changes run as one modify.account command); in any other account, what this account may do and why (read only)
tool.jobs tool.jobs — the Scheduled jobs page (administrator): every account and the paragraphs and sentences it may run from the command line, changed through set.batch after a box answered Run; J shows the administrator's own scheduled jobs, made, changed, deleted and run now through set.job S
tool.keys tool.keys
tool.menus tool.menus — menu management (administrator): the home screen's tiles for each account, where each account starts, who may add their own programs S
tool.query tool.query {file} — the query and report builder: choose a file, mark its columns (break and total), set conditions, sorts and options, read the list / sort / count / sum sentence they make, run it into a results box, and save the query in your file &queries& and load it again; every sentence is checked before it runs
tool.remote tool.remote — everything that reaches SD from outside, on one screen (administrator): the two doors as the machine reports them (remote.api and remote.ssh, changed after a box and the word OPEN), the routes of each user account, the SDNet servers (delete.server; set.server with the terminal given to the verb), who is connected, this machine's TLS identity, and SDSYS's sign-in over ssh (remote.sdsys, opened or shut after a box and the word OPEN) S
tool.sessions tool.sessions — sessions, locks and logout on one screen (administrator): every session and every lock, read again every three seconds; each key runs one logout, unlock or inhibit.login command after a box answered Run S
tool.test tool.test — the tests of the account on one screen: the test.* programs of its program files, run with run and judged by the last line N passed, M failed (pass, fail, no verdict; an abort is a fail); run one, all of those shown or the failed ones (after a box), read what a test printed, compile a test that has no object code through basic after a box that shows the command
tool.voc tool.voc — the vocabulary of the account on one screen: every VOC entry with its type, what it points at, whether a pointer works and how it differs from the shipped VOC; edit an entry in the IDE, delete one through delete after a box that asks its id typed (a keyword entry is refused)
umask umask {mask}
unlock unlock file n {user n} id … | all | filelock · unlock tasklock n … S
update.accounts update.accounts {all} S
who who
who.am.i who.am.i

Blank in the who column means every account has it; S is SDSYS alone.