This is the list of what changed between L1.1-3 (9 October 2026) and LC2.0-0. The release changelog
(sdsys/changelog) has the full story of each change: what it does, why, and what it does not do. This document
is the short form.
How to read it#
- Every row is one thing that was added, changed or removed. A fix is a change.
- The rows are grouped into sections, and within each section they are in alphabetical order.
- A row is one or two lines. The User and Administrator manuals have the detail; so does the changelog.
- Names are in lower case as SD writes them.
$modewords, options and BASIC keywords are written the same way. - Everything that lets something reach beyond a program's own account, or leave the machine, is off as delivered. The administrator turns it on, account by account, and can turn it off again.
Read this first: changes that alter what an existing system does#
| Name | Change | What |
|---|---|---|
| A keep-the-accounts upgrade | Changed | could switch the shell and os.execute back on; now never loosens a gate that is off |
| A new account | Changed | had ssh and the API on, and the shell and os.execute available; now has no shell, no os.execute, no ssh and no API, and every gate is closed until SDSYS opens it (modify.account) |
| A refused sign-on | Changed | ended with exit status 0, as a session that signed on did; now 1, so a script, a job or an ssh command can tell refused from done |
A select or list with by |
Changed | records with equal sort keys came out in an order that depended on where they sat in the file; now in record-id order, as sort and sselect always gave them (not with saving unique) |
| A silent remote server | Changed | could be waited for without limit; now it is given up on after netreply seconds |
| A sort that uses work files | Changed | gave equal keys in an order that depended on sortmem and sortmrg; it now gives the order the sort gives in memory (equal keys newest first, the first duplicate kept) |
| AccuTerm and SDTerm | Removed | were supported; use terminal type xterm or vt100 |
| An index after many deletions | Changed | in a large index (three levels) deleting records could take a whole branch out of the index, so lookups missed records that were still there; fixed, and an index damaged earlier is put right by build.index |
| An index and a record id | Changed | an index kept an upper-case copy of the id; now it follows the id as the file holds it, so rebuild an index that was built on L1.1-3 |
| Dictionary divide by zero | Changed | stopped the report; now gives zero |
| Fedora | Removed | the installer installed on Fedora; it now refuses it and installs on Debian and Ubuntu (and their derivatives) only |
fileinfo(f, 1021) |
Changed | gave text such as 12 (don), 14 (ann); now the user numbers of the other sessions that have the file open, and the text form is key 1100 |
intprec and sortmem |
Changed | were 13 and 1024; now 11 and 4096 (set the old values in sd.conf if you need them) |
| Keys of the full-screen programs | Changed | F5 ran a program in the IDE, SED and the debugger; it now draws the screen again everywhere and F9 runs. Ctrl-T is the theme and Ctrl-K the keys on every page, so the keys that had them moved (the home screen's Terminal and Sign out, SED's kill line and toggle, the IDE's go to line and build): see Tools and the home screen |
| Removed features | Removed | words and modes that existed to imitate other products (so far 55 option words, 35 $mode words, and the second spellings and forms of statements, clauses, functions, conversions, TCL verbs and query keywords, each listed in REMOVED), and other things: see REMOVED |
| SDSYS over ssh | Changed | had no remote route at all; on Linux its ssh door can now be opened by the administrator (remote.sdsys on), after which sdsys signs in with its password alone (the API has a door of its own, remote.sdsys api); it is shut as delivered, as before; the installer does not ask about it, and an upgrade leaves it as it was |
sed keys |
Changed | were Emacs keys with Ctrl-X sequences; now the keys most editors have (Ctrl-PageDown / Ctrl-PageUp, and Alt-PageDown / Alt-PageUp for a terminal that keeps the Ctrl keys for its own tabs, switch buffers); the Emacs layout and rebinding went with SED's separate program |
sed, ide, !ced() |
Changed | were 120 by 36 or less; now need a window of at least 140 by 43, and ed is the editor for a smaller one |
select file field |
Changed | a field not otherwise used was ignored; now it is saving multivalued field, so the list holds the values |
| The default terminal | Changed | was 120 columns by 36 lines; now 140 by 43 (a LIST fills 42 lines before it pauses) |
| The group size of a new file | Changed | was 2 KB (1 KB when sd.conf did not say); now 4 KB on a new installation. An installed system keeps its sd.conf, and so its 2, and a file keeps the size it has |
| The spelling of what SD prints | Changed | was British (catalogue, colour, analyse, initialised, unrecognised, licence); now US (catalog, color, analyze, initialized, unrecognized, license). A program or script that matches SD's messages by their words should be checked. Names are unchanged: verbs, keywords, options and files (analyse.index, the catalogued() function) |
| The terminal's size | Changed | every session started at the terminal type's size; now SD asks the terminal how big it is at the start and when it is resized (term w,h still sets it by hand); a session with no terminal to ask (a phantom, a piped script, the API) starts at 140 by 43, as term default sets |
when field with no operator |
Changed | kept the null values; now keeps the values that are not null |
| Where a session starts | Changed | was the command prompt; a new installation starts at the home screen of tiles unless the installer's question is answered with the prompt; an upgrade from L1.1-3 keeps the prompt; set.start.default and modify.account change it later; SDSYS always starts at the prompt |
Sections#
Features of openQM that SD now has: ADMIN · API · BASIC · DATA · FILES · QUERY · SYSTEM · TCL · TOOLS.
REMOVED: what SD no longer has, and what to write instead.
New Features Unique to SD Core for Linux, not part of openQM: Administration · AI · API and client library · Commands · Data formats · Encryption · Files · Installer · Screen library · SDNet · Security · System · Tools and the home screen.
NO CHANGE: openQM features that needed nothing.
ADMIN#
Administrator commands from the openQM list.
| Name | Change | What |
|---|---|---|
config() name limit |
Changed | a parameter name may be up to sixteen characters (was eight), so config('SCREENTHEME') finds the setting; a longer name is not found |
inhibit.login |
Added | administrator only: stops new sessions while maintenance is done; a killed backup no longer locks everybody out |
lock.tracer |
Added | administrator only: logs every lock taken and released, with program and line, to the file locktrace |
logout |
Changed | logout n group also ends the phantoms n started; logout of a session whose process has gone clears the entry and its locks |
newvoc.mods |
Added | an optional directory file of VOC records of your own in the SD system directory, written to every account's VOC (SDSYS's included) after the standard ones at install and at every update.accounts; deletesdcore.sh keeps it when the accounts are kept, and an install puts it back before the VOC is refreshed |
SCREENTHEME |
Changed | readable with config(); the shipped sd.conf says SCREENTHEME=paper, an install or upgrade that keeps the configuration leaves a restored sd.conf's SCREENTHEME line exactly as it was (a kept file with no line stays on mono), and only a new install starts in paper; a terminal with no color stays mono |
API#
The server side of the API, the client library and the language headers.
| Name | Change | What |
|---|---|---|
| api server: tls relay filter | Changed | the relay that handles the network's bytes is confined by no_new_privs and a system-call filter: it can copy bytes and nothing else, and is killed if it tries to open a file, make a connection or run a program |
| api sign-in: audit | Added | the first entry to an account writes api login user= account= to the audit trail |
autologout |
Changed | reaches an API session; a client hang found while testing it is fixed |
| client library headers | Added | C# (sdclient.cs) and PHP (sdclient.php) beside the six already there; neither has been run against a runtime |
| client library: C header | Changed | fixed: syscom/sdclilib.h declared SDMarkMapping, SDSelectIndex, SDSelectLeft, SDSelectRight, SDSetLeft and SDSetRight with int where the library takes 16-bit values |
| client library: call name | Changed | a subroutine called from the client may have a name as long as the lower of 128 and maxidlen, as on the server's own call |
| client library: clean room | Changed | the C client library is written new for SD Core (Blue Oak Model License 1.0.0, so a program of any licence may link it), delivered as binaries in the release package's clients folder; the installer puts the build for the system's OpenSSL in /usr/local/sdsys/bin; the source no longer builds the old GPL library; the BASIC client and the language bindings are unchanged |
| client library: collection files | Changed | a record read from a data collection file reaches the client as its JSON text, as ct shows it |
| client library: connections | Changed | the number of simultaneous connections is no longer limited |
| client library: detailed error | Changed | the BASIC class sdclient returns the detailed status when it cannot connect |
| client library: dictionary | Added | sdevaluate, sdevalconv, sdiconv, sdoconv, sdiconvs, sdoconvs |
| client library: files | Added | sdopenseq, sdreadseq, sdreadblk, sdwriteseq, sdwriteblk, sdseek, sdweofseq |
| client library: fixes | Changed | sddcount counts a delimiter of several characters; a program may hold 1024 sessions (it was four); a waiting session is no longer damaged when another connects and disconnects; a request to a local server that has ended fails at once instead of waiting for ever; sdchange and sdlogto were checked and found correct |
| client library: more functions | Added | sdrevision, sdgetvar, sdsystem, sdindices, sdtrans, sdrtrans, sdtxn |
| client library: python | Added | a Python wrapper for the library |
client library: sdcallx |
Added | sdcallx and sdgetarg: calls with arguments of any size from the C client library |
| client library: server certificate | Added | SDConnect remembers a server's certificate the first time (~/.sdcore/known_servers, or SD_KNOWN_SERVERS) and refuses a different one before any login byte is sent; a store it cannot use refuses the connection |
| client library: threads | Added | each thread has its own session, transfer buffer and arguments; several threads may use the library |
| client library: tls | Changed | the network session is always encrypted (TLS), so SD meets the QMClient encryption items |
master.login |
Changed | the paragraph runs for API connections as for interactive and phantom sessions |
BASIC#
Statements, functions, $mode words and compiler directives.
| Name | Change | What |
|---|---|---|
~= |
Added | comparison that ignores case |
account.path(), vocpath() |
Added | the pathname of an account and of a file named in the VOC, told only where the account may open it |
arg.present(), reusing() |
Added | whether the caller passed an argument, and whether with reuse() |
$basic.options |
Changed | a mode line takes a list and a minus turns a mode off; an include line names records or files that every program includes; a search line names the files, in order, that an $include with no file name looks in |
bool() and friends |
Added | bool(), is.null(), numeric(): Boolean, SQL-null and numeric conversions |
@build.time, @line |
Added | the time the program was compiled and the source line it stands on |
casing on and off |
Added | case sensitivity of string comparisons for the rest of the program |
ceil() and floor() |
Added | ceil(), floor(), roundup(), rounddown(): whole numbers above and below, and rounding in steps |
child(), signal() |
Added | whether a user number is a running phantom of this process; raises a signal in another process |
class ... inherits as |
Added | the inherited class's object variable can be named; an empty () is accepted after a method name |
class initial values |
Added | a public or private variable may start with a value; inherits passes constants to the inherited class |
class lookup |
Changed | a class with 32 names or more is searched through an index, many times faster |
class: restricted |
Added | a name for the class and the classes that inherit it, and no one else |
class: run |
Added | run of a class module or its catalog name makes the object, runs its main and lets it go |
clearcommon name |
Added | sets the variables of the named common block to zero |
compare() |
Changed | an i after l or r in the justification compares ignoring case; compares() does it over two arrays |
convert() |
Changed | mcn-, mc/n-, mcs, mcp with a quoted replacement character, mt with m, md options in any order |
| default argument values | Added | subroutine name(a, b = 7): a number, a string, @true or @false for an argument the caller leaves out; the program needs var.args |
dir() |
Changed | includes the size of each file; lists a plain file as F and a directory as D only, so a socket is no longer a file and a block device no longer a directory; sets status() (0 when it works, a code when the directory cannot be opened) |
fix() |
Added | a number with a fixed number of decimals, rounded or cut off |
| exceptions | Added | try, catch, throw, caught() and @exception; many run time errors are caught under openQM's sys. names; dumping and saving.stack |
execute ... capturing and os.execute ... capturing |
Changed | output whose final newline stands alone (one empty line, or a newline just past a full 16 KB block) gives the right value; it used to end the session ("double free or corruption") or read freed memory |
execute ... silent, phantom ... silent and os.execute ... silent |
Added | the command's output is thrown away; silent used to compile as a variable and stop the program at run time |
execute ... stacklist |
Added | keeps the default select list and puts it back when the command returns |
execute.list |
Added | runs commands for each id of list 0 in turn |
fcontrol() |
Added | the openQM function: next sequential key, valid id, minimum modulus, line terminator modes, forced writes |
field() and vslice() |
Changed | take an asterisk for the number of elements and a subvalue slice |
flush.dh.cache |
Added | makes every process close the dynamic files it keeps cached |
for with a list |
Added | a loop over a list of values, and over the elements of a delimited string, with a delimiter |
get var from device |
Added | reads from a FIFO, port, character device or openseq file a character at a time, with a timeout |
getlocks(), testlock() |
Added | information about file and record locks; the owner of a task lock; getlocks(file, user) of a user number outside the user table, or one nobody holds, gives nobody's locks |
getpu() |
Added | the pu$pathname key (pu$form.queue was added and removed again, see REMOVED) |
groupstore and revremove |
Added | groupstore, revremove, setrem, rmvd(): statements and functions over delimited strings |
$ifdef, $ifndef |
Changed | accept and and or between token names |
inmat() |
Changed | after matches or matchfield() it is the number of the pattern that matched; after matbuild and matwrite it is the element count; a collection array is accepted |
input ... fill |
Added | shows a fill character in every empty cell of the field |
input ... hidden, input ... no.echo |
Changed | throws away what was typed ahead before it asks when the answer comes from the keyboard, so keys typed before a password prompt appeared are never the start of the password; answers piped in or stacked with data are read as before |
input ... no.echo |
Added | shows nothing as the user types |
input ... raw |
Added | reads exactly the number of characters given, as they arrive |
inputif |
Added | reads a line only if one is already there, else takes else |
inputnull, inputtrap |
Added | a single character typed alone makes the answer null, or sends the program to a label |
last() and more |
Added | last(), lasts(), nv(), ns(): the final element of a delimited string; value and subvalue position numbers (left() and right() were added and removed again, see REMOVED) |
locate ... by |
Added | c forces a case-sensitive search and n a case-insensitive one; fixed: by 'ar' of a number in a list of one text item gave position 2, it now gives 1 |
matchess and trimws |
Added | matchess, matchfields, trimws, trimw(): matches, matchfield and trimw over a dynamic array; trimw trims white space |
| matrix arguments | Changed | a matrix passed as an argument needs no dim in the receiving subroutine; if mat a = mat b compares two matrices; the compiler no longer reports an undimensioned argument |
matstr() |
Added | converts a two dimensional matrix to a dynamic array |
matwritecsv |
Added | one CSV line of every element of a matrix |
digest() |
Added | the md5, sha1, sha256, sha384 or sha512 digest of a string or a file (md5() was added and removed again, see REMOVED) |
mergelist() |
Added | merges two lists by a mode; a mode for lists not in order; fixed for an empty list |
$mode debug.equates |
Added | keeps equate and $define tokens in the object so the debugger can show, set and watch them |
$mode explicit |
Added | a variable must be named in a dim statement before it is used |
$mode lists |
Changed | $mode takes several names separated by commas, each with an optional minus |
$mode non.durable.txn |
Added | a committed nested transaction writes nothing until the outer one commits |
$mode partial.expressions |
Added | a and b and a or b stop evaluating as soon as the value is known |
$mode strict.equate |
Added | warns when a name given to equate or $define is also a statement or function name |
$mode trap.unused |
Changed | warns only of a variable set by a plain x = ... and never read; a variable a statement fills (readu, locate ... setting) is not reported |
$mode trap.unused.main |
Added | trap.unused for the program's own variables |
no.query on cataloging |
Added | the basic command, the $catalog directive and the catalog line of $basic.options take no.query, which stops the compiler asking before it removes an older entry |
oconv() date i |
Changed | the i code of a d conversion (the ISO week number) gives the week; without yi beside it, it gave whatever number was left in memory |
open ... non.transactional |
Added | a write through that file variable is not undone by a rollback |
open ... sync |
Added | open and openpath ... sync, and the s letter of a VOC entry: a file's data is written to disk after every write and delete; fileinfo(f, fl$sync) tells which, fcontrol() switches it |
open.socket() |
Changed | the fourth argument is the number of seconds to wait for the connection, zero for no limit of SD's own; it was the unused security context |
openseq |
Added | creating makes the file at once; shared lets several processes append; a block device can be opened |
openseq creating |
Changed | makes a name that is free exclusively: a name taken in the meantime, or a link that leads nowhere, is refused with status() 6032 and nothing is made (shared refuses a link that leads nowhere the same way, and otherwise still opens or creates); the openseq file, record form does the same, and an openseq of such a link without creating gives a file that cannot be written; the file is made only once the lock on its name is held, so a name another session holds leaves no empty file behind |
opentemp |
Added | makes a temporary dynamic file that is deleted when its variable is closed; in the temporary directory when no path is given |
| operating system files | Added | oscopy, osread, oswrite, osdelete, !oscopy, !ioscopy: copy, read, write and delete operating system files by name, held to the account's OS gate |
option() |
Added | reads and sets the state of an option |
ospath() |
Added | keys os$fullpathx, os$info, os$parent, os$uid, os$gid, os$modes, os$is.file and os$is.dir |
parse() and ttyget() |
Added | parse(), sort.compare(), ttyget(), ttyset: split by a pattern; compare by a sort rule; the terminal modes as an array |
pdump |
Added | a statement that writes a process dump file of the running process and goes on |
phantom statement |
Added | starts a phantom from a program; the log name may be a variable |
precision inherit |
Added | takes the precision of the calling program |
@pstat |
Added | text a program leaves for pstat to show |
quotes() family |
Added | quotes(), squotes(): enclose every element of a dynamic array in quotes |
read etc. as a condition |
Added | read, readnext, open and the like may be the condition of while or until |
recordlocku |
Changed | fixed: it did not always trap an illegal record id |
redim |
Added | resizes a matrix passed to a subroutine as an argument |
regex() |
Added | regular expression matching |
seek |
Changed | fixed: a negative offset from the end of a sequential file was refused |
| select list variables | Added | formlistv, getlistv, writelist, movelist, movelistv: select list variables and numbered lists |
select.socket() |
Added | waits on the sockets held in a matrix |
selectindexv family |
Added | selectindexv, selectleftv, selectrightv: index scans into a select list variable |
send |
Added | writeseq, or with a colon writeblk, to a file opened with openseq |
sendmail |
Changed | fails (er$ioe, the mail command's status in os.error) when the mail command cannot run or fails; it reported success |
set.socket.mode trace |
Added | skt$info.trace logs the data sent and received on a socket to an owner-only file |
socket.info() |
Changed | fixed: skt$info.open on a number, a string or an unassigned variable stopped with a fatal error |
sort() and sort variables |
Added | sort(), and sort variables for sortadd, sortclear, sortdata() and sortnext(): several sorts at once in sort variables, up to 32 keys each with its own srt$ flags |
!sort |
Changed | sorts a select list variable; the internal sort is open to programs |
sselectv, sselectn |
Added | sorted selects into a select list variable; right.aligned and descending |
status() after a transaction |
Added | 0 if it committed, 1021 if it rolled back |
| string arithmetic | Added | sadd, ssub, smul, sdiv, scmp: exact string arithmetic on numbers of any length and any decimals |
| substring assignment | Added | s[3] = "xy" overwrites the last three characters |
trans() family |
Changed | trans(), rtrans(): accept an l link; a file that will not open takes the error action of the call |
| variable names | Changed | a name with two or more underscores together (a__b) is valid |
watch |
Changed | the debugger's watch variable operator value stops only when the condition is met |
DATA#
Data collections, JSON, XML, CSV and the verbs that import them.
| Name | Change | What |
|---|---|---|
!ced() |
Added | full-screen editor for a collection held in a variable, with the keys every page shares (Ctrl-T, Ctrl-K, F5); the editor is also reached from ide and sed F12 and by the ced command |
| collection arrays | Added | mat(), c{list, n}, ins ... as, del, inmat() on an array |
| collection file verbs | Added | ed, copy, compare.files: work on a collection file; the post-write trigger no longer crashes the process |
| collection files | Added | create.file name collection; records are collections stored as JSON; read and write them whole; ct shows JSON |
collection() and c{name} |
Added | a collection is a set of named values read and written by name; enumerate(), element.exists() |
csv.mode |
Added | how printcsv, writecsv and matwritecsv quote, with a delimiter, quote and escape character |
csvdq(), dparse.csv |
Changed | csvdq() takes a quote and an escape character as a third and a fourth argument; fixed: a return code was corrupted when used with execute ... returning |
element keyword in queries |
Added | names an element of a collection file by its path, in a display list, with, by, sum and the like |
expand() and links |
Added | a link "file:id" is followed; trans() of an e item |
| file variable in a collection | Changed | a collection holding a file variable is written to a collection file as a null |
hu conversion |
Added | oconv and iconv escape and unescape |
indices on e items |
Added | a data collection element can be indexed; a query with with on it uses the index |
jboolean() and jtype() |
Added | jboolean(), jnull(), jtype(): true, false and null in collections, and the type of a value; a Boolean type |
jbuild() |
Changed | the pretty-print mode names an indent of up to 16 spaces or tabs; marks in a string are written as hex Unicode |
jparse(), jbuild() |
Added | JSON text into a collection and back |
mcdx conversion |
Changed | fixed: gives hexadecimal both ways, as mx does (oconv returned the number unchanged); kept as a second name of mx for programs moved from openQM |
| operators on an element | Added | +=, -=, *=, /=, := change an element in place |
| the debugger and collections | Added | /c, /c{path} and dump c{sub} pathname show and write a collection; diving in with /* no longer crashes |
xml keyword for queries |
Added | list ... xml writes the report as XML, with an optional DTD or schema |
FILES#
File handling: opening, indexes, triggers, print files, sorting, sequential files.
| Name | Change | What |
|---|---|---|
account:file file names |
Changed | always available, with no filerule setting: a name in no VOC entry with one colon opens that account's file, with exactly the checks of a Q-pointer (an account you may logto, not suspended) |
analyze.file |
Changed | statistics shows a histogram of group utilization |
analyse.index |
Added | every index with its number of values and spread |
clear.file |
Changed | fixed: a no.resize file keeps its modulus |
configure.file ... next |
Added | next n sets the record-id counter that write ... creating.seqkey gives out from, and next query shows it |
configure.file ... reporting |
Added | shows how many records have been converted |
create.file |
Added | comment, and a relative pathname kept relative in the VOC |
create.index |
Added | no.case: keys that differ only in case are one key; deleting replaces an index; a default location in $index.path |
dir_dict |
Added | three items for a directory file's dictionary: days, dtm and owner |
| directory file line ends | Added | line terminator modes (l, c, b, x) and triggers |
directory files ids |
Changed | the record ids may hold bytes 128 to 247 |
disable.index |
Added | stops an index being kept up to date for a large load; build.index switches it on |
| exclusive access | Changed | a command that needs a file to itself names the user holding it when it cannot get it |
file.stat |
Added | one line per file: type, modulus, records, bytes and flags; limited to named files; with dictionaries |
find.file, find.program |
Added | what a file is; the catalog entries of a program |
fixdir |
Added | takes the carriage returns out of directory file items that came from a Windows system |
| hashed files | Changed | a split that finds the disk nearly full stops before the file's size is changed; sdfix -z clears dead space |
hold.file.logger |
Added | a cataloged subroutine called when a hold file print unit opens and closes |
l-type dictionary links |
Added | usable in an i-type; links may follow links, up to ten, and reach e items |
list.common detail |
Added | shows where each common block was created |
list.index |
Changed | the report may go to a printer |
list.triggers |
Added | every trigger subroutine used by the files of an account, dictionaries and directory files included |
| print unit mode 3 | Changed | takes an update lock on the $hold item while it is written |
rebuild.all.indices |
Added | rebuilds the indices of every file in the account |
| record id spelling | Changed | writing R2 over a record held as r2 replaces it and always keeps the first spelling (a write of a different size took the new one) |
select of a directory file |
Changed | fixed: at the open-file limit it closes the oldest cached file and goes on |
set.file |
Changed | the target may be a q-pointer; a q-pointer with no file name points at the VOC; a new pointer's VOC id is written in lower case, the default qfile and a typed name alike |
set.mode |
Added | the permission bits of records of a directory file |
set.trigger |
Changed | fixed: refused every function name; takes all; no longer needs exclusive access |
$setptr.defaults, @seqno |
Added | an X record $setptr.defaults in the VOC gives the options every setptr of a mode takes (field mode + 1); @seqno and getpu(pu$seqno, unit) give the number of the last as next hold file |
| sort of long records | Changed | the disk sort handles records and keys over 32 KB |
| trigger on a read | Changed | fixed: a locally cataloged read trigger could end the process |
| trigger on the VOC | Changed | fixed: an account whose VOC has a trigger can be signed on to (the sign-on stopped with "Requires file variable"); a trigger not found while its file is opened is loaded at its first use, and one that cannot be found still refuses |
vocname letters |
Added | r opens a file read-only, n non-transactionally, s with forced writes, from field 6 of its VOC entry |
write ... creating.seqkey |
Added | a hashed file keeps a record-id counter: write or writeu ... creating.seqkey id.var writes under its next value and gives the id, skipping an id a record already has; configure.file file next n sets it and next query shows it; ed and the IDE take creating.seqkey for a record id |
QUERY#
The query processor and the dictionary.
| Name | Change | What |
|---|---|---|
absent.ignore |
Added | do not print the not found list for ids that are not in the file |
break.on "'n'" |
Added | starts a new page and numbers it 1 again |
by.exp |
Changed | more than one by.exp in the same association is sorted |
csv ... as file id |
Added | writes the report as a record of a directory file; a multivalued field is split over lines |
csv 3 |
Added | every item quoted, numbers too |
| dictionary expressions | Changed | divide by zero is zero (an if with a part missing, a format after a value and hyphens in names were added and removed again, see REMOVED) |
for, from none |
Added | search file for "text"; from none ignores an active list 0 |
in, not.in |
Added | test a value against a saved list or a file record |
| invalid name in a directory file | Changed | list, count and reformat report "'name' invalid name" for a record whose file is there under a name SD cannot produce (a bare % in a file put there from outside); it said "not found" |
median, mode, range |
Added | figures at the end of a report and each breakpoint |
$mode in an i-type |
Added | an i-type may begin with $mode for a few of the compiler modes |
no.page |
Changed | accepted on any query command |
| options | Added | (query.sort.no.case, clear.select, query.string.comp, query.str.comp.all and default.mv were added and removed again, see REMOVED) |
$query.defaults |
Changed | field 3 holds default words for select, sselect and search; field 4 the format of the id column |
reformat ... @record |
Added | appends the whole source record |
reporting |
Added | n record(s) examined for every thousand records |
rpt |
Added | repeats a single valued field on each line of a report on a multivalued one |
scan, search ... display |
Added | show the lines of a record that hold the strings; search all searches the id too; strings may come from a file |
select file field |
Changed | a field no clause uses is saving multivalued field |
show |
Changed | b goes to the bottom; sort.sup; a missing record is listed and the command ends |
sorted.sample n |
Added | counts the records after the sort |
vertically |
Changed | fmt for the name and data format; $vlist sets them for the file; multivalued data and a wrapped line are told apart |
when field |
Changed | with no operator keeps the values that are not null; when field between a b compares every value of a multivalued field, not only the first |
x breakpoint control |
Added | captures the previous value of a break field in @bpv |
SYSTEM#
The kernel, sd.conf, and the numbered keys.
| Name | Change | What |
|---|---|---|
cleanup=n |
Added | seconds between the checks that clear sessions that ended without logging out |
config |
Changed | lists the new settings; config() reads them; config gpl and config contrib work in every account and need no shell (the rest stays the administrator's) |
deadlock=2 |
Added | saves the lock tables when a deadlock is found |
fileinfo() |
Added | the keys 1022 to 1040 as the openQM manual numbers them; fl$seqtype, fl$locks; 1021 now answers the user numbers |
intprec |
Changed | default 11 |
| kernel faults | Changed | fixed: getlocks(file, user) with a user number out of range read outside the user table; a time conversion with negative parts or long hours overran its buffer, and a prefix strip in a conversion copied over itself |
| lock table | Changed | the time each lock was taken and each wait began is noted; a program that filled the table can be logged out |
numlocks |
Changed | range checked, 1 to 32767 |
phantoms=u,n |
Added | keeps user numbers for phantoms started with user |
| process dump | Changed | shows the length of each string, the variables of objects and the environment; made readable by its owner only, and a failure to make one names the file and the reason |
pterm keys |
Added | pterm erase, ctrl.filter, mark, query: which key erases; control characters filtered; control keys that type the marks; shows what your keys send, in hex and in terminfo form |
sd.conf parameters |
Added | dhcache, lgnwait, maxrlock, pwdelay, userpool: sd.conf parameters, each optional with the old fixed number as the default |
| sessions on a dropped connection | Changed | a session whose terminal or ssh connection goes away while it is writing the error log or the audit trail no longer waits for itself for ever, which stopped every later login |
sortmem |
Changed | default 4096 |
status |
Changed | file times are in the user's time zone; field 27 is the file pathname |
-status |
Added | sd -status shows the version, start time and process counts |
system() keys |
Added | 14, 19, 20, 21, 33, 35, 45, 1016, 1036, 1037, 1040, 1045, 1047, 1048, 1049, 1051, 1062, 1065, 1067, 1071, 1073, 1083, 1086, 1088 |
| terminfo | Changed | eblink, eprot, edim, erev, ebold capabilities |
system(1057) |
Changed | fixed: a phantom whose parent held a user number above the number of user table cells was told it had no parent; the test is now against the highest user number |
| the call name | Changed | can be as long as 128 characters (the lower of 128 and maxidlen) |
| the startup process | Changed | its @tty is startup |
time zone and epoch() |
Added | epoch(), mvdate(), mvtime(), mvdate.time(), mvepoch(); set.timezone and config timezone |
| upgrade: conversion to case-insensitive ids | Changed | a file the conversion could not handle is named in the report ("File: " and its path); a file an account's VOC points at under SDSYS or outside the account is named only when it is not already case insensitive (SDSYS's own files are), so a reinstall that keeps the accounts no longer warns about files with nothing to convert |
upgrade: retired sd.conf parameters |
Changed | an upgrade takes the parameters this release no longer has out of a kept sd.conf (SD would not start on them) |
usplit=1 |
Added | interactive users take the lowest user number, phantoms and API sessions the highest |
TCL#
Commands and VOC verbs that every account has, and the command language.
| Name | Change | What |
|---|---|---|
autologout |
Changed | works in the full-screen programs (the screen library, ide, the home screen, the tool pages): idle time is counted across their short timed waits, and only a typed key (or the break key) starts the period again; a program that polls with very short timed keyins and works between them counts as waiting |
block.print, block.term |
Added | print text, or show it on the terminal, in letters seven rows high |
catalog ... global c |
Added | administrator only: puts the prefix !, _ or $ in front of every call name that has none of its own, so a whole select list can be cataloged globally |
catalog ... local relative |
Added | stores the object file's path relative to the account |
catalog overwrite |
Changed | pointing a local catalog entry at a different object file asks first |
catalog prefix |
Added | a prefix separate from the call name; $private.catalog or $private.catalogue |
| catalog name as a command | Changed | a program run by its catalog name takes lptr, no.page and the like |
ced |
Added | edits a data collection in a full-screen editor, with the keys every page shares |
cname |
Changed | a renamed file's new name is stored in lower case; a name already in the VOC in any case, or one that differs from the old name only in case, is refused |
| command stack | Changed | .c- undoes a .0; the stack is kept in the account the user entered |
command.logging |
Added | a log of every command this session runs, in the account directory, mode 0600 |
como |
Added | append, in file; $como ids pass the same name transform |
compare.files |
Added | counts the records only in one, only in the other, in both but different |
ct |
Changed | id.sup, num.sup; lower case file names; the object code of a compiled dictionary item is not shown |
decatalog |
Added | deletes a local catalog entry and its object code |
delete |
Changed | a record another user holds locked is reported and skipped |
delete.account |
Changed | not stopped by a file it cannot open when it looks for references |
delete.account no.query |
Added | leaves out the confirmation, for a caller that has asked already (the accounts page's delete dialog) |
delete.common all except |
Added | deletes every named common block but those listed |
delete.file |
Changed | when it stops because the data or dictionary part is open, @system.return.code is -3021 (no exclusive access) |
ed |
Changed | l with no text as the first command works; marks typed in input; ev on a compound i-type; line numbers show positions in edit values mode; spool closes the printer; external commands; automatic ids |
fstat |
Changed | wider columns |
fstat.user |
Added | file activity of each session |
git option |
Added | a directory file keeps .gitignore and .gitattributes under their own names |
hot spot monitor |
Changed | counts opens, reads, writes and deletes of each program |
if in a paragraph |
Added | exists, not.exists, in and not.in, with no.case |
| inline prompts | Changed | largely case insensitive; may use quoted prompt strings |
k entry in the VOC |
Changed | fixed: a k entry over a locally cataloged program stopped with "Unable to load" |
| list merges | Changed | merge.list finds a key without scanning, so large lists merge in seconds |
list.item |
Changed | numbers lines beyond 999 with as many digits as needed |
list.readu, pstat, getlocks(), system(1083) |
Changed | another session's text (a lock's record id, file path or user name, a command, a program name, @pstat) shows a control character, del, bytes 128-159 and a mark character as ? and cannot send a code to your terminal; the locks and fileinfo(f, 1039) are unchanged |
listu, who, pstat |
Changed | !listu too: show the account and the login name; listu detail; the blocking user and when a wait began |
logto reset all |
Added | discards all programs, menus and paragraphs at every command level |
map local, map no.page |
Added | list the locally cataloged programs; heading once |
move.list |
Added | the command form of movelist |
multisort |
Added | !multisort sorts several related lists by one of them |
option words |
Added | dir.dtm, git, inherit.ownership and spool.command (twenty more were added and removed again, see REMOVED) |
oscopy |
Added | copy an operating system file; overwrite, append; !oscopy and !ioscopy (a whole tree) for programs |
pause, ctrl-r search |
Changed | a session whose input has ended no longer spins at 100% CPU at pause or at the search prompt |
phantom |
Added | no.msg, data, log, group and user options; !phlog gives a phantom's log record; a phantom started while SD is suspended gives back its place; a grouped phantom whose parent has gone ends at once |
| phantom and terminal lists | Added | list.phantoms, list.term.types: the phantoms and no one else; the terminal types |
| phantom that cannot start | Changed | the reason is written to the error log (phantom: cannot start a phantom from <path> - <reason>); nothing is printed on the terminal |
private vocabulary |
Added | $private.voc: a file of commands searched after all other command sources |
profiler |
Added | records what the programs of a session do and where |
redo |
Added | runs a command again and again, times and every |
remove.examples |
Added | takes the shipped example programs and their compiled objects out of examples.bp of the account you are in (with bp.edit), or of the accounts named (a list, the administrator only); keeps programs that were added, and deletes the file only when nothing is left in it |
.s (command stack) |
Changed | a new saved sentence's VOC name is lower case; an existing one keeps its name |
| saved list verbs | Changed | save.list, get.list, delete.list: keep, deleting, count.sup, a default name, a name left out, in file |
selectindex |
Added | the command form of the statement |
setptr |
Changed | form.feed, inform, eject, as ... in file; the digits of next |
sh with no command |
Changed | fixed: starts the interactive shell again (it said Error 2 executing operating system command); it still needs the sh switch |
show.list |
Added | a page at a time, starring and clearing items |
sort.list, select.dir |
Added | sort a saved list; select the files of a directory |
sp.view |
Changed | by field; x deletes the item shown; shows where output goes for every print unit mode |
term |
Changed | takes two numbers for the default printer; term default goes to 140 by 43 |
TOOLS#
The debugger and the editors, from the openQM list. The full-screen tools that are SD's own are under New Features Unique to SD Core for Linux.
| Name | Change | What |
|---|---|---|
debugger |
Changed | full-screen display on any terminal that can address a cell and clear itself; /* for every variable; ^; window n; set v = token; a stop before each case; a blank line repeats the last command; brk lists the breakpoints |
debugger missing source |
Changed | says when it cannot find the source of the program, then lets the program run on; a $debug.options record in the VOC holding no.source.warning leaves the message out |
debugger phantom |
Changed | an @variable is read from the process being debugged |
sed |
Changed | is the IDE's editor, started alone: no files pane, the same keys and menus; asks File name? and Record name? when not given, ? lists the records; takes creating.seqkey in place of a record id, like ed |
sed line numbers |
Changed | are on when a record is opened (they were off until lnum); View > Line numbers switches them, and no.lnum in &ide.options& (or &sed.options&) starts with them off |
sed option no.case.explore |
Added | in &sed.options&: the list of records is in order whatever the case of the ids, not capitals first |
sed syntax color |
Changed | is on when SED starts, on a terminal that can show color (it was off until asked for); View > Syntax color switches it, and no.syntax in &ide.options& (or &sed.options&) starts with it off |
REMOVED#
These were in L1.1-3 - or were added and taken out again during LC2.0-0 - and SD no longer has them. This is the one place where a removal is listed,
whatever the area it belonged to. Most were removed because they existed only to make SD behave like another MultiValue
product, or gave a second way to do something SD already does one way. A program, a login paragraph or a $basic.options record that uses one has to
be edited; the last column says what to write instead. A program that was compiled with a removed mode keeps what it was
compiled with until it is compiled again. More rows are added as the removal goes on.
| Name | Change | What |
|---|---|---|
| AccuTerm terminal types | Removed | the eleven -at terminal types and AccuTerm's escape sequences |
$mode words that imitated other products |
Removed | prclose.default.0 (write printer close on unit), unassigned.common (a common variable starts as zero), no.case.invert (give input the nocaseinvert clause) and optional.then.else (a read takes a then or an else) are refused now with Unrecognized mode name; conditional.statements, implied.stop (end a program with stop) and exception.save.stack (write saving.stack on the catch) were added and removed within 2.0-0, so they never shipped |
option words that imitated other products |
Removed | option pick and 22 words, refused now with Option name not recognized: assoc.unassoc.mv, pick.breakpoint, pick.breakpoint.u, pick.explode, pick.grand.total, pick.implied.eq, pick.null, pick.wildcard, qualified.display, with.implies.or, query.no.case, query.priority.and, ampm.upcase, crdb.upcase, no.date.wrapping, space.mct, lock.beep, ed.no.query.fd, create.file.upcase, select.keep.case, debug.rebind.keys, proc.a. SD does what it did with them off: write with city = "Reno", use like for wildcards, brackets and or for the order of tests, no.case after an operator for case; times and amounts are am, pm, cr, db; a date such as 31 February rolls into the next month; a lock wait is silent; fd in ed asks first; create.file names a file in lower case |
| screen save and restore | Removed | save.screen() and restore.screen: still exist and do nothing the terminal could see |
sed extension language |
Removed | compile and run of proc / func extensions, &sed.extensions&, and Tools, Run extension: a program in SD BASIC does the work of one |
sed key rebinding, Emacs layout and typed commands |
Removed | &sed.bindings&, load.keys, save.keys, the repeat count, the quote character and the words typed at Alt-X: use the menus and the keys of the IDE's editor; Alt-X runs nothing now, Build, Run a command does |
sed split window |
Removed | Split, Unsplit and Toggle window, and split.up / split.down: to work on two records, use two buffers of sed or two tabs of ide |
sdterm terminal type |
Removed | with SDTerm and SDConsole, and the term display line about them |
term 120,36 at login |
Removed | login no longer sends it |
| second names for statements | Removed | $insert (write $include), include without the $ (write $include), com (write common), dimension and redimension (write dim and redim), enter with $mode pick.enter (write call, or chain to hand control on for good), perform (write execute), printerr (write inputerr), remark (write rem), rqm (write sleep), sub (write subroutine, also after local, private and public) and tclread (read @sentence): the compiler refuses each |
| second forms of statement clauses | Removed | execute ... setting (write returning), execute ... passlist with no variable (it did nothing: name the variable, or leave the clause out), input ... for and input ... timeout (write waiting), opentemp ... ecs (a word that was read and ignored: it is an ordinary name now, so the compiler warns that it is never assigned a value) and the bracketed Pick form locate(expr, array, f, v; position; order) (write locate expr in array<f, v> setting position) |
| second names for functions and variables | Removed | ereplace() (write change(), which takes -1 for every occurrence), sentence() (read @sentence), swapmarks() (it returned its argument), terminfo.ex() (write terminfo()) and @system.set (write @system.return.code) |
mcd, mcx and mcxd conversions |
Removed | second spellings of mx: an invalid conversion code now, STATUS 2 (mcdx stays, as mx) |
| second spellings of query keywords | Removed | col.spcs (write col.spaces), display.name (col.hdg), evaluate (eval), calculate (calc), intersection and difference (intersect and diff, also in merge.list), margin (left.margin), stats (statistics), supp (hdr.sup) and only (id.only): a new account does not have their VOC records, and the next update.accounts removes them from existing accounts, through the deletion list (saved copy first; a record of your own with the same name is kept; restore.voc puts one back) |
only and id.only before the file name |
Removed | list only customers is refused: write list customers id.only |
=>, =< and >< |
Removed | the mirrored spellings of >=, <= and <>; as for the keyword synonyms, a new account has no record for them and an old account keeps its own |
eleven option words |
Removed | run.no.page and paginate.on.heading (a run is paginated unless run ... no.page says not), pick.ml.conv.mask (a left bracket in ml / mr is the round-bracket negative style), chained.select (a select does not run the data queue), default.mv (a blank S/M flag is single valued), query.string.comp and query.str.comp.all (= and ne compare as BASIC does), assoc.all (the dictionary's associations are used), query.footer.pause (no pause after a page footer), query.merge.print (a report closes printer 0) and keep.old.object (a failed compile leaves no object code). Each behaves as it did with the option off; their numbers stay reserved |
dquote(), dquotes(), swap(), xlate() |
Removed | second names of quote(), quotes(), change() and trans(): write those |
caption, nopage, col.hdr.space |
Removed | caption and nopage were second names of grand.total and no.page; col.hdr.space (a blank line under the column headings) was added and taken out again: end a heading with a blank line |
listdict, edit.list |
Removed | write list dict file, and ed $savedlists name |
| loose forms of a dictionary expression | Removed | an if with no then or no else is refused again (messages 2950 and 2951), a hyphenated item name such as cust-no is read as a subtraction, and a format string straight after a value needs its operator |
$mode execute.clearlist, open.fail.zero.fvar, pick.readnext |
Removed | added and taken out again in this release: the default select list is not cleared before an execute (use clearselect 0), the file variable of a failed open stays unassigned, and a readnext that takes its else sets the id variable to the null string. Their mode bits stay reserved |
three more option words |
Removed | chain.keep.common (chain always discards the unnamed common), backslash.not.quote (a backslash always opens a quoted string in a command line) and correlative.reuse (a shorter array's missing values count as zero unless an operand says reuse()) |
inputclear |
Removed | write clearinput; the file type constant FL$TYPE.SH (a static hashed file SD never had) is gone too |
@am, @svm, @user, @user.no, @filename |
Removed | second names of variables that stay: write @fm, @sm, @logname, @userno and @file.name (a dictionary item of your own that says @filename stops compiling until changed) |
go, go to, and # before a compiler directive |
Removed | write goto (also in on ... goto) and $ifdef, $define, $include |
| second spellings of query words | Removed | avg, enum, vert, percent, pct, %, header, footer, first, # and &: write average, enumerate, vertically, percentage, heading, footing, sample, ne and and; a break.on control l is no longer ignored when u is given too; and a name that is f and a number is a field only if the dictionary has an item of that name |
| terminal case inversion | Removed | pterm case invert / noinvert (and the line in pterm display), input ... nocaseinvert, the invcase setting of sd.conf (a kept sd.conf is cleaned by the installer), system(1001), pterm(PT$INVERT) and the no.invert option of sed; keyinc() is now the same as keyin(), and field 2 of ttyget() is always 0. Type in the case you want |
nano |
Removed | the second external editor, with its syntax file and the page about it (the shared parts moved to the micro page): write micro, sed or ed |
set.queue, sp.assign, getpu(pu$form.queue), system(1066) |
Removed | Pick style form queues were added and taken out again in this release: use setptr with the settings you want |
copyp, copy.listp |
Removed | the Pick-style copy and its saved-list form (copy.listp was added and removed again in this release): write copy and copy.list |
make.index |
Removed | write create.index and then build.index (the tool.dict page runs both after one box) |
list.union, list.inter, list.diff |
Removed | the saved-list twins of merge.list: get.list the two lists and merge.list 1 union 2 to 3 (or intersect, diff) |
cd |
Removed | the short name of compile.dict: write compile.dict |
md |
Removed | the Pick name for the VOC (a Q-pointer to voc): write voc |
create.file ... no.case and ... case |
Removed | every file is case insensitive, so neither word means anything; configure.file ... no.case stays for converting an old file |
catalogue, $catalogue, no.catalogue |
Removed | the British spellings: write catalog (the verb, and the $basic.options word), $catalog and no.catalog |
bscan, root, key() |
Removed | added and taken out again in this release: scan an index with selectindex, selectleft / selectright and setleft / setright |
call "file name" |
Removed | the Pick style call was added and taken out again in this release: catalog the program and call it by name |
is.alnum(), is.alpha(), is.digit(), is.graph(), is.mark(), is.space(), left(), right(), md5() |
Removed | added and taken out again in this release: use alpha(), num() and matches for the character tests, s[1, n] and s[n] for the ends of a string, and digest(s, 0, 'md5') |
adds(), subs(), muls(), divs() |
Removed | added and taken out again in this release: the operators + - * / work element by element on dynamic arrays |
four more option words |
Removed | no.sel.list.query (no.query alone skips the question Use active select list?), catalogue.local (catalog and delete.catalog with no word work on the private catalog; say local), inherit.mfile.path (a new multifile subfile goes in the directory named for the file unless pathname says otherwise) and correlative.nocase (a correlative is case blind through its own A;NOCASE; flag or an I-type's $mode nocase.strings) |
analyse.file |
Removed | the British spelling: write analyze.file (the American one stays) |
| client library: 32-bit | Removed | the 32-bit Windows client (qmclilib.dll, qmclient.dll) is not in the release: build a 32-bit application again as a 64-bit one; a program written for QM does not work with SD out of the box |
cleardata, clearinput, clearprompts, clearselect |
Removed | the run-together second names of clear.data, clear.input, clear.prompts and clear.select (the BASIC statements of the same names are not affected) |
cs |
Removed | second name of clr: write clr |
delete.catalogue |
Removed | the British spelling: write delete.catalog |
rename |
Removed | second name of cname: write cname. (cname still takes the comma form, cname old, new.) |
sp.open and sp.close |
Removed | write printer keep.open and printer close |
sd -l |
Removed | "apply new license": SD has no license, and it set a flag nothing read; sd -l is an unrecognized option now |
| terminal types of old hardware | Removed | the Data General, MDC Prism, Prime and Televideo 910 definitions: dg210 dg-ansi dg-generic dg6053-old dg100 prism2 prism4 prism5 prism7 prism8 prism9 prism12 prism14 p4 p5 p7 p8 p9 p12 p14 pt100 pt200 wren fenix pt100w pt200w wrenw fenixw pt250 pt250w tvi910 (31 of the 82 names list.term.types showed). Use ansi, vt100 or xterm |
system:account:file file names |
Removed | bit 2 of FILERULE and a Q-pointer's fourth field named a file on another system and opened nothing; the name form is gone and a Q-pointer with a fourth field is refused (3003) |
eleven sd.conf settings, sd -<n>, and the gdi and raw words of setptr |
Removed | apilogin, codepage, creatusr, exclrem, fixusers, gdi, jnldir, jnlmode, portmap, ringwait and txchar (the first two groups did nothing; fixusers and portmap gave a connection a fixed user number): a line naming one stops SD from starting, so the installer takes it out of a kept sd.conf; config('...') no longer answers them and config no longer lists them; tool.config has no inert or retired status left; sd -<n> (start with a given user number) is gone; setptr always uses its raw mode, and its gdi and raw words are no longer keywords |
six option words and keep.select |
Removed | unass.warning, div.zero.warning and non.numeric.warning (with the shortcut sdbasic.warnings): an unassigned variable, a divide by zero and a non-numeric value are always errors, so test the value first; inherit: a phantom starts with every option off; query.sort.no.case: a sort is by case (sp.view ... by field no.case still ignores it, by sorting the list itself); clear.select and the keep.select statement: a select list left active is left for the next command, and clear.select clears it |
twenty-two $mode words |
Removed | string.locate, composite.readnext, pick.read, selectv, pick.select, stdfil, stdfil.shared, write.delete.then.else, autolock, pick.substr, pick.substr.assign, compatible.append, pick.convert, count.overlap, index.overlap, change.no.overlap, case.sensitive, for.store.before.test, pick.jump.range, optional.final.end, pick.matrix and heading.no.eject: each is refused with Unrecognized mode name, and the program does what it did with the mode off (the keep.select statement went in the same way with option clear.select); write heading no.eject for the last, and name the file variable for stdfil. selectv file to var stays a statement. The programs that used $mode stdfil and $mode selectv had no replacement; an I-type may no longer say $mode count.overlap, index.overlap, change.no.overlap or compatible.append |
seven more option words |
Removed | numeric.exponent (123.45E-2 is not numeric), suppress.abort.msg (abort always says where it ran), dir.sel.omit.hidden (a select of a directory file includes dot files), no.phantom.notify (a phantom always tells its parent), force.reload, stacked.account (an execute of logto stays in the account it went to) and command.level.locks (a file variable that goes closes its file and its locks) |
$mode time.ms and $mode default.unass.args |
Removed | write system(1020) / 1000 for milliseconds; a default argument value needs var.args |
closeseq and equ |
Removed | write close and equate |
extract(), replace(), insert(), delete() and subr() |
Removed | write a<f,v>, a<f,v> = x, ins x before a<f,v>, del a<f,v> and call or deffun |
procread, procwrite, @pib, @sib, @pob, @sob |
Removed | leftovers of PROC, which went earlier |
! (the shell verb) |
Removed | write sh command |
the global catalog prefixes * and - |
Removed | ! and $ stay, and _ names a recursive pcode program |
| the word forms of query operators | Removed | equal, greater, less, before, after, matches, matching, not.matching and spoken: write eq, gt, lt, like, unlike and said (the word not stays) |
colour, without, no.grand.total |
Removed | write color, with no and grand.total "'L'" |
| fourteen dead query keywords | Removed | verify, verify.sup, exclusive, creating, inquiring, portrait, odd, even, mark, space, no.label, no.object, static and encrypt were read by nothing; group stays |
setptr print mode 5 and the version keyword |
Removed | the terminal's auxiliary printer port; a file is made in the current format |
| old terminal definitions | Removed | addsviewpoint, viewpoint, adds4000, viewpoint60, vp60, vp, vpa2, vt52, hpgeneric, hp, ibm-pc, ibm5051, 5051, glasstty and kermit: use ansi, vt100 or xterm (wyse50 and wyse60 stay) |
| VOC record type M (menu) | Removed | the home screen is the menu system |
FILERULE |
Removed | the sd.conf parameter and the path:pathname form of file name (write an F-pointer); the account:file form is always on now (see FILES) |
listf, listfl, listfr, listk, listpa, listph, listq, listr, lists, listv |
Removed | list voc with type = "F" (and and is.remote = "" / and is.remote for local / remote files), "K", "PA", "PH", "Q", "R", "S", "V" for the other types; add ftype desc data.name dict.name after voc for the file columns |
sd.voclib |
Removed | nothing: the file held only the ten sentences above, and its VOC pointer is removed from every account |
| C dictionary item type (and the compiler's C-type mode, @ANS return) | Removed | write the calculation as an I-type; it may call a cataloged subroutine with SUBR(); compile.dict says message 11993 for a C item |
A and S dictionary item types (the correlative, a;nocase;, an if in field 8) |
Removed | write the item as a d item (a field of the record) or an i item (a value worked out from the record; the correlative's calculation goes here). compile.dict says message 11938 for an A or S item and makes no object code; cd refuses it; a query that names one stops with Unexpected A type item (NAME) in query sentence. An index made from one is no longer used, so a query on its field scans: delete it with delete.index |
| create.file name,part | Removed | create each part as an ordinary file (create.file part) and share the dictionary with create.file part using dict name |
| create.file ... multifile | Removed | create an ordinary file; the word is now an unexpected token |
| delete.file name,part | Removed | delete.file part (each part is an ordinary file); the multifile cancel question (6133) is gone |
| open "name,part" (BASIC) and file,part in TCL verbs | Removed | open the part by its own VOC name; a comma is part of the name, so "a,b" is only found if a VOC record is called a,b |
| VOC field 4 (multifile component list) | Removed | none; the field is ignored and the record is read as an ordinary F-pointer |
parser$mfile (!parser key 5) |
Removed | parser$get.token |
| error 3031 (component not found) and 3032 (no component name) | Removed | none; the numbers are retired |
| the Pick style matrix in the run-time system | Removed | nothing could make one since $mode pick.matrix went; the matrix descriptor type, its opcode (reserved), its flag and their branches in the kernel, the debugger and the process dump are gone, with messages 1136 and 1139, readnext mode 0, the wait path of a remote write/delete under autolock, and the option-flags field of a phantom's start-up record and its seal. No program changes |
| dictionary field numbers 9998 and 9999 | Removed | a d, a or s item whose location was 9998 gave the item count and one whose location was 9999 the record length in bytes; they are ordinary field numbers now. Write an I-type with @ni or len(@record) |
| Fedora support | Removed | the installer now refuses Fedora, as it already refused RHEL and its clones, before it changes anything; Debian and Ubuntu are supported. An L1.1-3 Fedora system cannot be upgraded: install on Debian or Ubuntu |
check.masters, list.master.pending, sync.masters, tool.masters |
Removed | added and taken out again in this release with the master copies (voc_master, dict_master, master_state, $master.journal, which the installer removes): use tool.entries, which edits each account's own records in that account |
sd-elevate job-set ids check-masters, sync-masters |
Removed | added and taken out again with those verbs: the job ids left are backup-all and update-accounts |
pdf, set.viewer, tool.viewers |
Removed | added and taken out again in this release, with the installer's two questions about a PDF reader and the Documentation button of a help box: the documentation PDFs are still in the shared account's pdf directory, where every account can read them (copy one to your own computer), and a help box's last line names the PDF that says more; an upgrade removes the three VOC entries and the list of allowed readers |
sed option scroll1 |
Removed | added and taken out again in this release: SED is the IDE's editor, page up and page down move a whole page, and the word in &sed.options& is passed over |
New Features Unique to SD Core for Linux#
Everything in this section is SD Core's own and is not part of openQM: the administrator's pages and gates, the AI features, the master files and the shared account, SDNet, the screen library and the full-screen tools, the installer's additions, and the fixes to SD's own code. The sections above are the openQM features that SD now has, with the changes they made.
Administration#
| Name | Change | What |
|---|---|---|
bp-on and bp-off |
Added | per-account switch for saving a change to a program file (source or object code) |
create.account |
Changed | a user account's group is made with root, the user and the sdsys user (see the sdsys operating system user below) |
create.account audit line |
Changed | the audit line ends gates= with every access the command granted, or gates=none |
create.account group |
Changed | fixed: the four record files of a new group account now get the account's own group (they were left in sdusers) |
create.account recovery word |
Added | create.account user <name> recovery-on makes the account's ide keep a recovery copy of unsaved text; off as delivered, user accounts only (recovery-off is for modify.account) |
create.account return code |
Changed | @system.return.code is 0 when the account is made |
create.account start and pins words |
Changed | takes start-menu, start-terminal and pins-on on any kind of account; a refused word makes nothing; the audit line gains pins-on and a start= tail |
create.account xfer word |
Added | create.account user <name> xfer-on lets the new account's person move files with receive and send; off as delivered, user accounts only (xfer-off is for modify.account) |
dict-on and dict-off |
Added | per-account switch for saving a change to a dictionary |
docs.install |
Added | SDSYS puts a directory of PDFs into the shared account's pdf directory |
examples.bp |
Added | an account's own file of example programs, compiled: the TUI guide's five and 23 programs of a first course in programming; loaded by the account's person with load.examples or the home screen's Example programs tile (needs bp.edit), or by the administrator for accounts named; no account gets it by itself |
files-admin-on |
Added | third remote permission: the login may configure, index, create and delete files on this server (group sdfilesadmin) |
files-on and files-off |
Added | per-account switch for the files route SDNet uses (group sdfiles) |
files-write-on, -off |
Added | per-account switch for changing files over the files route (group sdfileswrite); files-off removes it first |
list.shared |
Added | administrator only: the files of the shared account that an account with shared read can open by name, and a count; with no shared account in service it says so |
list.voc.removed |
Added | administrator only: the VOC records SD no longer ships, with the release each went in and what to write instead; given an account, what the next update.accounts would do in it (changes nothing) |
load.examples |
Added | puts the shipped example programs into examples.bp of the account you are in and compiles them there, for an account with bp.edit (refused without it, before anything is written); the administrator may name accounts (a list); keeps programs that were added |
load.help |
Added | SDSYS loads the text of the [?] help buttons into the shared account; keeps records the administrator added |
local.sdsys |
Added | administrator only: two lists of Linux users who may reach sdsys from this computer, by ssh -t user@localhost sd-sdsys and over the API's Unix socket, each with the SD password of sdsys; both empty as delivered; add, remove and clear per list, and also two fields on the sdsys view of tool.remote |
modify.account |
Changed | takes more than one action in a command (modify.account fred sh-on os-on voc-on), all carried out or none |
logto and a suspended account |
Changed | refused to every session, the administrator's included; run.in still works in one, and modify.account name unsuspended lifts the suspension |
logto by the administrator |
Changed | runs no login paragraph of the account it enters and does not open the home screen: the administrator lands at the prompt (owner's ruling; an ordinary user's logto is unchanged) |
logto sdsys |
Changed | the administrator's session, having gone to another account, can come back with logto sdsys instead of signing out; every other session is still refused (10002) |
modify.account add and delete |
Changed | fixed: a program that ran the verb with execute read @system.return.code as -1 after a change that had been made; it is now 0 (done, or nothing to change) or a failure code |
modify.account files-off |
Changed | fixed: deals with a leftover sdfileswrite membership instead of making it live at the next files-on |
modify.account recovery-on and recovery-off |
Added | per-account switch for the ide's recovery copy of unsaved text; off as delivered; refused for a group or other account (message 11771) |
modify.account route warnings |
Changed | ssh and api warn, as create.account does, when the machine has no ssh server or no API listener yet |
modify.account xfer-on and xfer-off |
Added | per-account switch for file transfer over the ssh login (receive, send); off as delivered; needs XFER=1 in sd.conf as well; refused for a group or other account |
net-on and net-off |
Added | per-account switch for SDNet, off as delivered |
| new account defaults | Changed | a new account has no ssh, no API, no shell and no os.execute; SDSYS opens each, account by account |
pins-on, pins-off and my.menu |
Added | modify.account name pins-on lets an account add programs of its own to its home screen, in a group My programs; my.menu adds, changes, removes and reorders them; a program added runs exactly as typed, so it adds no access; off as delivered |
remote.sdsys |
Added | the remote sdsys logins from inside SD: on (or ssh on) opens the ssh door (sdsys then signs in with its password alone), off shuts it; api on with addresses or ranges, or api on any, opens the API door for sdsys, api off shuts it; no keyword reports both. Both shut as delivered |
restore.account |
Changed | fixed: no longer overwrites a different global program of the same name; restoring the shared account puts it back in the group sdusers (it had been given sdg_shared, which no ordinary user is in) |
restore.voc |
Added | administrator only: puts back the newest saved copy of a VOC record the update removed, or all of an account's; never overwrites a record the account holds, and audits what it puts back |
run.in |
Added | administrator only (SDSYS's VOC only): runs one command from a fixed list (basic, catalog, decatalog, delete.catalog, debug, compile.dict) inside another registered account and is always back in SDSYS afterwards, even when the command aborts; the command is rebuilt from checked words, basic is always given no.catalog, the account's LOGIN does not run, and the entry and the return are audited; the command does not run as the administrator: its words must be SD's own entries in the account's VOC, only the one edit gate it needs is on, sh and os.execute are off, and during it $execute, an include from outside the account, logto and a Q-pointer out of the account are refused; a command is refused before it runs, with the file named, when a file it writes lies outside the account or when the account's VOC, the named file, its dictionary, its .out file or the private catalog has a trigger |
sd-elevate |
Changed | new verb sdsys-leave, conf-set (see set.config) and sd-restart (see tool.config restart box); sdsys-join, sdsys-leave and group-write write a line to the system log |
sd-elevate akpath-set |
Changed | takes only a hashed file's directory (a plain %0 with no second link) and an existing directory, both in one account |
sd-elevate caller |
Changed | when sudo says the caller is sdsys, every verb refuses unless the login behind it is sdsys's own (so su sdsys and sudo -u sdsys from another user's session no longer reach the helper); root and an ordinary user's own verbs are not asked |
sd-elevate chown-account |
Changed | the sdsys shape takes only a group account's files, in that account's own group (sdg_name; sdusers for shared); the root shape takes only a directory or plain file the sdsys user owns, and a real run chowns through the open file; a user account's directory, voc and record files, /etc/shadow and the like are refused |
sd-elevate cred-own audit |
Added | a person's own SD password change writes cred-own set account=name to the audit trail, and a refusal once the person is known writes cred-own refused account=namemode= reason=; the helper writes them as root, so a session cannot forge one |
sd-elevate environment |
Changed | fixes its PATH, runs its python isolated, and reads its test settings only on --dry-run or from a process that is not root |
sd-elevate groupadd |
Changed | an sdu_user group is made only for an SD user that exists, with only root and that user in it |
sd-elevate job-set, job-delete, job-list and job-run |
Added | the administrator's scheduled jobs: a root-owned definition in /etc/sdcore/jobs.d and the systemd units sdcore-job-name.service and .timer; the command is one of the helper's own ids and the schedule one of five shapes; a definition that does not agree with the helper is listed as damaged and not started |
sd-elevate restore-place |
Changed | a group account is put back only in its own group, sdg_name |
sd-elevate sdsys-ssh |
Added | on, off and status: opens, shuts or reports the sdsys arm of sshd (shut as delivered; on lets sdsys in over ssh with its password alone) |
sd-elevate setpw, passwd and userdel |
Changed | act only on a user carrying the SD account comment, as userdel-home always did; setpw sets a first password only |
sd-on and sd-off |
Added | per-account switch: programs may reach files under the directory of any SD account the user could logto |
sdsys operating system user |
Changed | a member of every user account's group as delivered, so SDSYS has read and write access to the /home/sd tree; create.account does it for a new account and the install, once, for the accounts already there (marker /home/sd/$sdsys.access); sdsys-off takes it out of one |
sdsys-on and sdsys-off |
Added | per-account switch for the sdsys user's membership of the account's group (SDSYS writing inside the account); on as delivered, sdsys-off tightens one account, sdsys-on puts it back and repairs the modes; the install joins only the groups of registered accounts and repairs each at its registered place |
set.batch |
Added | allows or stops allowing a paragraph or sentence that an account may run from the command line (sd -a<account> <command>, as a scheduled job does), after checking it in that account's VOC; none is allowed as delivered; until now batch.jobs was edited by hand |
set.config |
Added | changes one of 14 tuning parameters of sd.conf (administrator, through the root helper): a name on the helper's list and a whole number inside the range SD enforces; the old file is kept as sd.conf.bak |
set.job |
Added | the administrator's scheduled jobs: makes, changes, deletes or starts now one of two fixed jobs (backup-all, update-accounts) on one of five schedules, through the root helper (sd-elevate job-set, job-delete, the new job-run, job-list); alone, lists them with their next and last runs; each change audited; nothing is scheduled as delivered |
set.start.default |
Added | chooses where accounts start: the home screen or the command prompt |
set.tile |
Added | switches a home screen tile on or off for an account; set.tile alone lists what is off |
set.tile standard ids |
Changed | the seven development tiles and recent are standard ids (15 in all); the Back tile of a sub-menu cannot be turned off |
sh and os switches |
Added | sh-on, sh-off, os-on, os-off: per-account switches for the shell and for os.execute, off for a new account |
shared account |
Added | a group account whose files every account opens by name, with no logto or pointer; made by the installer |
shared-read-off |
Added | withdraws the shared account's files from one account (on for every account as delivered) |
shared-write-on |
Added | lets one account change the shared account's files (off as delivered) |
ssh and api |
Changed | a new account gets neither; create.account user name ssh, api or both and modify.account change it |
ssh-key-on and ssh-key-off |
Added | modify.account and create.account: ssh key sign-in for an account whose Linux user SD made; off as delivered (the user is in the group sdsshnokey); refused for a Linux user SD did not make; a column on the gate pages |
| tool pages' status line | Changed | a message that a command writes on several lines is shown whole, its lines joined by a space (tool.accounts, tool.backups, tool.catalog, tool.config, tool.files, tool.gates, tool.jobs, tool.remote, tool.sessions, tool.voc; and tool.bulk and tool.entries for what their own select and their undo file's creation say) |
tool.accounts |
Added | full-screen page of every account: its kind, suspension, the gates that are on and who is signed on; suspends or lifts, adds or takes away a person of a group account, creates (the kind and the doors chosen, not typed; the verb asks for a password on the terminal) and deletes (one dialog: the name typed, the home directory kept or removed, Run; no terminal) |
tool.audit |
Added | full-screen page that reads the audit trail from its end, a screen at a time: filters by time, event, account, user and text, go to a time, follow, the rotated files, and the lines shown saved to a record; it changes nothing else |
tool.backups |
Added | full-screen page for backups and restores: the saved directory, the archives in it with each manifest, who else is signed on (a backup and a restore need everyone else out), and backup.account, restore.account and set.backup.directory behind a box |
tool.config |
Added | full-screen page that shows every sd.conf parameter with what SD is running with, what the file says, the default and when a change takes effect, and names a line SD does not know; 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 the rest |
tool.config and tool.remote status line |
Changed | the status line says "Reading the settings (a few seconds)..." while the settings are read, and "Making the change (a few seconds)..." after Run is chosen until the command has run |
tool.config restart box |
Added | after a change to a parameter SD reads only when it starts (CLEANUP, LGNWAIT, NUMLOCKS, USPLIT), a box says why, that a restart signs out everyone, and offers Restart or Not now (the default); Restart asks the root helper (sd-elevate sd-restart) to have systemd restart sd.service; a session that is ended no longer has "Received termination signal" written over its screen (the error log keeps the line) |
tool.gates |
Added | full-screen matrix of every account against every gate; changes go through modify.account, never by themselves; A (all gates on) and N (all gates off) queue every gate of the cursor's account at once, to be trimmed before R runs them; in any other account the same verb is a read-only page of what that session may do |
tool.gates home gate |
Added | a home column: ON starts the account's sessions at the home screen, off at the command prompt (start-menu, start-terminal); an account given neither follows the installer's answer |
tool.gates xfer gate |
Added | an xfer column for file transfer (xfer-on, xfer-off), read from the register as the transfer server reads it; user accounts only; turning it ON asks for the account's name; the matrix now shows 15 letters of a name, the box below the whole name; the holder's page has the row too |
tool.gates |
Changed | Ctrl-Q and File > Quit ask before dropping changes that were queued and not run: Run the changes, Leave without them or Cancel (the default); the page stays open, with the refusal shown, when any command did not succeed |
tool.jobs |
Added | full-screen Scheduled jobs page: every account with the paragraphs and sentences it may run from the command line, changed through set.batch behind a box answered Run (an account's schedule is still written in its user's crontab or timer); its Jobs view (J) lists the administrator's scheduled jobs and makes, changes, deletes (the name typed) and starts them through set.job |
tool.menus |
Added | full-screen page for the home screen: where each account starts, which tiles are on, who may add programs |
tool.menus |
Changed | a row for each development tile and the Recent group (17 rows in the Menu box) |
tool.remote |
Added | full-screen page for everything that reaches SD from outside: the API and ssh doors as the machine reports them (chosen from a list, changed after a box, and the word open to turn one on), the routes of each user account, the SDNet servers (delete, define with the terminal given to set.server), who is connected, this machine's TLS identity, and the sdsys ssh login (remote.sdsys: open it after a box and the word open, or shut it) |
tool.sessions |
Added | full-screen page (SDSYS) of every session and every lock, read again every three seconds; logs a session out, releases a lock or stops new logins through logout, unlock and inhibit.login, after a box answered Run, and audits each command it runs |
update.accounts deletion list |
Changed | after the copy from newvoc it removes from the account's VOC the records on SD's deletion list (sdsys/voc_removed), but only the record SD shipped (not one of your own, not a [locked] one unless it is a verb), after saving a copy, and audits it; before newvoc.mods |
update.accounts all by SDSYS |
Changed | an account whose VOC SDSYS cannot write (the sdsys user is not in its group) is skipped with a line that says so, and the command goes on and ends with the counts, where it stopped with error 3018 at the first one |
update.accounts in the SDSYS account |
Changed | the administrator's own VOC is updated from voc_template, not newvoc, so a page that is the administrator's own (tool.gates) is not written over by the holder's version |
| VOC descriptions | Changed | backup.account, restore.account, settings.report and tool.jobs carry a one-line description in the VOC |
voc-on and voc-off |
Added | per-account switch for saving a change to a VOC |
XFER and the transfer limits |
Added | sd.conf: XFER (0 as delivered; 1 lets accounts with xfer-on transfer files), XFERFILE (10 MB a file), XFERSLOT (100 MB a transfer), XFERWAIT, XFERIDLE, XFERMAX (60 minutes) and XFERKIND (the extensions taken; blank is any plain text); edited by hand |
AI#
| Name | Change | What |
|---|---|---|
agent-pack |
Added | a guide (examples compiled and run) and a generated reference, installed under /usr/local/sdsys/agent-pack; a Claude Code skill built from them is in the source and is not installed |
ai answers on a page |
Changed | the AI line of every page shows the whole answer, in paragraphs, in a box that scrolls (it was cut to one short sentence); the cursor stands after what is typed and stays in the line after Follow up and F6 |
ai boundary |
Added | the AI is never given SD's own files (decided by where a file is: the system directory, the helper's, /etc/sd.conf, a gplsrc directory) and a question that names SD's own code or build (gpl.bp, gplsrc, $internal, kernel files) is refused before anything is sent, for every provider and for the administrator too; the second is a screen, said to be one |
ai documentation passages |
Added | the AI line adds up to four matching sections of the installed User documentation (the Administrator pages only for the administrator: docs/admin is mode 700, owner sdsys) to the request; they are sent and counted in the size the preview shows, but not shown, and Cancel is still the default; the ai verb adds none |
ai follow-up |
Added | every AI answer has a Follow up button (never the default; it applies nothing): the next request from the same place carries that question and answer, shown in full in its preview and sent as earlier turns; used once, the last three at most, dropped after ten minutes |
ai gate |
Added | per-account switch, ai-on and ai-off (also on create.account); off as delivered; SDSYS needs none and may always use the AI once a provider and key are set |
ai in the editors |
Added | the debugger, sed and the collection editor: ask about what you are looking at; a preview of what you send; proposed changes shown as diffs and never saved by the AI |
ai preview |
Changed | shows the provider, the size of all that is sent and what is yours (the request, a record's lines, a selection, earlier questions); SD's own text (its instruction, the page's actions and description, documentation passages, the standing text) is sent and counted but not shown; a preview taller than the screen scrolls with PgUp and PgDn (the bottom border says which lines are shown), and Send and Cancel stay on the screen |
ai proposal box |
Changed | shows every line of a proposed change, command or request in full, not cut at the box edge; a proposed change that would take more than 30 rows to show is not offered |
ai row in the dictionary form |
Added | the IDE's dictionary item form has an AI line: say what the item should be; the values the AI proposes are shown in full (Reject the default) and only those that pass the form's own checks go into the rows; nothing is written until the form is accepted and the IDE saves; an item of SD's own files is never sent |
ai row in the home screen |
Added | type what you want, see what will be sent, accept one proposed tile or command; a horizontal rule separates the row from the status line |
ai row in the ide |
Added | explain an error or a selection, ask about the record, accept or reject proposed edits as a diff |
ai row on a toolkit page |
Added | every page of the toolkit but tool.keys (the development pages, my.menu and the administrator's pages): F6 (the line is the stop after the page's last box), AI > Ask the AI or a click puts the cursor in a line above the status line, a horizontal rule between them, which take two rows from the list; the model is offered the page's keys that change what is shown and, on tool.dict, tool.files and tool.catalog, new and compile (Reject is their default; a name the AI gives is only the page's own question's starting answer), and a proposal is carried out by the page's own key; with the AI off the page is as before |
ai standing text |
Added | a few lines of the administrator's sent first with every AI request (what SD is, its conventions and gates, where its help is, the site's own facts); SD ships a default; tool.ai T edits it (Save, Shipped default), set.ai context at the prompt; invisible to the person asking and their question is unchanged; plain ASCII, 4,000 characters, and a text naming SD's own code is refused |
ai verb |
Added | asks an AI one question; shows the question and the size of all that will be sent, and sends only on y or yes |
sd-ai helper |
Added | the one program that talks to the provider, started by the systemd socket sd-ai.socket as the operating system user sdai; it holds the provider's key, which SD never sees, and checks the account's ai gate on every request; its settings and keys are in /var/lib/sd-ai and kept by an upgrade |
sdai operating system user |
Added | system user made by the installer for the AI feature: own group, no shell, no home, no SD group |
set.ai |
Added | SDSYS chooses the provider, model and key from the prompt; set.ai models lists the provider's own model names, and a model it does not list is warned about |
set.ai key |
Added | the key typed at the prompt shows one * for each character and is never shown itself; if the helper's client fails, set.ai says the key was not set and writes no audit line, even when an earlier key is stored |
set.ai limit |
Added | SDSYS sets the limits of AI use: requests an hour (20) and tokens a day (100000) for each Linux user, seconds (30) and bytes each way (65536) for a request, and max-tokens, the length of an answer at the prompt and on every page (1024) |
tool.ai |
Added | SDSYS page: Anthropic, OpenAI, Google, DeepSeek or custom, one provider for every account, each named provider with its address and a default model (a key is all it needs), each account's gate; S, one setup dialog that looks the same every time: the key in a password field (handed to the helper through a file, so it passes through SD) and the model chosen from the provider's own list |
API and client library#
| Name | Change | What |
|---|---|---|
| api dict file names | Changed | fixed: a dictionary named in lower case (dict customers) was not opened as a dictionary by the API server; the name is now taken in any case |
| api refusal text | Changed | fixed: a reply with nothing of its own to say carried the text of the last refusal in the session; each reply now carries only its own text |
| api request 29 | Changed | fixed: opened any account's file for any login; now asks the logto rules, the net gate and sdclient, and the OS question for a pointer out of the account |
api request 70, delete.file |
Changed | fixed: a delete the verb refused (the file open in another session, say) left the file on the disk but the client's file number dead; the number now stays good and the status is the verb's |
| api requests 32 and 33 | Changed | fixed: file lock and unlock acted on the last file opened, not the file named |
| api server loop | Changed | fixed: a client that hung up before its first request left a server process using 100% of a processor |
| api server, last reply | Changed | fixed: a refused login (any reply sd sends as it ends) could be lost when systemd killed the TLS relay as sd exited; sd now waits up to two seconds for the relay to deliver it |
api server, refused sdlogto |
Changed | fixed: the session went on naming the refused account, so every later open by VOC name failed; it now stays in the account it was in |
| api tls relay | Changed | fixed: on Ubuntu 24.04 every API connection was refused ("TLS relay ended before the session started"): its OpenSSL asks the kernel to take over the encryption during the handshake, which the relay's filter stopped; the call is now refused and OpenSSL encrypts itself |
client class sdclient |
Added | the BASIC class gains getvar, revision, system, trans, rtrans, txn, evaluate, evalconv, iconv, oconv, iconvs, oconvs, openseq, readseq, readblk, writeseq, writeblk, seek and weofseq |
| client library: restricted | Changed | fixed two faults under sdclient 1 and 2: a heap overrun on a refusal, and a refused call that still ran |
client library: sdchecksum |
Added | a checksum computed on the client |
creating.seqkey over the API |
Added | the server's record-id counter gives the id, over the API |
sdfiles route |
Added | a second, narrower API login that reaches files and nothing else (Linux group sdfiles); sdapi still wins |
sdfilesadmin group |
Added | the files route may also configure, index, create and delete files |
sdfileswrite group |
Added | a files-only login is read-only on that server unless it is also in this group |
Commands#
| Name | Change | What |
|---|---|---|
basic ... no.catalog |
Added | compiles and runs no catalog directive: a $catalog line in the source or in a file it includes, or a CATALOG line in $BASIC.OPTIONS, is not acted on and the compile says so; run.in gives it to every basic it runs |
menu |
Added | opens the full-screen menu (the home screen) from any account; home and exit stay |
receive |
Added | opens a transfer for plain-text files coming in to the account's file xfer.in from an sftp client (OpenSSH sftp, WinSCP, FileZilla) signed in with the person's ssh login, waits, and says what came with each file's SHA-256; receive overwrite lets a file replace one of the same name; SD itself is the sftp server, confined to that one directory; off until the administrator sets XFER=1 and gives the account xfer-on |
send |
Added | send <file> <id> ... copies records that are plain text to the account's file xfer.out and opens a transfer for an sftp client to fetch them; the same switches and the same confinement as receive |
tool.* pages with several boxes |
Changed | the box the keyboard is in is marked [*] in its top right corner and the others [-], as in the IDE (tool.bulk, tool.query, tool.test, tool.sessions, tool.menus, tool.ai) |
tool.bulk |
Added | full-screen bulk update of one data file: records chosen by conditions, a saved list or all, up to ten operations, a dry run first, apply under record locks after a box that asks the file's name typed, and undo of the last run; for every account |
tool.catalog |
Added | full-screen list of the account's program records (kind, compile time, size, current or stale, private / local / global catalog) with compile (basic), catalog privately or locally (catalog) and take an entry out (delete.catalog, decatalog), each the ordinary verb after a box; for every account, behind the bp-edit gate |
tool.dict |
Added | full-screen dictionary of a file (items by type and what they show; make, edit, delete, compile and try an item; the file's indices: make, build, delete, list); for every account |
tool.entries |
Added | full-screen master files page (administrator only): the VOC entries and, with K, the dictionary items and the programs 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 (relog when this SDSYS session began before the join: its edits are refused until you sign on again), a filter on the id (or the heading) and a find in every account; a pointer whose target lies outside the account is marked > and is never followed to change its target; E edits the VOC entry or dictionary item under the cursor and N makes one, in the editor, and D deletes it after its id is typed, in the account it belongs to (a dictionary outside the account is refused); in the programs view E and N edit a program, C compiles it and B debugs it in its own account through run.in, as do the editor's Compile, Catalog and Debug (its breakpoints handed to that debugger), and D deletes it with its compiled program (a .out file outside the account refuses the delete; a catalog entry is left); G makes one change to every row a filter or find shows, in every account in one run (a field set or a text replaced; for programs a text replaced in the source, then compiled again in each account), after one Run / Cancel box with the count per account (no name typed: the owner's choice), refusing a row whose file lies outside its account, one held by another session or changed since the box, and going on with the rest; U puts the last change back from &entries.undo&, a record only if it is still what the change wrote |
tool.files |
Added | full-screen list of the account's files (kind, records, modulus, size, indices, trigger, case, dictionary) with make, clear and delete (each the ordinary verb, after a box) and analyze and the index and trigger lists (the terminal is handed to the verb); for every account |
tool.files |
Changed | refuses a VOC keyword (such as all) as the name of a file to make, clear, delete or report on |
tool.keys |
Added | full-screen diagnostic for the terminal and the keyboard, for everyone: the terminal type, window, color and theme, and the name the screen library gives each key pressed, ticked in a grid of the keys seen; Ctrl-R shows the raw bytes; it changes nothing |
tool.query |
Added | full-screen query and report builder: file, columns (break and total), up to six conditions, four sort levels and options make a list / sort / count / sum sentence that is shown, checked, run into a results box (2000 lines), and can be saved to and loaded from the file &queries&; every sentence is checked again before it runs; for every account |
tool.query |
Changed | before every save and delete it checks that &queries& is an ordinary data file in your own account that your gates let you change, and deletes only saved queries (tool.bulk's undo file has the same check) |
tool.query questions |
Changed | its seven questions are asked on a form; a refused answer is explained in the form, with the form's explanation, and the form stays open with the text typed |
tool.query saved queries |
Changed | L shows them in the toolkit's pick window with columns (name, file, kind, sentence); typing narrows it, Enter loads, Del deletes after the name is typed (X no longer does) |
tool.test boxes |
Changed | F6 and Shift-F6 move between the list and what the test under the cursor printed, as on every page |
tool.test |
Added | full-screen test runner: lists the test.* programs of the account's program files, runs one, all of those shown or the failed ones (after a box) with run, and judges each by its last line N passed, M failed (pass, fail, no verdict; an abort is a fail); shows what a test printed; compiles a test that has no object code through basic after a box; for every account |
tool.voc |
Added | full-screen list of the account's VOC (type, what each entry points at, whether a pointer works, how it differs from the shipped VOC) with edit in SED and delete after a box; for every account |
tool.voc |
Changed | Delete no longer offers delete voc all or any other VOC keyword as an entry name |
Data formats#
| Name | Change | What |
|---|---|---|
convert.data |
Added | converts a file between formats |
| CSV functions | Added | csvparse(), csvbuild(), csvopen(), readcsv, matreadcsv: read and write whole CSV texts and rows with another delimiter, quote and escape, including a field with a line break (csvopen() says whether a quoted field is still open at the end of a line) |
import.* verbs |
Added | import.csv, import.json, import.xml: read a CSV, JSON or XML file into the records of an SD file |
json keyword |
Added | queries can write JSON (json, an array of objects) and JSON Lines (json.lines, one object to a line) |
| JSON merge, patch, path | Added | jmerge(), jpatch(), jpath(): RFC 7396 merge, RFC 6902 patch and JSONPath (RFC 9535) |
jvalidate() |
Added | checks a document against a JSON Schema (draft 2020-12) and gives an array of the faults, each with its path, the keyword and a message; empty means valid |
readjson, writejson |
Added | read and write JSON Lines through openseq |
| XML functions | Added | xparse(), xbuild(), xpath(): XML into a collection and back, and a path query (XPath 1.0); no DTD is read |
Encryption#
Three simple layers, with no vault and nothing on by default.
| Name | Change | What |
|---|---|---|
encrypt.key |
Added | asks for a key on a hidden prompt and puts it in the key ring; set refuses a passphrase of fewer than 12 characters (sdkey() takes any that is not empty) |
| key ring subroutines | Added | !keyset, !keyclear, !keylist: fill, empty and list the session's key ring, kept in the memory of its own process |
sdkey() and friends |
Added | sdsalt(), sdkey(), sdrandkey(): a salt, a key from a passphrase, and a random key for sdencrypt() and sddecrypt(), open to every program; every sdencrypt() uses a fresh random nonce |
xe conversion |
Added | a dictionary item with xe (or xe;name) shows a field decrypted for a session that holds the key and the cipher text for one that does not; iconv encrypts |
Files#
| Name | Change | What |
|---|---|---|
| group size of a new file | Changed | grpsize is 4 (kb) in the shipped sd.conf, and the built-in value when it is absent; it was 2 and 1. 200,000 records had 5 to 11 percent of their groups overflowed at 2 kb and under 2 percent at 4 kb; writes 5 percent faster, reads 5 percent slower |
index and the record id |
Changed | fixed: an index followed an upper-case copy of the id; it now follows the id as the file stores it |
| index, deleting many records | Changed | fixed: in an index of three levels, removing the last value of a block took its whole branch out of the index (lookups missed records that were there, deleted values stayed listed), and a branch left with one block left its neighbors pointing at a freed block |
| index on a right justified item | Changed | a new one keeps its keys in one order, the empty key, then numbers by value, then text, so a scan and a lookup agree when the item holds both numbers and text; building it no longer loses ids under keys equal as numbers (1, 01, 001); an existing index keeps its old order until it is made again, and an older SD cannot open a file holding the new kind |
| record id counter | Changed | fixed: write ... creating.seqkey could give an id out twice after another write of the file header |
sdfix, sdidx, sdconv |
Changed | fixed several faults (see the changelog); sdidx -m says why it cannot make the directory; sdidx refuses a link put in place of a file's primary subfile instead of following it |
| sort of equal or ordered keys | Changed | fixed: a long run took minutes; 100,000 equal keys took 168 seconds, now a fraction of one |
| sort that uses work files | Changed | fixed: equal keys came out in an order that depended on sortmem and sortmrg, and a srt$unique sort could keep a duplicate that was not the first to arrive; it now gives what the same sort gives in memory |
Installer#
| Name | Change | What |
|---|---|---|
| account groups on uninstall | Changed | deletesdcore.sh, when it deletes the accounts, removes the Linux group of every account the register names (sdu_*, sdg_*); it used to remove sdg_shared alone and say the rest might need removing by hand |
| access questions on an upgrade | Changed | an upgrade that kept the configuration no longer asks Allow ssh access from other computers? and Allow API access from other computers?: ssh is left as it was, and the API stays open to other computers if it was open (it used to go back to local unless you answered yes again) and local if it was local. The API counts as open only when its socket is running and listening for other computers, so an API turned off with remote.api off is not opened again; every uninstall removes the listener setting remote.api wrote, which used to outlive it and override the new install's own |
| agent pack | Added | the guide and the knowledge pack are copied to /usr/local/sdsys/agent-pack, only when they match the installed version |
| changes document | Added | a release package carries it beside the installer as sd-core-for-linux-<version>-changes.pdf, .html and .md, and the installer copies the three into the shared account's pdf directory, where every account can read it |
| distributions | Changed | Debian and Ubuntu (and their derivatives) only: Fedora is refused, as RHEL, its clones, Arch and openSUSE were, and every refusal comes before the network check, the questions and the first sudo |
| documentation for the AI | Added | the installer fetches the User and Administrator documentation pages from SDCore4LinuxDocs into docs/user and docs/admin of the system directory, where ai looks for the passages it sends with your question; a fetch that fails is a note, never a stop |
| documentation PDFs | Added | a release package carries one PDF for each chapter of the User, Administrator and Getting Started documents in a folder pdf beside the installer, and the installer puts them in the shared account with docs.install, where every account can read them; a help box names the PDF that says more |
empty /home/sd on uninstall |
Changed | deletesdcore.sh, told to delete both the accounts and the configuration, removes /home/sd at the end if it is empty, and says so (it left an empty folder owned by root) |
| group account files | Changed | an upgrade puts the four record files of every kept group account back in the account's group |
| gates of the installing user's account | Added | when it makes your own account the installer asks once whether to open every access gate on it (no unless y); a y opens all of them, the AI and the sdsys user in its group included, and the install says which really opened |
| install in a container over ssh | Changed | on a VPS that is an unprivileged container the installing user's and sdsys's SD passwords are now set (every attempt was refused and the install still reported success), and letting sdsys sign in over ssh works there |
| install over an installed SD | Changed | installsdcore.sh upgrades it in place, keeping the accounts and the configuration, instead of stopping with "Uninstall it before running this script" |
immutable bin |
Changed | deletesdcore.sh lifts the attribute before it removes the system directory |
| installer packages | Changed | also installs gpm, the console mouse daemon, so the full-screen tools have a mouse on a bare Linux console; the package starts it, the installer does not, and removing SD leaves it; on a machine with no console mouse device (a container, say) it is not installed at all, and if it cannot be installed the installer removes it again, warns and goes on |
| installer: ufw on Debian | Changed | the installer and the uninstaller find ufw as the file /usr/sbin/ufw too, so with ufw active an install that opens the API adds its rule and an uninstall removes it; before, an ordinary user's command path had no /usr/sbin, ufw was not found and no rule was added or removed |
| installer: the route groups on a fresh install | Changed | an install that finds no SD data kept from an earlier one empties the route groups it finds (sdssh, sdapi, sdfiles, sdfileswrite, sdfilesadmin, sdaiusers), so a new install no longer inherits ssh or API access a kept-accounts uninstall left behind; sdsshnokey, which only refuses, is left as it is; an upgrade, or an install that finds the kept accounts, changes no membership |
installer: the sdsys user's groups |
Changed | an install that keeps the accounts leaves the sdsys user in the group of each group account (sdg_shared among them); it used to take it out of all of them |
| installer: what could not be put back | Added | when an install over an installed SD, or a reinstall that keeps the accounts and the configuration, cannot put something back (a scheduled job the helper refuses, the API door or the sdsys ssh door that was open, the API's firewall rule), the closing summary starts under "The SD server is installed." in bold red with "WARNING: SOME SETTINGS NEED TO BE FIXED.", each item with the lines to type at the colon prompt as sdsys, in SD Core for Windows' words, and a warning of its own for the firewall rule; the uninstaller shows one at its end for what it could not save for the next install; nothing is printed when everything was put back, and the summary no longer says the API's firewall rule was added when adding it failed |
| installer source message | Changed | says which source it is downloading, the release tag or main |
| release package check | Added | a release zip carries the complete source in a source folder with its SHA256SUMS; the installer checks every file against the list before it asks anything, builds from that folder instead of downloading it, and stops on a changed, missing or unlisted file |
| scheduled jobs on uninstall | Added | deletesdcore.sh switches every sdcore-job-* timer off and removes the timers and services; with the configuration kept the definitions are saved and the next install schedules each one again, otherwise they go |
root and sdusers |
Changed | the installer adds root to sdusers for its own steps and takes it out again when they are done; if it cannot, it warns and goes on |
sdsys user in kept groups |
Changed | an install that keeps accounts puts the sdsys user in the group of every user account already there, once, with no question, and records it in /home/sd/$sdsys.access so that a later sdsys-off is not undone by the next install |
sdai user |
Added | made by the installer; removed with the accounts |
| shared account | Added | made by the installer; its help text and pdf directory are loaded |
| source not installed | Changed | the install compiles SD and removes gpl.bp, the C source and objects and the build files; an upgrade removes what an earlier install left; the complete source is in the release zip's source folder |
| start question | Added | a new installation asks whether new sessions start at the home screen or at the command prompt; an upgrade that keeps the accounts does not ask and keeps what the site had - the prompt for an install from before the home screen (the uninstaller saves the setting) |
| stored SDNet logins | Changed | the uninstaller removes /var/lib/sd-net when the accounts or the configuration are deleted |
| systemd units on an upgrade | Changed | sd.service, sd-lnxd.service and sdclient@.service are replaced by this release's when they differ (they were copied only on a first install); sdclient.socket and drop-ins under /etc/systemd/system are kept |
upgrade_editgates |
Added | switches the three edit gates (voc-on, bp-on, dict-on) on once for every existing user account whose setting is blank, so no account loses what it had; a group account is left off; it does not run a second time |
upgrade_gates |
Changed | fills only a blank setting, so a kept no stays |
Screen library#
| Name | Change | What |
|---|---|---|
| accelerator keys | Added | accel 'alt-s' on a control; & marks the Alt-letter and the letter is drawn underlined |
| bracketed paste | Added | the library asks the terminal for it: pasted text arrives as one paste event and runs nothing; a text area takes it as one undo step, an entry its first line |
| break key | Changed | Ctrl-C comes back after an abort inside a full-screen page (the setting a page took is kept and given back at the next prompt) |
| characters of several bytes | Changed | on a UTF-8 terminal a character of two to four bytes is followed by blanks so that it takes as many cells as it has bytes: the columns after it stay in line and a redraw leaves nothing behind |
| check and slider labels | Changed | the label goes where place says, on the left by default |
focus in mono |
Changed | the role focus is reverse, bold and underline (it was plain reverse, the look of the selected row), and in paper it is underlined too |
color fg,bg |
Added | on the controls of a screen: label, entry, combo, check, slider, radio, list, button, progress |
| key decoding | Changed | a graphical terminal's F1 to F12, arrows, Home, End and the modified keys (ctrl-left, shift-up, ctrl-pgup ...) are read in both cursor-key modes; an unknown control sequence is ignored, not typed; a byte of 128 or more is never a command; a cut-short mouse report is ignored, not taken as the end of the input |
keycode() Alt-letter |
Added | keycode() can return an Alt-letter (bindkey(, -7), off by default) |
| Linux console keys | Changed | on the Linux text console Shift-F1 to Shift-F8 (which the kernel sends as F13 to F20) and Shift-Tab (which it sends as Esc Tab) are read as those keys, for the terminal type linux only; the IDE's previous pane and the editor's find previous work there |
| Linux console mouse | Added | on a text console SD takes the mouse from the gpm daemon (terminal type linux, input a text console, not with nomouse) and gives programs the same reports an emulator gives; the installer installs gpm; no mouse while the daemon is stopped, and not in SED |
| menu shortcuts | Changed | with a drop-down menu open, a key an entry shows (Ctrl-K, Ctrl-T, F5, Alt-T ...) does what that entry does, whichever entry the cursor is on and in whichever menu; it was thrown away unless the cursor was on that entry; a dimmed entry's key still does nothing |
| containers and viewports | Added | screen container, screen viewport: a form bigger than its window: nesting, clipping, scrolling by keys, wheel and bars |
| redraw | Changed | the library writes only the text that changed, so a screen no longer flashes |
| resize inside a dialog | Changed | a resize that arrives while a question, a menu or the AI box is open is kept and given to the page afterwards; it used to be lost |
screen ask history |
Added | history list gives earlier answers: Up and Down step through them and Ctrl-R brings back the newest; the SD pages open a question empty and pass the value in force this way |
screen form fill, stretch |
Added | a form that takes the whole window and follows it: a text area or table with stretch gets the spare room and what lies beyond it moves, with no code in the program; below the form's own size one warning holds the keyboard |
screen memo SED's editing keys |
Added | Alt-Backspace and Alt-D delete a word, Alt-E cuts to the end of the line, Alt-T swaps two characters, Alt-U / Alt-L / Alt-C the word's case, Alt-Space closes blanks, Alt-A aligns with the line above, Alt-M swaps the cursor and the mark, Ctrl-Up / Ctrl-Down move the view |
screen msgbox |
Changed | a text taller than the screen scrolls with PgUp, PgDn, Home and End, the bottom border says lines a-b of n, PgUp PgDn, and the buttons are always on the screen; the confirm boxes of the toolkit pages are such boxes |
screen selector |
Added | a choice of one word among several |
screen set |
Changed | a value, text or items clause written as '' empties the control, a clause left out changes nothing, and a written '' on enabled, wrap, readonly or visible changes nothing; programs compiled before need compiling again |
screen slider |
Added | an on and off switch with words of your choice |
screen statement |
Added | menus, dialogs and forms from BASIC; color; tabs, text areas, tables; the mouse |
| terminal type at sign-on | Changed | taken from the terminal's TERM: xterm, xterm-256color, VTE, Konsole, tmux, screen, alacritty, kitty, foot, rxvt and st are xterm, the console is linux; the account's login paragraph no longer forces TERM LINUX |
| text area keys | Changed | screen memo and the IDE's editor: Ctrl-A selects all (Home is the start of the row), Ctrl-O no longer copies (Ctrl-C does), F3 finds the next and Shift-F3 the one before (Ctrl-N found the next), Ctrl-D duplicates the line (Delete joins lines) and Ctrl-K cuts the whole line into the clipboard, where it cut to the end of the row |
| text area undo | Changed | screen memo: Ctrl-Z gives back exactly what was there; a record holding value, subvalue or text marks came back changed |
| text from data | Changed | the library never sends a control character to the terminal: one in a record, a record id, a file name or an AI answer is drawn as a reverse letter (ESC as [), one cell each; UTF-8 text and line drawing are unchanged |
| theme roles | Added | six new styles, warning, success, readonly, busy, focus and hotkey.sel (the key letter on the selected entry of a menu), with a look in every theme (bold, underline and reverse only in mono), and error gets a mono look; programs that include sl.h need compiling again |
| themes | Added | paper (black and dark blue on light gray, menus the other way round; the delivered theme), night (white and yellow on black), mono, classic and blue; color works on the Linux console terminal type; screentheme= in sd.conf chooses the default (no line means mono) and a color theme is refused where the terminal cannot show color |
!tk routines |
Added | !tkopen, !tkclose, !tkkeys, !tkframe, !tkmenubar, !tklayout, !tkconfirm, !tkform, !tkpickrec, !tkout, !tkwrap and the header tkpub.h: a program of your own builds a full-screen page with the frame, menu bar, F2 finder, key table, confirm box, form and pick list the tools use; it runs with your own rights and gates and runs nothing itself |
!tkconfirm typed word |
Changed | the name or word a box asks for (an account's name, open, restore) is taken in either case, as any command is, and the pages show it in lower case |
!tkform fields |
Changed | every entry opens empty, its starting value shown beside it (now: ...) and put in by Ctrl-R, and a field may keep that value when left empty; a field can be a choice of fixed words, which the pages use wherever a fixed set was typed |
| window size | Changed | SD reads the terminal's window size at the start and when it is resized; @crtwide and @crthigh follow it, kernel(k$winsize) answers it, and term w,h holds until the next resize |
SDNet#
| Name | Change | What |
|---|---|---|
list.servers, delete.server |
Added | the administrator's list of defined servers, and removal of one |
net gate |
Added | per-account switch, off as delivered: net-on and net-off |
netwait, netreply |
Added | sd.conf settings, 1 to 3600 seconds, for a connection and a reply; a silent server is given up on |
| remote file administration | Added | for a login in sdfilesadmin; create.file ... server and delete.file of a pointer |
| remote files, a pointer | Added | a VOC entry whose first field is n points to a file on another server |
| remote files, cache | Added | a short record cache; logto closes the connections |
| remote files, index | Added | indices, selectindex, setleft, setright, selectleft and selectright; a query uses the other machine's index |
| remote files, query | Added | list, count, sort, select, list.item, list dict on a remote file; fileinfo type 7 |
| remote files, refusal | Changed | the server's own words are shown, not status 0; a lost connection is an error |
| remote files, reply checked | Changed | a reply that cannot be true is a lost connection at once |
| remote files, write | Added | for a server defined write, and a login that is in the other server's write group (sdfileswrite): write, delete, clearfile, the locking reads and release |
| remote lock functions | Added | recordlocked(), getlocks(), filelock, fileunlock: work on a remote file; recordlocked() and the file lock need a server defined write and a login in its write group |
remote select |
Changed | fixed: a server error stopped the program with an abort |
| SDNet logins | Added | set.netlogin, delete.netlogin: a person's login on a server, kept as derived values and never the password |
set.server |
Added | defines a server; connect shows its key hash for you to confirm |
settings.report |
Changed | the [api] section shows the hash of the API's public key, the figure another administrator pins |
| tls reads | Changed | fixed: a half record or a late ticket made a read wait without limit |
| uninstall | Changed | removing SD with its accounts also removes the groups sdfiles, sdfileswrite and sdfilesadmin, with sdssh, sdapi and sdaiusers |
Security#
Fixes that close a way round a gate, and what the gates now ask.
| Name | Change | What |
|---|---|---|
| account directory parents | Changed | the installer leaves /home/sd, /home/sd/user_accounts and /home/sd/group_accounts 755 (they were 775), so one SD user cannot rename another account's directory and put one of their own in its place; an install made before this is fixed by installing again |
| account entry by name | Changed | logto and an API session's account take the name of a registered account and nothing else: a pathname or an unregistered name is refused with "User not allowed in requested account" and audited (the administrator could logto a directory; over the API a suspended account could be entered by its path) |
api clearfile |
Changed | fixed: it cleared whichever file a stale counter pointed at; it clears the file named |
| API per-connection server unit | Changed | sdclient@.service sets ten of systemd's sandbox settings (ProtectKernelTunables, ProtectKernelModules, ProtectKernelLogs, ProtectControlGroups, ProtectClock, ProtectHostname, RestrictRealtime, RestrictNamespaces, LockPersonality, SystemCallArchitectures=native) on the stage of a connection that runs as root before login; not NoNewPrivileges, a capability bound, ProtectSystem, ProtectHome or PrivateTmp, which would stop sudo sd-elevate and the writes a session makes; a fresh install has them, an upgrade that keeps the unit files keeps the old unit |
| API Unix socket | Changed | /tmp/sdsys/sdclient.socket is mode 0660, group sdusers (systemd made it 0666, so the group restricted nothing and anybody on the machine could reach the first stage of an API connection, which runs as root); the installer adds SocketMode=0660 to an existing unit that has none and leaves a value that is there |
| audit daemon restart | Added | sdlnxd runs as its own systemd unit, sd-lnxd.service, which starts it again two seconds after it fails (kill -9, a crash); a stop (sd -stop, exit 0) is not a failure and is not restarted; a daemon that fails five times in a minute is given up on; sd.service runs sd -start -nodaemon and wants it; a second daemon ends at once |
| audit trail copy in the journal | Added | every audit record is also sent to the system journal (sd_Log, facility authpriv), where the journal's daemon stamps the sender's real uid and pid, so a line added to the trail by a person with a shell can be told from one SD wrote |
| audit trail rate bound | Added | the audit daemon takes at most 600 records from one operating-system user in 60 seconds and drops the rest (the journal copy is not limited); the end of that window writes one line, audit rate limit dropped=N taken=600 limit=600 window=60, and the error log counts what was dropped |
| audit trail rotation | Changed | the audit daemon rotates the trail by size as it writes (1 MB, to audit.<date>-<time>, new file with the old owner, mode and append-only flag), so a machine that never restarts SD still rotates; sd -start uses the same code |
| audit trail writer | Changed | sdlnxd (root) writes the audit trail: a session sends each record over the Unix socket /run/sd/audit.sock and the daemon stamps user= and pid= from the kernel's credentials of the sender, so a person with a shell can no longer add a line that names someone else; the file is mode 0600 (it was 0620); with no daemon a session appends itself, which only sdsys and root can do, and the journal copy is then the only one |
| audit trail, control characters | Changed | fixed: a value written to the audit trail that held a newline started a false line; a control character, DEL or a mark is now written as ? |
backup.account and a group that cannot be read |
Changed | the backup stops with "Cannot read the Linux group" when it cannot read whether the account's user is in sdssh, sdapi, sdfiles, sdfileswrite, sdfilesadmin, sdaiusers or sdsshnokey, instead of recording "not a member": a restore from such a backup could turn ssh key sign-in on |
| control codes in data | Changed | text from data (a record, a lock id another user made, a file name, a command shown by pstat) cannot send escape sequences to a terminal: the screen library draws control characters as reverse letters, the kernel's lock list, getlocks(), pstat, the profiler and hsm displays show them as ?; kernel(k$show.safe, text) gives a program the kernel's rule |
create.account taking over a leftover Linux user |
Changed | on a restore, the user leaves every route group (ssh, the API, the files routes, the AI) the new account does not ask for, so it keeps nothing of its earlier account; it leaves sdsshnokey when ssh-key-on is given; a membership that cannot be read stops the verb |
delete.account and a kept Linux user |
Changed | a Linux user that is kept also leaves sdfiles, sdfileswrite, sdfilesadmin and sdaiusers, so a later account for the same user gets none of those rights |
| deleting a directory tree | Changed | fixed: delete.account, delete.file of a directory file and the other deletes of a whole tree followed a symbolic link inside it and deleted what it pointed at, so a link an account holder planted could turn the administrator's delete onto files elsewhere; a link is now removed as a link and its target left alone |
edit and micro |
Changed | refuse, before the editor starts, a VOC record, program or dictionary item the account may not change (voc-on, bp-on, dict-on) |
| error log mode | Changed | errlog is 664 (it was 775): every session appends to it and nothing runs it |
| files root runs | Changed | the installer makes /usr/local/sdsys/bin and every file in it root:root with no group or other write, and makes bin immutable (chattr +i), so the sdsys user cannot replace sd, sdlnxd, sdidx or pcode, or rename bin away and put its own in its place; a failure to seal is warned about in the closing summary too |
| global catalog modes | Changed | the kernel refuses to load a global catalog object that others or the group sdusers can write (message 11930), and the installer leaves everything in gcat 0755 after its last compile (a fresh install left gcat/$cproc 0664) |
$internal |
Changed | the compiler accepts it only in a session that is both in internal mode and the administrator, not from internal mode alone |
| internal programs | Changed | the internal mark in a program's object code is honored only for an object from the global catalog, which only SDSYS can write, or for the administrator; any other object that carries it is an ordinary program, held to every gate |
$ipc mode |
Changed | directories 2770 and files 0660, sdsys:sdusers (it was 775): an operating-system user outside sdusers can no longer read the commands, DATA lines and messages that every SD user's process leaves in it |
| named common | Changed | fixed: a program that ended while holding objects in named common freed them twice |
named common with a $ or _ name |
Changed | the system's own common blocks: only an internal program may declare or join one; any other program stops with message 11598 |
netdirs |
Added | sd.conf: directories, separated by semicolons, that an account without os-on may read and write by pathname; no line as delivered; filling it loosens every such account. Read and judged by each new session, so a change takes effect for the next session without a restart. An entry that is not an absolute path to an existing directory, is /, or holds or lies inside the SD system directory, the directory of sd.conf, usrdir, grpdir or any account is ignored and named in the error log when SD starts; at most 16 entries; a value over 191 characters is refused by name |
openseq that fails |
Changed | fixed: an openseq that took the else branch for an absent file kept the lock on its name until the file variable was closed; the shipped programs now close it there |
| operating system paths | Changed | dir(), select.dir, oscopy, !oscopy, !ioscopy, deleteseq of a path, the micro editor, opentemp, digest of a file, setptr ... as pathname, setpu, the embedded Python and a VOC pointer out of the account each ask the account's os switch, and sd-on for another SD account |
ospath() in the shared account |
Changed | the keys to delete (5), make a directory (13) and make a path (14) are refused inside the shared account for anybody but SDSYS (false, status() the permission error); the $internal opcode already did, the function every other program uses did not |
| p-code a session runs | Changed | each session reads bin/pcode itself, and refuses a file that others or the group sdusers can write; the copy in the shared segment, which any SD user with a shell could change, is no longer run |
| phantom debugger messages | Changed | pdebug and the phantom it debugs leave each other their messages in .local/state/sd/pdebug below the user's Linux home (a private directory, owner-only, found through the password database), not in $ipc, which every SD user can write; the two must be the same operating-system user; message 11948 when the store cannot be set up |
| phantom start-up records | Changed | a phantom runs the command, DATA lines and log file name of its start-up records in $ipc only if the process that started it sealed them (HMAC-SHA256 under a secret given only to the new process, in its environment); a record that does not check is refused, audited as phantom refused and reported to the parent; the phantom debugger's conversation is not sealed |
| print file refusal | Changed | outside the account: the message names the account instead of printing %1 |
| privileges of a session | Changed | the administrator, sh, os.execute and sd.accounts bits and the gates are held in the process; the copy in the shared segment, which any SD user with a shell could change, is only shown by listu |
| scheduled administrator job | Added | a run of sdcore-job-name.service is made the administrator only when the process is in that unit's control group (only root can start it) and the root-owned definition names exactly the command the session was started with; every audit line of the run ends job=name; any other sdsys session with no login of its own is still refused |
sd -cleanup, sd -u |
Changed | run only for root or the sdsys user; anybody else is told "Command requires administrator privileges" (-u lists every session on the machine, -cleanup removes other people's entries from the user table) |
sd -d, -m, -suspend, -resume |
Changed | need root, as -start and -stop do; any member of sdusers could suspend every update or dump every session |
sd -internal |
Changed | refused with an account other than SDSYS named (-aaccount); without one it goes to SDSYS as before |
sd inside a shell SD started |
Changed | refused: the shell that sh and os.execute start is marked, and sd answers "SD is already running in this session - type exit to return to it." (a guard against nesting, not a wall) |
sd.conf |
Changed | every new session reads it: an edit to sh, spooler, usrdir and the other per-session settings reaches sessions started after it, and a bad line stops new sessions from starting until it is repaired (SD and running sessions are not affected) |
sd.conf SH, SH1, STARTUP |
Changed | a value longer than 80 characters is refused by name; it used to overwrite the settings stored after it |
sdlnxd |
Changed | the root daemon finds the system directory from its own path instead of the shared segment, and starts sd -cleanup with execl, no shell |
| SDSYS cron and at | Changed | the sdsys user may not use cron or at (the installer adds it to /etc/cron.deny and /etc/at.deny, moves an existing crontab to a root-only copy, removes queued at jobs); a cron job was a password-only administrator login. Scheduled work is sd-elevate job-set; the administrator lifts it by taking sdsys out of the deny file |
| SDSYS files a session makes | Changed | a session in the SDSYS account makes files 644 and directories 755 (umask 022), not group-writable: SDSYS's group is sdusers, every SD user, who could change the example programs' objects and the administrator's command stack; other accounts keep 002, and create.account no longer leaves its umask behind |
| SDSYS in more than one place | Added | SDSYS may be signed on at two terminals, and it is now visible: the audit line sdsys second session others=<n>, sdsys x<n> on those rows of tool.sessions with SDSYS in <n> places in its counts line, and <m> signed, <n> sdsys on the home screen's Sessions and locks tile; a phantom, an API process and a session with no terminal are not counted |
| SDSYS over ssh | Added | in SD Core (not SD Core Solo for Linux; SD Core for Windows has it in its own form): sdsys can sign in over ssh from another computer once the administrator opens that door (remote.sdsys on, or sudo sd-elevate sdsys-ssh on from any login with sudo, which is how a server with no screen opens it); it is shut as delivered, the installer does not ask about it, an upgrade that keeps the configuration leaves it as it was (open stays open), and the installer's closing summary says which it is and how to change it. The sign-in asks the Linux password alone (a second factor was tried in test versions of this release and taken out, at the owner's word: the password is all that guards the door while it is open, so open it only on a machine whose sdsys password is long and used nowhere else); the session is sd with no shell, no forwarding, no keys. Turning it on asks sshd itself what it would do with sdsys and puts the file back if the answer is not the one SD wrote (an earlier Match block, a DenyUsers or an AllowUsers that leaves sdsys out). The API is a separate door (SDSYS through the API, below) |
| SDSYS through the API | Added | in SD Core: an administration program on another computer can sign in through the API as sdsys, with sdsys's SD password, once the administrator opens that door for chosen addresses (remote.sdsys api on 192.168.1.20, a range such as 192.168.1.0/24, or any alone for every address; api off shuts it); shut as delivered, the installer does not ask, an upgrade that keeps the configuration leaves it as it was. Such a session has every right of the administrator; an API session into any other account has that account's rights only. From this machine's Unix socket SDSYS keeps the API whatever the door says, but only from a real sdsys login (su sdsys and sudo -u sdsys are refused there too). A connection from one of this computer's own addresses (a tunnel aimed at its network address) counts as local, so it never matches the list. The API port must also be open to other computers (remote.api) |
setptr ... spooler, setpu |
Changed | fixed: the spooler string ran as a shell command for any account; only a session with the os switch may set it |
| shared memory modes | Changed | the shared segment and the semaphores are 0660 and given to the group sdusers; they were 0666, open to every local user |
show ... eval |
Changed | compiles its expression in memory; it no longer writes a temporary I-type into the file's dictionary (no edit gate saw it, and a session holding that record made show wait) |
| ssh rules and root | Changed | the two rules SD writes into /etc/ssh/sshd_config end User *,!root: root's ssh sign-in is decided by the server's own PermitRootLogin, as before SD was installed (root was refused); written by the next install or upgrade |
| system directory | Changed | a session takes it from SDSYS= in sd.conf, not from the shared segment, which any SD user with a shell could change (the global catalog, the register, the messages, the audit trail and the errlog follow it) |
| tls close | Changed | fixed: closing a TLS connection no longer ends the process when the other side has already gone |
u conversion names |
Changed | iconv and oconv: fixed: a name that begins with a dollar sign called an internal subroutine from an ordinary program; it is refused now |
| voc pointers | Changed | an f pointer must lead into the account (or be what the stock VOC says), and a q pointer is followed only into an account the person could logto |
System#
| Name | Change | What |
|---|---|---|
| compiled kernel | Changed | built with optimization (-O2, with -fwrapv and -fno-strict-aliasing) where it had none: string and locate work about 3.4 times as fast, a BASIC loop 1.5 times, index builds, sorts and writes 1.15 to 1.2 times; _FORTIFY_SOURCE=3 and -fstack-protector-strong end a session at a buffer overrun instead of letting it corrupt memory |
| default terminal | Changed | 140 by 43 |
| print and index clear failures | Changed | a print command that fails is reported on the terminal, and an index whose clear could not shrink its file reports an error |
sd -start |
Changed | a script that captures its output through a pipe (x=$(sd -start)) gets it and goes on; the background daemon kept the pipe and the script waited until sd -stop. A phantom and the STARTUP command give back a pipe the same way; a file or a terminal is kept |
sd -status |
Changed | fixed an overrun on a server that recorded no start time |
sd -stop and sd -restart |
Changed | a session still attached ten seconds after the termination signal is ended with SIGKILL, and the stop says how many; before, it was left running with SD gone under it. A session idle at a terminal or on a pipe leaves by itself |
| session whose SD was stopped | Changed | ends at once with a message in syslog and on its terminal, instead of spinning at full processor use for ever |
sh whose shell cannot be started |
Changed | the command ends with status 127; a copy of the session used to carry on in the background |
| sign-on banner | Changed | the product's name and version: SD Core for Linux, version LC2.0-0 (it said SD Core, the Essential Multivalue String Database, version ...); sd --version names the product too |
term and a damaged terminfo file |
Changed | a terminfo file that is corrupt or cut short keeps the session's current terminal type; it used to leave the session with none |
Tools and the home screen#
| Name | Change | What |
|---|---|---|
| 140 by 43 layout | Changed | the collection editor: 140 by 43, refused below it, survives a window made smaller, takes no keys while the cursor is off the screen (sed, the ide and the debugger do the same at 140 by 43, see their rows) |
!ced() data mode |
Added | edits a multivalue record as a tree of fields, values and subvalues (a text or a list; a list never below the second level), so that nobody types a mark; started by ide F12 |
debugger full-screen display |
Added | on a terminal that can address a cell and clear itself (xterm, the Linux console, vt100, vt220, ansi) the debugger takes the whole screen, 140 by 43, in the frame of the other full-screen pages: the bar with the app and the audience, the source with a gutter (> the line about to run, * a breakpoint) and SD BASIC color in every theme but classic and mono, an Autos pane (the variables the line uses, the last stop's, the watched one, the rest), the messages, the command line, a status line, a border and a function-key row; F1 help, F4 the program's screen; a smaller window gets line mode, and so does dumb and unknown; where there is no alternate screen the screen is cleared for the debugger and again when it lets go: a program's SCREEN forms are drawn again, its PRINT text and what was there before are not; LINE.MODE in $debug.options keeps line mode |
debugger keys F2 and Ctrl-Q |
Changed | F2 is Find an action and Ctrl-Q stops the program and leaves, as on every page; Abort, which was F2, is on the Run menu (F2 still aborts in line mode) |
debugger menu bar and keys |
Added | the top row is a menu bar (Run, View, Help; Esc on its own or F10); F9 runs (it was F5), F5 and Ctrl-L draw the screen again, Ctrl-T the theme, Ctrl-K the keys; on the command line, delete to the end and swap two characters are Esc K and Esc T (they were Ctrl-K and Ctrl-T) |
| development pages | Added | tool.files, tool.voc, tool.dict, tool.query, tool.bulk, tool.catalog and tool.test in every account |
| full-screen pages | Added | every page has a menu bar (Esc or F10) and the same keys (F5 or Ctrl-L redraws, Ctrl-T the theme, Ctrl-K the keys, Ctrl-Q leaves, F6 and Shift-F6 move between boxes, F2 finds an action); a page fits any window of 140 by 43 or more, follows it when it is resized, draws only what changed, and draws its boxes with line-drawing characters on a terminal that has them |
| home screen | Added | every account starts in a screen of tiles, unless the administrator says otherwise; arrows, Tab, letters, mouse, F5, F10; home and menu open it from the prompt; its Terminal tile leaves it for the prompt and exit comes back (at any other prompt exit does what quit does); a script, a phantom and the API never get it |
home screen ai line |
Changed | Enter alone accepts a proposal that only opens one of the delivered tools but rejects a proposal of one of your own programs or of the Terminal tile (decided for the proposal, not for the page); it cannot run a command when the account's Terminal tile is off; when the AI cannot be used it says why: "not on for this account" only when the ai gate is off, "not set up on this computer" when no provider, model or key is set |
| home screen Ctrl-Q | Changed | on a screen typed as home at the prompt, Ctrl-Q goes back to the prompt (it signs out on a session's own screen, as before), also after the Terminal tile and exit; there Sign out is on the File menu and the tile |
| home screen Recent group | Added | View > Recent group: the tiles started last, newest first, six at most; off as delivered, the person's own record in &menus&; set.tile account recent off is the administrator's wall |
| home screen at the same time | Changed | fixed: a session at the home screen kept the next session waiting at sign-on (the absent start.default file was read with a lock the program never let go); osread of a missing file left a lock too, and set.start.default and tool.menus close what they read the same way |
| home screen keys | Changed | the Terminal is Alt-T (it was Ctrl-T); Ctrl-Q is the one key that leaves, for the prompt after home typed there and otherwise by signing out; Ctrl-T is the theme and Ctrl-K the keys of the screen, as on every page; Go > Start the tile (Enter) |
| home screen Keys tile | Changed | its icon is [K] (it was ^K, which looked like its key: Ctrl-K is the keys of the page, the tile, a keyboard test, starts with Enter) |
| home screen menu bar | Changed | made from the page's key table like every other page's: each entry shows its key (new: Alt-T Terminal (Ctrl-T is the theme, as on every page), Ctrl-W Switch account, Ctrl-R Recent group, Ctrl-K Keys, F6 the AI line), F10 left the foot row, and / finds a tile by any part of its name |
| home screen Receive files | Added | a tile that runs receive and waits for Enter after it, shown only where a transfer can be opened (XFER on, the person's own account, the xfer gate) |
| home screen refused tile | Changed | a tile whose command is refused shows its message until a key is pressed, and the home screen no longer ends |
| home screen small window | Changed | an account that starts in the home screen is signed out when the window is too small for it, even with the Terminal tile on (it used to be left at the prompt); SDSYS always starts at the prompt |
| home screen sub-menus | Added | a tile can open a second page of tiles (a tile whose action is menu:name) with a Back tile, Esc and the path on the status line; eight deep; the delivered page declares none yet |
| home screen tiles | Changed | a tile for a tool. page whose verb is not in the account's VOC is not shown |
| home screen version | Added | the date line in the header ends with the product and its version: SD Core for Linux LC2.0-0 |
ide |
Added | tree, tabs, compile errors table, find, run, catalog and debug; Ctrl-E zooms the editor to the whole screen, and Go > Edit in SED hands a record to sed |
ide breakpoints |
Added | Shift-F7 or a click in the gutter marks a line of a program tab (*); F7 runs to the first mark, Build / Debug from the first line stops at line 1 with them set; what the debugger still has comes back as marks; up to 20, only lines where a statement begins |
ide autologout countdown |
Added | with autologout set, the status line counts down the last 60 seconds before the session is signed out and says whether unsaved changes will be lost; any key stops it; it reads the inactivity clock autologout itself uses |
ide characters outside ASCII |
Added | a record or a file holding bytes 128 to 247 can be edited; SD stores them and gives them back unchanged (the editor works a byte at a time) |
ide collection-file records |
Added | a record of a data collection file opens as the text of its JSON (one element to a line) and Ctrl-S parses it and writes the collection; text that is not a JSON object or array is refused with the record untouched; F12 hands the collection to ced; a missing record opens as a new {}; compile, SED, Save as and the include do not apply; a text is not saved into a collection file under a new name |
ide command line records |
Added | ide file id1 id2 ... opens a tab for each record named (one that is not there is a new record) and ide file * lists the records of the file as a select list does, the first ten in tabs; both work after dict; an id is a word of the command |
ide dictionary item form |
Added | ide dict file item and Return on an item in the tree open a dictionary item as a form (/text asks for the text; Go, Dictionary item as form, or /form, shows it for the open tab): a dictionary item is edited as one full-screen form: the Type is an entry (D, E, I, L, PH, X) and when it is entered the rows of that type appear, each a label and an entry (Field #, Conversion Cd, Column Heading, Len & Just such as 30 L, ...), an existing item with its values filled in; each value is checked as you leave it (a field number is a whole number from 0 to 9999, Len & Just a width 1 to 200 then L, R, T or C, a conversion one SD knows); Accept writes the item through the IDE's own save and Cancel leaves it as text; an item the form cannot show stays text |
ide dictionary items and VOC records |
Added | ide dict file item and ide voc record edit them; the tree shows a file's dictionary as a node of its own; a save asks dict.edit or voc.edit as a program asks bp.edit; they show marks as tokens; creating.seqkey takes the file's next sequential id; a record that does not exist opens as a new one; an active select list opens its first records |
ide edit as fields |
Added | F12 or Go, Edit as fields: the record is shown as fields, values and subvalues in a pane of the tab inside the IDE's own form (the collection editor's engine; the tree, the tab strip, the menu and the messages stay alive, each tab remembers its view, and a resize keeps it); each change is in the tab's text at once, Ctrl-S is the IDE's save, F12 shows the text again (one Ctrl-Z takes the visit back) and the commands that work on the text wait while it is up; the pane writes nothing; the record of an ordinary file whose text is a JSON object or array with no marks goes to the collection editor as the tree of the JSON and comes back as JSON text |
ide Edit menu |
Added | after File: Undo, Redo, Cut, Copy, Paste, Select all, and the fields pane's Insert, Delete, Rename and Change the type, each doing exactly what its key does |
ide editing commands |
Added | Search, List matching lines (SED's VIEW: the lines that hold a text, in the table), Query replace (Yes, No, All, Quit; one undo step), Find options (match case, whole words), Upcase and Downcase the selection, Import a record here, Export the selection; Build, Run a command (its output in the table; a command that aborts is stopped and the IDE stays up); View, Refresh; none writes a record. In a record shown with :@vm: marks Replace changes the record's text, never a mark's token; a text to find is at most 256 characters |
ide editor modes |
Added | Ins (View > Overwrite mode) types over the character at the cursor; View > Auto-indent starts a new line with the blanks of the one before; View > Tab width (1 to 99); Build > Format the program lays a program out again as one undo step; the modes start off in each session |
ide fields view, AI line and the kind of a new record |
Added | in the fields view a request typed in the AI entry, and the AI menu's explain-the-selection (the element the table has selected), go to the model with the record as indented JSON, and what is accepted changes the fields; on the empty top level Ctrl-T asks whether the record is a collection or an array |
ide filter and pages of records |
Added | Go, Filter the records: a pattern or a like / with query for what the tree lists; a list over 2,000 records goes by pages |
ide go to line |
Changed | takes line,column, and field,value,subvalue in a record shown with :@vm: marks, as well as a line |
ide import of an operating system file |
Added | Search, Import a record here takes path:/full/name, from the tab that holds the file or from the file itself through the account's gates |
ide key map |
Changed | the settled keys: Ctrl-S is the only save key (F2 went); F9 runs, F7 debugs, F8 compiles, Shift-F9 builds (compile and catalog); F6 and Shift-F6 are the next and previous pane (the tree has no key of its own: F6 / Shift-F6, the Go menu entry Files and records or the mouse reach it, because F3 is the text area's find next); Ctrl-PageDown and Ctrl-PageUp, and Alt-PageDown and Alt-PageUp for a terminal that keeps the Ctrl keys for its own tabs (GNOME Terminal), are the next and previous tab; Ctrl-N is New record, Ctrl-O Open record (a record that exists; names with a dollar sign are refused) and Ctrl-W closes the record (it asks when there are changes); Save as, Write a copy and Find in the records are menu entries with no key; the tree no longer lists the $ entries |
ide keys every page has |
Changed | F5 and Ctrl-L draw the screen again, F9 runs (it was F5), Shift-F9 compiles and catalogs (it was F9), Alt-G goes to a line (it was Ctrl-L), Ctrl-T the theme, Ctrl-K the keys; the fields pane's change of type is Alt-T and the editor cuts a line with Alt-K |
ide keyboard macros |
Added | Alt-R starts and ends recording the editor's keys, Alt-P plays them; both on the Edit menu |
ide language of a record |
Changed | chosen as sed chooses it - the file name, then the record id, then the first line (#!/bin/sh), then the languages a site added - where it was the suffix of the id alone |
ide make operating system files |
Added | New, Save as, the first save of an untitled buffer, Write a copy and Export the selection take path:/full/name and make a file of the operating system (mode 0666 less the umask), exclusively and before anything else changes: a file with content is never replaced (an empty one is filled), the directory is never made, and text with a NUL, a byte from 248 to 255 or over 2 MB is refused first; New opens the empty file in a tab and Save as turns the record's tab into the file's |
ide marks as tokens |
Added | a record that holds value, subvalue or text marks is shown with :@vm:, :@sm: and :@tm: and read back when saved, so nobody types a mark; a field that holds the text of a token is shown as it is |
ide menu bar |
Changed | its right end names the IDE and the person (ide name@account), as the toolkit pages and sed do |
ide name form |
Added | New record (Ctrl-N), the first save of an untitled buffer, Save as and Write a copy (both in the File menu) ask for the file and the record on one form; a refusal by the account's edit gate or a record that exists is said in the form, which stays open |
ide mouse and scrolling |
Added | View, Mouse switches the terminal's mouse reports off and on; View, Scroll the view up or down a line (Ctrl-Up, Ctrl-Down) moves the text and not the cursor |
ide open the include |
Added | Go, Open the include opens the record that the $include line at the cursor names, in a tab |
ide operating system files |
Added | ide path:/full/name, or path:/full/name in Open's form, opens a file of the operating system in a tab; it is read and written by !ide_osfile, which is not an internal program, so the kernel asks the account's OS gate and edit gates for it (an account without os-on reaches its own directory only); saved in place (same inode, owner, mode and links), after a second look at the file (the overwrite question if it changed; a file removed or renamed over is refused) and read back after the write; CR LF, a missing last newline and tabs are kept; a NUL, bytes 248 to 255, a file over 2 MB, a directory, device or pipe are refused, a file you may not write opens read-only; locked while open; no recovery copy; compile, SED, fields, Save as and the include do not apply to it (Write a copy does: it keeps the text in a record or in a new file of the operating system) |
ide options record |
Added | an X record &ide.options& in the account's VOC (or SED's &sed.options&) sets the IDE's starting modes: case, whole words, auto-indent, overwrite, tab width, line numbers, syntax color, mouse, case-blind record order |
ide operating system tree |
Added | an Operating system files node after the account's files, only for an account with operating system access (the administrator or os-on): Return lists a directory (directories first, 1000 entries at most, names the IDE cannot show counted) and opens a file in a tab; a directory the operating system will not let the session read says so, not "no OS access" |
ide record locks and read-only records |
Added | a record open in a tab is locked until the tab is closed; one that another session holds opens read-only and cannot be saved; an ide left open blocks other sessions on its records, as sed does |
ide recovery copy |
Added | with recovery-on for the account, the text of a changed record is copied (owner-only, in the person's Linux home, ~/.local/state/sd/recovery/<account>/, outside every account and so outside backup.account) after a second without typing and at the end of the session; offered back when the record is opened again; a copy the first version left in an account's $recovery is still offered; no copies when a directory above the home can be written by group or other; off as delivered |
ide redraw |
Changed | no flash; a click on the menu bar opens the menu; the active pane is marked [*] |
ide replace |
Changed | Ctrl-R is one undo step (one Ctrl-Z gives the text back; it forgot the undo steps), and follows the find options |
ide resize |
Changed | moves and sizes the IDE's parts instead of building the screen again: the editor keeps its undo steps, selection, find text and view, the messages table its row, the tree its open nodes, the AI entry its text (a part that cannot be moved, and coming back from Run, Debug or SED, still build the screen again, keeping the text) |
ide save |
Changed | takes the record's lock and writes on error: a refusing trigger or a full disk is reported and the text kept, where it ended the IDE and lost every tab; Save as moves the editor to the new record; an edit-gate refusal is shown whole in a box; Catalog says so only when catalog did |
ide SED's editing commands |
Added | on the Edit menu and the editor's keys: delete the word before, cut to the end of the line, swap two characters, the word's case, close a run of blanks, align with the line above, swap cursor and mark |
ide SED's small commands |
Added | Stamp a history line, Expand tabs, Run with arguments, the character code (Alt-=), switches for syntax color and line numbers, a tab width of 1 to 99 |
ide select list, recall, tabs list, terminal |
Added | an active select list is asked about (No clears it) and Go, Next record from the list opens the next one; Up and Down in Open and in Run a command recall this session's files, records and commands; View, List of tabs; Build, Run a command at the terminal gives the command the screen |
ide source control |
Added | a save calls a cataloged source.control before the write, with the arguments sed and ed give it; it can refuse the write or change the record |
ide spool |
Added | File, Spool the text prints the tab's text without saving it: at printer, lnum, region |
ide tab indent |
Added | Tab and Shift-Tab indent and outdent the line or the selected lines by the tab width (3 as delivered), one undo step each, never a tab character (the ide editor only; screen memo keeps its Tab); Tab never leaves a pane: F6 and Shift-F6 move between them |
ide theme |
Changed | starts in the site's SCREENTHEME (paper when none or a name that is not a theme, mono without color); View, Theme goes through the themes in the pages' order and skips those the terminal cannot show |
ide tools menu |
Added | Tools, between View and Help, opens tool.files, tool.dict, tool.voc, tool.query, tool.bulk, tool.catalog and tool.test; the page gets the terminal as a program run from the IDE does, and the IDE comes back with its tabs and unsaved text |
ide untitled buffer |
Added | a bare ide opens an editable "Untitled 1" with the cursor in it; New record writes nothing until it is saved; the arrows stay in the editor at its first and last line |
ide word and end keys |
Added | Ctrl-Home and Ctrl-End go to the start and the end of the text, Ctrl-Left and Ctrl-Right a word back and on, and Ctrl-Del deletes the word at the cursor (or the selection) as one undo step; the IDE's editor only |
ide window lock and foot |
Changed | needs 140 by 43 (was 140 by 42) and has the toolkit's foot: the status line, a border and a row of function keys on the last three rows; a window made smaller while it runs holds the keyboard behind a warning that gives both sizes and says unsaved text is lost unless the recovery copy is on, whatever the cursor is doing (the warning is worded shorter in a very small window); sed is the IDE's editor and !ced() holds the same window lock |
| immediate messages | Changed | message ... immediate is shown in a box over the alternate screen, or as lines and Press return to continue |
my.menu |
Changed | its list grows with the window (more rows, a wider command column); F1, ? or a click on the [?] shows the page's help |
sed |
Changed | the full-screen editor is back as the IDE's editor started alone (see TOOLS): a menu bar, the keys most editors have, undo and redo, syntax color and the mouse |
sed keys every page has |
Changed | Ctrl-T the theme, Ctrl-K the keys, F5 and Ctrl-L draw the screen again, F9 compiles and runs (it was F5); kill line is Alt-K and toggle characters Alt-T (both were Ctrl keys), go to a line Alt-G; a key of Esc and one character is written Alt-x, as on every page; View and Help menus, and four more Edit items |
sed open of a missing path |
Changed | fixed: opening a path that does not exist (and the retry in upper case) kept the name locked until the editor was closed |
sed path: form |
Changed | opens no file now: the path: form of a file name went with FILERULE, so sed asks the account's OS gate and cannot open the file; it no longer retries the name in upper case after that check (ide path:/full/name opens an operating system file) |
sed, ide, ed, sp.view input ended |
Changed | fixed: they used all of a processor for ever when their input had ended (sp.view rang the bell; it now leaves as q would, and prints nothing from the spool form) |
sp.view menu bar |
Added | on a window of 140 by 43 or more: File, View and Help (Esc or F10), with the keys every page has (F5, Ctrl-L, Ctrl-T, Ctrl-K, Ctrl-Q); the letters still work |
sp.view screen |
Changed | on a window of 140 by 43 or more (used whole) the record view has the frame of the other full-screen pages: the bar with the file and record and sp.view name@account, a status line, a border and a row of function keys, in the site's theme; the keys, the spool form and the list of records are unchanged, and a smaller window or no terminal keeps the old layout |
| theme of your own | Added | Ctrl-T or View > Theme on every full-screen program takes the next color theme and SD keeps your choice (the record theme.login name of &menus& in the account): every page, the IDE, SED, the debugger and SP.VIEW start in it from then on; the site's SCREENTHEME is used until you choose |
tool.dict new item |
Changed | N asks the id and hands a new item to the ide, which shows the dictionary form and writes the record with the account's dict-edit gate; before, the page asked seven questions one at a time and wrote the record itself, and it now writes nothing |
tool.dict, tool.voc edit |
Changed | E hands the item or the entry to the ide (ide dict file item, ide voc name), with the page's own gates and boxes, where it used sed |
| toolkit pages: '/' finds a row | Added | on a page whose letters are commands, / goes to the next row that holds a text you type: tool.accounts, tool.sessions, tool.jobs, tool.gates and my.menu; on tool.audit it opens the filter, as F does; the find box opens empty, and Up or Ctrl-R brings back the last text |
| toolkit pages: AI line keys | Changed | with the cursor in the AI line, a key the line does not use (Ctrl-Q, Ctrl-T, F1, F5, F10, Alt and a letter) gives the focus back to the page and does what it does there, as a click does; before, it did nothing until Esc was pressed |
| toolkit pages: command output | Added | Ctrl-O (View > Output) on every page: the commands this visit ran, what each printed or why it was refused, newest first, in a window over the page (the four pages with an output pane keep it) |
| toolkit pages: confirm box and a held key | Changed | the box a letter opens waits until the key is let go, so holding R can no longer answer the box with its own Run |
| toolkit pages: every action on a menu | Changed | a key is a short way to a menu entry, never the only way: the few keys that had no entry (Enter on the home screen and tool.entries, the box key on tool.dict, tool.query and tool.test) now have one; tool.keys and the dialogs are the exceptions |
| toolkit pages: F2 and the right-click menu | Added | on every page with a menu bar, F2 lists every menu entry (Menu > Entry, typing narrows it) and a right click on a box gives it the keyboard and opens its actions (Shift-F10: the box that has the keyboard); both do what the entry's key does, and an entry that cannot be used now only says why |
| toolkit pages: F6 and Shift-F6 | Added | the one pair of keys that moves the keyboard to the next and the previous box, round and round, on every full-screen page and in the IDE, with the AI line (when the AI is on) the stop after the last box; Tab and Shift-Tab never move between boxes (in a form they go from field to field, in the IDE's editor they indent, on tool.gates they move between columns) |
| toolkit pages: menu bar | Added | every tool.* page (the administrator pages, the development pages and my.menu) has a menu bar on its top row: Esc (when the page has nothing of its own to close first), F10, Alt and a letter, or a click on a title opens it; an entry does what its key does, through the page's own checks and boxes, so the bar adds no access; Esc opens the first menu that does not begin with Quit, so Esc then Enter cannot leave the page; on the home screen's top page Esc opens the bar too |
| toolkit pages: mouse | Added | View > Mouse on every page and in the IDE stops the terminal reporting the mouse, so its own selection works, and starts it again; it holds for the session |
| toolkit pages: question forms | Added | creating an account, defining a remote server, the custom AI connection, the audit filters, the replace operation of a bulk update and a my.menu program ask all their answers on one form (Tab between them, the first refused answer named under them); tool.dict T picks the record from a list; none of them changes what is checked or run |
| toolkit pages: redraw | Changed | the pages and the home screen write only what changed: a cursor key in a list sends under 2 KB, not the whole screen (about 15 KB); F5 and Ctrl-L redraw the whole page |
tool.sessions output pane |
Added | Ctrl-O (or View > Output) shows the commands the page ran and what they answered, newest first, in a pane of six rows; Ctrl-PgUp and Ctrl-PgDn scroll it, Esc puts it away; it is kept in memory only |
| toolkit pages: refused names | Changed | a name a page will not put in a command says which character is wrong ("has a capital letter (A)", "has the character &") |
| toolkit pages: the whole window | Changed | the administrator pages, the development pages and the home screen use a window bigger than 140 by 43 whole: more rows, wider boxes, wrapped explanations, tiles spread over the window; they follow a resize, also while a dialog is open; at 140 by 43 they look as they did |
| toolkit pages: window limit and record-box titles | Changed | a window above 500 by 300 is refused before the screen is taken (it cost minutes); the boxes of a record write or delete are titled Write this record? / Delete this record? / Update these records? / Put these records back?; "Press Enter to return" names no screen |
NO CHANGE#
openQM features that were looked at for this release and needed no change to SD: the defect is not in SD, the feature was already there, or it does not apply. They are here so that nobody looks for them above.
| Name | Change | What |
|---|---|---|
| 64-bit versions | None | no change in this release |
between in a when clause |
None | no change recorded |
* comment line in a paragraph |
None | already works |
| configuration file location | None | sd.conf is /etc/sd.conf, as it was in L1.1-3 |
$echo |
None | already there in L1.1-3 |
errlog permissions |
None | the daemon asks for 0777 and the installer sets 775 (group sdusers): every SD user can write it, world write is deliberately not given |
formlist bad data |
None | no change recorded |
| hangup at the break key prompt | None | already ends the process by itself |
| inherited public variable | None | beside a function of the same name: already found |
insert appending a field |
None | insert, ins and <-1>: no change recorded |
itype() |
None | no change recorded |
list.users |
None | removed in an earlier release with the other user verbs; the administrator uses listu and tool.sessions |
locate insertion position |
None | also a very long numeric item: no change recorded |
loop ... repeat |
None | already there in L1.1-3 |
matbuild trailing elements |
None | unassigned elements at the end: no change recorded |
matchfield() n-mx pattern |
None | at the start of the template: no change recorded |
memory alignment in redim |
None | no change recorded |
| negative default argument | None | for an optional argument: no change recorded (default argument values are new in this release, see BASIC) |
Pick wildcards in ne |
None | nothing to fix: the Pick wildcards (option pick.wildcard) were removed in this release |
qmbasic.warnings |
None | sdbasic.warnings was removed in this release with the three warning options |
$qmcall |
None | already there as the $sdcall flag, which lets a restricted client session call a subroutine |
-quiet |
None | sd -quiet was already accepted; SD has no VOC update question for it to suppress |
readv fatal error |
None | no change recorded |
| record cache and case | None | no change recorded |
set.date |
None | SD still has the command; nothing was withdrawn |
| the inetd network server | None | SD opens no listening port of its own; sshd does |
the u format in a report |
None | already wraps a long value as t and l do |
| the user limit reached | None | login prints message 1000 and exits cleanly |
umask |
None | the verb and the sd.conf parameter were already there in L1.1-3 |
update.account |
None | already there in L1.1-3 |