This is the list of what changed between W1.1-3 and WC2.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 a program reach beyond its own account, or leave the machine, is off as delivered, with one
exception: the files of the shared account can be opened by name (
shared-read-offtakes that away from an account). The administrator turns the rest on, account by account, and can turn it off again. - A comment at the end of a row,
<!--sthen item numbers then-->, names the spreadsheet items the row covers. It is for whoever maintains this document and does not show on the page.
Read this first: changes that alter what an existing system does#
| Name | Change | What |
|---|---|---|
@who |
Changed | was the account name in upper case (DON); now lower case (don), as on SD Core for Linux. A program that compares it with an upper-case name must use downcase() or upcase() on both sides |
| 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 person's shell and os.execute |
Changed | were granted to the Windows person in os.users, so they followed the person into every account; now they are two settings of the account, and os.users is no longer read |
| 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 session at the console | Changed | was not held to its account's directory when it opened a file by its path (only a session over the network was); now every session is, unless its account has os-on, or sd-on for another SD account |
| 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 W1.1-3 |
An sh command |
Changed | an account that was listed in os.users could use pipes, redirection and chaining; now no account can |
| An upgrade | Changed | copies once what os.users said about each user account's Windows user into that account's sh and os settings, and switches the three edit gates on once for each user account whose setting is blank; it never switches on a setting an administrator turned off |
| Dictionary divide by zero | Changed | stopped the report; now gives zero |
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; its ssh door can now be opened by the administrator (remote.sdsys on), after which the separate account SDRADMIN signs in over ssh (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 120 by 36; 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 W1.1-3 or earlier keeps the prompt; set.start.default and modify.account change it later; SDSYS always starts at the prompt |
Sections#
Built from the openQM list (each row is an item on the feature spreadsheet): 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 Windows, not part of openQM and not on the spreadsheet: 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 items 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, which only the SD service writes |
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; an upgrade that keeps the accounts leaves the file where it is |
SCREENTHEME |
Changed | readable with config(); the shipped sd.conf says SCREENTHEME=paper, written only on a new install; an upgrade or a reinstall that keeps sd.conf leaves its SCREENTHEME exactly as it is, with or without the line, and each user keeps the theme they chose with Ctrl-T; a terminal with no color stays mono |
API#
The server side of the API, the client library and the language headers.
| Name | Change | What |
|---|---|---|
autologout |
Changed | reaches an API session; a client hang found while testing it is fixed |
| api sign-in: audit | Added | the first entry to an account writes api login user= account= to the audit trail |
| 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: 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 copies the two 64-bit DLLs into usr\bin and usr\clients\client64 from there; the source no longer builds the old GPL library; the BASIC client and the language bindings are unchanged |
| client library: 32-bit | Removed | no 32-bit client (qmclilib.dll, qmclient.dll) is shipped; a program written for QM does not work with SD out of the box, and a 32-bit application must be rebuilt as 64-bit; an upgrade removes the old 32-bit copies and usr\clients\client32 |
| 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; a VOC, dictionary or program record the account may not change is opened read only |
| client library: more functions | Added | sdrevision, sdgetvar, sdsystem, sdindices, sdtrans, sdrtrans, sdtxn |
| client library: fixes | Changed | a program may hold 1024 sessions (it was 4); a session waiting for input survives another session of the program connecting and disconnecting; a request to a local server that has ended fails at once; sddcount counts a delimiter of several characters; a failed connect() of the sdclient class names the host and port |
| client library: python | Added | a Python wrapper for the library (sdclient.py) |
client library: sdcallx |
Added | sdcallx and sdgetarg: calls with arguments of any size from the C client library |
| client library: server certificate | Added | the library remembers a server's certificate the first time (%USERPROFILE%\.sdcore\known_servers, or SD_KNOWN_SERVERS) and refuses a different one before any login byte is sent; a file it cannot use refuses the connection; the same as Solo and SD Core for Linux |
| 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; 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 ... 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 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 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.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 |
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 |
openseq |
Added | creating makes the file at once; shared lets several processes append; a block device can be opened |
opentemp |
Added | makes a temporary dynamic file that is deleted when its variable is closed; in the temporary directory when no path is given |
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 |
option() |
Added | reads and sets the state of an option |
ospath() |
Added | keys os$fullpathx and os$info; and any program, not only an internal one, may now call ospath() with openQM's key numbers 0 to 18, behind the account's OS access (os$uid, os$gid and os$modes answer 0 on Windows; key 18 is the owner's Windows account name) |
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.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 |
| 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 |
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 |
set.socket.mode trace |
Added | skt$info.trace logs the data sent and received on a socket to a file only the session's own Windows user, SYSTEM and the Administrators can open; a link at the path or a folder is refused, and the gates of openseq apply |
socket.info() |
Changed | fixed: skt$info.open on a number, a string or an unassigned variable stopped with a fatal error |
!sort |
Changed | sorts a select list variable; the internal sort is open to programs |
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 |
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) |
analyse.index |
Added | every index with its number of values and spread |
analyze.file |
Changed | statistics shows a histogram of group utilization |
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; a directory or sequential file set to mode 0, 2 or 3 writes LF and one set to mode 1 CR LF; a file with no mode set writes CR LF and reads either |
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 |
| 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 |
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; a record id holding a byte from 128 to 255 that is not part of a UTF-8 character is returned as it was written |
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.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 |
vocname letters |
Added | r opens a file read-only, n non-transactionally, s with forced writes, from field 6 of its VOC entry |
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 3 |
Added | every item quoted, numbers too |
csv ... as file id |
Added | writes the report as a record of a directory file; a multivalued field is split over lines |
| 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 |
|---|---|---|
-status |
Added | sd -status shows the version, start time and process counts |
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 (the rest stays the administrator's) |
| default terminal | Changed | 140 by 43 |
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 |
| print and index clear failures | Changed | a print job Windows refuses is reported on the terminal (Print job not sent: Windows refused it for printer ...), and an index whose clear could not shrink its file reports an error |
intprec |
Changed | default 11 |
| 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 |
logto out of SDSYS |
Changed | prints once that the session keeps its Windows administrator rights and to sign out and in to work without them (Windows only) |
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 |
| 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 |
sd.conf parameters |
Added | dhcache, lgnwait, maxrlock, pwdelay, userpool: sd.conf parameters, each optional with the old fixed number as the default |
sortmem |
Changed | default 4096 |
status |
Changed | file times are in the user's time zone; field 27 is the file pathname |
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 |
| the call name | Changed | can be as long as 128 characters (the lower of 128 and maxidlen) |
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) |
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 name as a command | Changed | a program run by its catalog name takes lptr, no.page and the like |
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 |
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, readable by its owner only |
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 |
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 |
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 |
| 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 |
pause, ctrl-r search |
Changed | a session whose input has ended no longer spins at 100% CPU at pause or at the search prompt |
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 |
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 |
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, from the openQM list.
| 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 W1.1-3 - or were added and taken out again during WC2.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.
| Name | Change | What |
|---|---|---|
| AccuTerm terminal types | Removed | the eleven -at terminal types and AccuTerm's escape sequences |
$contrib and $licence |
Removed | the VOC records of the contributors and the license notice; read the files contrib and licence in the system folder, as on SD Core for Linux |
$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 WC2.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 |
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 (on Windows a backslash in a command line is always an ordinary character, never a string quote, because it separates the parts of a pathname) 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 |
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 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 |
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 |
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) |
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; 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 12998 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 12943 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 |
grant, revoke and list.grants |
Removed | write modify.account account add user and modify.account account delete user (the same group change and the same audit lines, as on SD Core for Linux); to see who is in an account read the members of its Windows group (net localgroup sdu_name); list.voc.removed names the replacement |
| 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) |
New Features Unique to SD Core for Windows#
Everything in this section is SD Core's own. None of it is on the openQM list, so none of it has a row in the feature spreadsheet: the administrator's gates and the shared account, the screen library, the installer's additions and the fixes to SD's own code. The sections above are the openQM items that were built, 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 audit line |
Changed | the audit line ends gates= with every access the command granted, or gates=none |
create.account group |
Changed | refuses ssh, api, both, none, sh-on and os-on, saying a group account has no remote access or no shell (they were accepted and not recorded); an account directory that is not absolute, or is a drive root, is refused |
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 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 |
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 |
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 Windows users who may reach SDSYS from this computer, by ssh -t user@localhost sd-sdsys and from a program over the API at 127.0.0.1, each with the SD password of sdsys; both empty as delivered; add, remove and clear per list, and also two fields on the remote administration view of tool.remote. The addresses of remote.sdsys api no longer cover 127.0.0.1 |
remote.api |
Changed | local listens on 127.0.0.1 only (it listened on every address with the firewall shut); every move between on, local and off offers to restart SD (local from off did not), and on when it is already on does not ask; restart or no.restart answers the question in advance |
remote.sdsys |
Added | remote administration over ssh by a separate account, SDRADMIN (never a Windows administrator; one fixed list of account commands); shut as delivered and not asked about by the installer; opened only by the administrator, as SDSYS, with remote.sdsys on (or ssh on); api on with addresses or ranges, or api on any, opens the API door for SDSYS, api off shuts it; no keyword reports both; see Administrator 22 and 22a for what opening them means |
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) |
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) |
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 |
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 |
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) |
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 12776) |
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 |
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 |
logto sdsys |
Changed | a session that started in SDSYS (at SDSYS's desktop, through the SDSYS door from your own login, or as a scheduled administrator job), having gone to another account, can come back with logto sdsys instead of signing out, as on SD Core for Linux; every other session is still refused (10002) |
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 |
restore.account |
Changed | fixed: no longer overwrites a different global program of the same name |
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, compile.dict, and debug, which runs the program in a separate unelevated SD process of that account as the local account sdrunin, its screen and keyboard relayed to the administrator's window) 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 command and option words must be SD's own entries in the account's VOC (the record of the same name in newvoc: one that is missing or changed is refused before anything happens), only the one edit gate it needs is on, sh and os.execute are off; 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, and during it $execute, an include or dictionary from outside the account, logto and a Q-pointer out of the account are refused |
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's bp examples |
Added | four examples of embedded Python (py_json, py_term, py_test, py_test2); an upgrade replaces those four and keeps the rest of bp |
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; its Windows group sdg_shared has no members |
shared-read-off |
Added | withdraws the shared account's files from one account (on for every account as delivered); shared-read-on gives them back |
shared-write-on |
Added | lets one account change the shared account's files (off as delivered); shared-write-off takes it away |
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 SDSYS's elevated 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 |
backup.account links |
Changed | a junction or other link inside an account is left out and named ("Not in the backup: ..."), and the backup goes on; it stopped the whole backup before, so one link in one account stopped backup.account all and the backup-all job |
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, each a Task Scheduler task that runs as SDSYS with no stored password, through the job helper sd-jobs.ps1; alone, lists them with their next and last runs; each change audited, and every audit line of a run ends job=name; nothing is scheduled as delivered, and uninstalling removes every job |
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 |
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 | ssh sign-in with a key, for a user account whose Windows user SD made; a new account signs in with its password only, through the Windows group sdsshnokey and a rule that ends SD's block of the ssh server's configuration. modify.account name ssh-key-on, SDSYS only, or the word in create.account user; refused for a Windows user SD did not make (message 15170); a column in tool.gates; a backup carries it as ssh.key; the installer makes the group empty, so an upgrade changes no account |
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, Run; no terminal; the account's Windows profile is removed with it, so there is no question about the home folder) |
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 restart box |
Added | after a change SD takes up only when it starts (tool.config's restart parameters, tool.remote's API door), a box says why, that a restart signs out everyone, and offers Restart or Not now (the default); tool.config offers it only when the file then differs from what SD runs with; each restart asked for writes an audit line, sd restart app=pagestatus=asked, before SD stops (and status=refused after it when the restart could not be started); tool.remote's form lost its "Restart SD if needed" field |
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.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 a task of its own Windows user); 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, in six views, 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; A asks the API setting and whether to restart SD on one form), 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 remote administration (remote.sdsys) |
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 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 |
AI#
Off as delivered: no provider, no key, and no account has the gate. On Windows SDSYS, and any administrator of the machine, can read a provider's key; turning the AI on sends what a person types to the provider's servers.
| Name | Change | What |
|---|---|---|
agent-pack |
Added | a guide (examples compiled and run), a generated reference of every verb, statement, function, message and setting, and a Claude Code skill, in the source; the guide and the reference are installed under agent-pack in the system directory |
ai gate |
Added | per-account switch, ai-on and ai-off (also on create.account): membership of the Windows group sdaiusers, read by the helper at each request; off as delivered, except for the installing user's own account when the installer's "open every access gate" box is ticked; SDSYS needs none and may always use the AI once a provider and key are set |
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, 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 open to SYSTEM and the Administrators group alone) 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 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 AI helper: a Windows service running the native helper sd-ai.exe (Linux's helper rewritten in C; no Python needed), as NT SERVICE\sd-ai, on the pipe \\.\pipe\sd-ai (SD checks the pipe's owner first); keys encrypted with DPAPI for that account in C:\ProgramData\SD\ai\keys; set up by the installer (again with install-aihelper.ps1) |
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 Windows 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, 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 |
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: large records | Changed | a reply up to the largest SD string (1,073,741,822 bytes) is read; it stopped at 256 MB, and so did sdwriteseq and sdwriteblk |
| client library: restricted | Changed | fixed: a refused sdexecute under sdclient 1 or 2 could end the client program with a heap error; under sdclient 2 a subroutine not flagged $sdcall was reported refused and still ran, and now does not run |
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 (Windows 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 (WinSCP, FileZilla, Windows' own sftp) signed in with the person's ssh login, waits, and says what came with each file's SHA-256; receive overwrite may replace a file that is there; 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, 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, asked on one form (field, change, the two texts) before the preview (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 |
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.test boxes |
Changed | F6 and Shift-F6 move between the list and what the test under the cursor printed, as on every page |
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 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 |
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 |
| record id counter | Changed | fixed: write ... creating.seqkey could give an id out twice after another write of the file header |
| 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 |
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 |
Installer#
| Name | Change | What |
|---|---|---|
| access questions on an upgrade | Changed | a reinstall over a kept sd.conf no longer asks who may reach ssh and leaves an existing server's firewall rule as it was; an API that was open to other computers is open again after the next install and a closed one stays closed (the uninstaller notes the rule's scope in the registry before it removes the rule) |
| uninstall that keeps the data | Changed | the access groups sdssh, sdapi, sdfiles, sdfileswrite, sdfilesadmin and sdaiusers are kept with the kept accounts, so a reinstall leaves every account's ssh, API, files and AI access as it was (sdsshonly is still removed: it carries the console and Remote Desktop denials); the scheduled jobs' definitions are kept and only their tasks are removed, and the reinstall schedules them again, and opens remote administration again if it was on, as SDSYS through one SYSTEM task (sdsvc.exe -restore-kept) after checking each definition and the uninstall's note; the closing page says what came back, and anything that could not is at the top in bold red with the exact steps; the "Add SD Core to the system PATH" box of the reinstall starts cleared if SD's folder was not on the PATH when it was uninstalled |
| agent pack | Added | two folders of text under the system directory, agent-pack\guide (the SD BASIC guide for an AI agent) and agent-pack\pack (a reference of every verb, statement, function, message and setting), for the administrator to copy to where an AI agent works; nothing in SD reads them; an upgrade replaces them |
| changes document | Added | a release package carries it beside the installer as sd-core-for-windows-<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 |
| data folder with no accounts | Added | setup refuses a C:\ProgramData\SD that has a sdsys folder and no account in sdsys\accounts, and says to delete it or restore it from a backup |
| documentation for the AI | Added | the installer puts the User and Administrator documentation pages (from SDCore4WindowsDocs) in docs\user and docs\admin of the system directory, where the AI line looks for the passages it sends with your question; docs\user is read-only for sdusers, docs\admin is SYSTEM and Administrators only; an upgrade replaces both; the installer is not built without the documentation |
| 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 |
| gates of the installing user's account | Added | first install only, unticked (/TASKS=opengates on a silent install): opens every gate of the installing user's own account, xfer included, with modify.account, and reads them back; a gate that did not open is listed in C:\ProgramData\SD\attach-account.log; file transfer still needs XFER=1 in sd.conf |
| group account folders | Changed | group_accounts is locked like user_accounts, and every group account's folder is set again on every install and upgrade; a folder that is really a link is skipped |
| elevated helper | Changed | the elevated helper that SD starts when SDSYS signs in at the console runs only a file named $PS.TMP.<number> in the system directory's pstmp folder, which is where SD writes the scripts it hands over, and refuses any other path, name, folder or link; a process of the same user can still put such a file there |
| reinstall over a running install | Changed | no longer shows Windows' "applications are using files" page for the AI helper |
| SDNet groups and folder | Added | the groups sdfiles, sdfileswrite and sdfilesadmin, with no members, and the folder sd-net (stored server logins), whose access list lets sdusers list it and add a sub-folder and nobody else in |
| shared account | Added | made by the installer: group sdg_shared with no members, and a directory open to sdusers with Modify; an existing account named shared that SD did not make stops the install before anything is changed; make-shared.log in the data folder says what was done |
sdssh on a first install |
Changed | the group is made empty (it was seeded from sdusers, which gave the installing user ssh unasked); the installing user gets ssh by ticking the installer's "open every gate" box or through modify.account; an upgrade keeps the ssh access the system had |
| route groups on an install that finds no database | Changed | sdssh, sdapi, sdfiles, sdfileswrite, sdfilesadmin and sdaiusers are emptied if they are already there (a silent uninstall keeps them, and their old members used to carry over into the new install); an upgrade or a reinstall over a kept database leaves them as they were |
sdssh on a reinstall |
Changed | an install over an existing SD seeds sdssh only when it creates it, so an account taken off ssh stays off |
| source not installed | Changed | the complete source (C, gpl.bp, build and installer scripts) is SDCore4Windows-source-<version>.zip beside the installer and is no longer installed: SDSYS has no gpl.bp folder or VOC entry, and an upgrade removes the ones an earlier release installed |
| Start Menu entry | Added | the install puts SD Core in the Start Menu, opening a classic console window; the uninstaller removes it; signed in to Windows as SDSYS, it (and sd typed at an ordinary prompt) asks Windows for elevation and opens SD in SDSYS |
modify.password unelevated |
Changed | an account changes its own password in a session that was not started elevated: the SD service makes the change for the Windows user the session runs as, after the current password is proved, and writes cred-own set (or cred-own refused) to the audit trail, as SD Core for Linux's helper; it said the account had no password, took the new one twice and failed with status 3035; the installer's closing window judges an existing SD password as SD does |
| 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 |
| uninstall | Changed | removing SD with its data also removes the group sdg_shared; a profile that cannot be removed because its account is still signed in is removed at the next startup |
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 | copies once what os.users said into the account's sh and os settings, and fills only a blank setting, so a kept no stays |
Screen library#
The screen statement and its library, and what changed in the terminal handling around it. The library is Linux's code carried here; it has not yet been run on a Windows console.
| 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 |
| alternate screen in SD's window | Added | in SD's own window a page opened with screen open clear (the home screen, the toolkit's pages, the IDE, CED) is drawn in the console's alternate screen, which Windows does not rewrap, so dragging the window wider or narrower no longer turns the page to garbage; leaving the page brings back the lines from before it; not over ssh |
| 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 |
| console window at start | Changed | sd typed at a PowerShell or cmd prompt opens SD in a classic console window of its own, 140 by 43 to start (it can be made bigger), and the prompt comes back at once; the Start Menu entry opens the same kind of window; when SD ends with an error the window waits for Enter, and a refused sign-in exits with status 1 (it was 0); sd with a command or a switch, redirected input or output and an ssh session run where they are typed |
| 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) |
| 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 statement |
Added | menus, dialogs and forms from BASIC; color; tabs, text areas, tables; the mouse |
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 |
!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 |
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 |
| 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: a new install's sd.conf says SCREENTHEME=paper), night (white and yellow on black), mono, classic and blue; screentheme= in sd.conf chooses the default (no line means mono); 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 |
| 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#
Files on another SD server. All of it is off as delivered. The client is Linux's, carried here; it is compiled and its free checks pass, and it has not been run against another server.
| 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 files, a pointer | Added | a VOC entry whose first field is n points to a file on another server |
| remote file administration | Added | for a login in sdfilesadmin; create.file ... server and delete.file of a pointer |
| 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 in the other server's write group: 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, in a folder only that person and the administrators can open |
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 data also removes the groups sdfiles, sdfileswrite and sdfilesadmin; removing a person removes their stored server logins |
Security#
Fixes that close a way round a gate, and what the gates now ask.
| Name | Change | What |
|---|---|---|
| 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 |
| audit trail copy in the event log | Added | every audit record also goes to the Windows Application event log (source sd-audit, level Information, event id 1, stamped with the session's Windows user), whether the service or the session wrote the trail; it never stops the trail's own write, and the installer registers the source on install and upgrade; any program can write events under that source, so it is a convenience copy, not a protected one |
| audit trail rate bound | Added | the audit writer takes at most 600 records from one Windows user in a minute and drops the rest; the end of that window writes one line saying how many were dropped |
| audit trail rotation | Changed | the SD service starts a new trail file at 1 MB while SD runs, so a machine that never restarts SD still rotates |
| audit trail writer | Changed | the SD service writes the audit trail: a session sends each record over a named pipe and the service names the Windows user (DOMAIN\name) and process as Windows sees them, so a person with a shell can no longer add a line that names someone else |
| 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 "Windows could not answer for the account (the group)" (12005) when it cannot read whether the account's Windows 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 Windows user |
Changed | on a restore, the Windows user leaves every route group (sdssh, sdapi, 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 (message 10081) |
delete.account and a kept Windows user |
Changed | a Windows 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 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) |
| global catalog modes | Changed | SD refuses to load a program from the global catalog that other users can write, and names it |
kernel(k$internal, n) |
Changed | only a program compiled in internal mode may set internal mode; reading it (-1) is unchanged |
| group account folders | Changed | C:\ProgramData\SD\group_accounts is locked like user_accounts; before, a group account whose own folder failed to lock kept the access every SD user has to the data tree |
| 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 |
NETDIRS |
Changed | read and judged by each new session, so a change takes effect for the next session without a restart: an entry that is not absolute, not an existing directory, a drive root, the root of a network share (\\server\share or //server/share), or overlaps the SD system directory, the directory of sd.conf, USRDIR, GRPDIR or any account is ignored and named in the error log; at most 16; a value over 191 characters is refused by name; compared ignoring case, whole folder names; asked after the account's own directory and the os-on and sd-on gates; no longer read by config(); not used by API request 29 |
openseq that fails |
Changed | fixed: an openseq that took the else branch after it had taken the lock on a record (an overwrite of a file whose old content could not be removed, or creating of a name another program made in that moment) kept the lock until SD was restarted, and list.readu showed it against whatever file came next; it is given back, as closeseq gives it back; an openseq that took the else branch for an absent file kept the lock on its name until the file variable was closed, and the shipped programs now close it there |
| operating system paths | Changed | dir(), select.dir, oscopy, !oscopy, !ioscopy, deleteseq of a path, the edit and micro editors, opentemp, digest of a file, setptr ... as pathname, setpu, the embedded Python, a print file made at a path and a VOC pointer out of the account each ask the account's os switch, and sd-on for another SD account; every session is held to it, the console included |
| 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 12603 |
| p-code a session runs | Changed | each session reads bin\pcode itself and refuses it if others can write it |
| phantom debugger messages | Changed | pdebug and the phantom it debugs leave each other their messages in sd\pdebug in the AppData\Local folder of the user's profile (a private folder, made with access for that user, SYSTEM and Administrators only), not in $ipc, which every SD user can write; the two must be the same Windows user; message 12953 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 |
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) |
| 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 Solo): the separate account SDRADMIN can sign in over ssh from another computer once the administrator opens that door (remote.sdsys on); it is shut as delivered, the installer does not ask about it, an upgrade leaves it as it was; see remote.sdsys |
| SDSYS through the API | Added | an administration program on another computer can sign in through the API as SDSYS, with SDSYS's SD password (not its Windows 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 leaves it as it was. Such a session has every right of the administrator, SDSYS's elevated Windows rights included; an API session into any other account has that account's rights only. From this computer SDSYS keeps the API whatever the door says, signed in to Windows as SDSYS and elevated. 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. SDRADMIN's remote session over ssh can open and shut it with the same words. The API port must also be open to other computers (remote.api); see Administrator 22a |
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) |
sdsys\stacks |
Changed | the administrator's command history is made by setup and is read-only to ordinary users; it took write access for every SD user, so an ordinary user could put a command into it |
sh command |
Changed | no account may use pipes, redirection or chaining in an sh command |
| system directory | Changed | a session, and the daemon that runs as SYSTEM, take 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 |
| Task Scheduler folder | Changed | setup makes SD's \SD folder open to SYSTEM and the administrators only; set.job and remote.sdsys on register a task only into such a folder, replacing a task of the same name rather than updating it |
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; _FORTIFY_SOURCE=3 and -fstack-protector-strong end a session at a buffer overrun instead of letting it corrupt memory |
| "Error 5 getting semaphores" | Changed | two lines now follow it: this Windows user is not an SD user, or was made one after signing in to Windows; an administrator makes one with create.account, and a user just made signs out and in again |
| F1 at the prompt | Changed | names C:\Program Files\SD\changelog, where the changelog is |
| failed start | Changed | fixed: an sd.exe that stopped early ("SD has not been started.") kept an internal lock, and every later session hung, using the processor |
| 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 |
sd -start |
Changed | a script that captures its output through a pipe ($x = sd -start) gets it and goes on; the background process kept the pipe and the script waited until sd -stop. A phantom gives back a pipe the same way; a file or a console window 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 |
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 |
| small fixes | Changed | an index file that cannot be extended is reported instead of being ignored; an empty tmp setting is treated as unset; run of a program whose path is too long says what the limit is |
spooler |
Changed | the spooler line of sd.conf names the Windows printer a print job goes to when setptr names none; empty is the Windows default printer, as before |
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 |
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 Windows 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, / filters); a page fits any window of 140 by 43 or more, follows it when it is resized, draws only what changed, draws its boxes with lines, and draws as fast in a classic console window as in Windows Terminal |
| 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 |
| 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 |
| 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 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 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 Windows WC2.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:C:/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, 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:C:/full/name and make a file of the operating system, 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 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 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 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:C:/full/name, or path:C:/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, 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 or a directory 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 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 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 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 (in the person's own folder, 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; 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:C:/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: 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: 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: 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 |
| toolkit 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 since 22 Nov what tool.bulk and tool.entries run themselves) |
| toolkit pages: the AI line | Changed | stays on the screen when a page draws itself again (F5, a change of view, after a command); fourteen pages' own clear had reached it |
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#
Items on the openQM list 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 |
|---|---|---|
* comment line in a paragraph |
None | already works |
| 64-bit versions | None | no change in this release |
between in a when clause |
None | no change recorded |
$echo |
None | already there in W1.1-3 |
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 W1.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 |
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 |
-quiet |
None | sd -quiet was already accepted; SD has no VOC update question for it to suppress |
| the startup process | None | SD has no startup command, so there is no startup process for an @tty of startup |
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 |
update.account |
None | already there in W1.1-3 |