SD Core Solo for Windows WS2.0-0

Not in SD Core Solo for Windows

What has been removed, why, and what to use instead.

This page exists so you do not spend time hunting for something that is not there. It names what is gone and what to use in its place; it does not document the removed features themselves.

Everything here was in OpenQM, in ScarletDME, or in upstream sdb64, or in the multiuser SD Core for Windows this release was made from, and is not in SD Core Solo for Windows. What the multiuser SD Core for Windows has and Solo does not — accounts, groups, SDSYS, the Windows service — is on Differences from SD Core for Windows WC2.0-0, not here.

If you had a use for any of these, say so. Several were removed on the reasoning that nothing needed them. That reasoning is worth testing against real use.

Accounts, groups and grants — removed for Solo#

Gone Use instead
create.account, delete.account, modify.account nothing: there is one account, sduser, made by the installer
grant, revoke, list.grants nothing: there is one Windows user and no groups to join
modify.password, logto set.password — your own account password with no admin, set.password admin after admin, set.password global from the server; SDSYS is never entered, so logto has nowhere to go
the Windows groups sdusers, sdssh, sdapi and sdsshonly, sdsys as a user, the os.users and batch.jobs permit lists none of them. SD runs as you, on an ordinary token; a scheduled job may run any command — see Scheduled jobs
ssh/api/both/none route keywords, sh-on/sh-off/os-on/os-off gone earlier, with the os.users permit list they set
the account tiers (Standard, Programmer, Administrator) gone earlier: one VOC for everybody
Group accounts, suspending an account there is nobody to suspend

The rest of what Solo leaves out, adds and does differently is on Differences from SD Core for Windows WC2.0-0.

Editors#

Gone Use instead
update.record — the full-screen record editor sed, edit or ed
modify — the full-screen record editor from OpenQM sed, edit or ed
nano — the second external editor (removed in 2.0-0) micro, sed or ed

sed has a menu bar that shows the key of every action. It runs inside SD, so it needs no operating-system permission, and it needs a window of 140 columns by 43 lines. With it came ced, a full-screen editor for a record that is a data collection, and ide, a workbench for programs and files.

SD Core Solo's full-screen editing is sed, edit and micro; the last two open the record in Microsoft Edit and in micro, and need the os switch — see Development and file commands, which also says what each is good for and what they cannot do. The three removed programs above are gone as programs; the capability is not.

edit and micro are refused over the API regardless (a session with no terminal has nowhere to draw a full screen).

modify is not in SD Core Solo at all.

ed reads whole lines and goes through the command-line editor.

The PROC language#

PROC is gone. A VOC item of type PQ now reports that PROC is not supported instead of running. Your PQ records are left alone — it is the interpreter that has gone, not the records.

Do not confuse PROC with the query processor. list, count, select and sort are unaffected. They are a different thing despite the similar name.

SDNet — remote file access#

SD could open a file held on another SD server by putting server;file in a VOC entry. That is gone. A VOC entry containing a semicolon is now simply a file name that does not resolve.

set.server, delete.server and list.servers went with it, and came back in a new form: an SDNet client that reaches another SD server over its API (TLS 1.3 and a SCRAM login), through a VOC pointer of type N, with the administrator defining each server (set.server, pinned to the hash of the server's public key), each person keeping their own login on it (set.netlogin, kept as values derived from the password, never the password) and the NET gate (set.net.access on) switched on. All of it is off as delivered. See the SDNet page of the User set. Nothing from the old version is back: no ; in a path, no port 4245, no password in any file.

The API is not affected. !sdclient and the remote API are a separate mechanism and are unchanged. See API access.

One door of SDNet is still in the server: API request 29, which opens an account;file file for an API client. NETFILES in sd.conf is what it is behind: bit 2 of it opens the request, and it is 0 as delivered, so the request is refused. With the bit set, it still refuses unless the account's NET gate is on (set.net.access on, an administrator command, off as delivered), and it refuses under SDCLIENT, an account named by a path, another account, SDSYS and a suspended account, and a file the VOC reaches through a pointer that leads out of the account, unless the account has the os switch on. See API access.

Virtual file systems#

SD has never been able to open a virtual file system. Nothing in the file-opening code ever recognized a VFS: pathname. What the language carried was the outline of one, and none of it could be reached: a VOC F-pointer written as VFS:something was reported as a virtual file system, passed the name resolver, and then failed to open with an unrelated error.

All of it has been removed, so the language no longer offers a feature it cannot perform.

These names are no longer defined, and a program mentioning one will no longer compile:

FL$TYPE.VFS      SYSCOM KEYS.H
ER$VFS.NAME      SYSCOM ERR.H
ER$VFS.CLASS     SYSCOM ERR.H
ER$VFS.NGLBL     SYSCOM ERR.H

ftype no longer returns VFS for a VFS: pathname. Error numbers 3038, 3039 and 3040 are retired and will not be given a new meaning.

If one of your programs refers to any of these, it was testing for a state SD could not reach, and the test can be deleted.

Tape and restore#

The TAPE/RESTORE subsystem is gone, along with the assumption of a tape-backed sequential medium it was built around. Back up and restore SD data with backup.account and restore.account — see Backing up and restoring the account — at the file level, with SD stopped (sd-solo -stop), or through your own export/import BASIC.

Language and locale#

SD Core Solo is English only. set.language and load.language do not exist. nls is still there: it shows and sets the currency symbol and the thousands and decimal separators, which is all it ever did.

Embedded Python#

Python inside sd-solo.exe is not there — calling Python from SD BASIC is, as a separate, native helper process SD talks to over a pipe rather than a library loaded into the server. Python and the runtime sd-solo.exe is built on cannot share one process safely (long is a different width on each side); the helper avoids that by never being the same process at all.

21 gpl.bp/py_* programs are BASIC-callable (call !py_createdict, and so on) — there is no TCL verb, so this is a programming capability, not a command you type at the prompt. A session may start the helper on the same terms as OS.EXECUTE, checked once, at the moment Python starts; on Solo that is the os switch, off as delivered and turned on by the administrator with set.os.access — see Operating system access. All twenty-one functions, their arguments and their error codes are in the User set's Embedded Python chapter.

Field-level encryption#

encrypt.field is gone, and with it the TCL verb that encrypted a field in place. What replaces it is the application's own: sdencrypt() and sddecrypt() with a key that sdkey() makes from a passphrase, and the XE conversion, which shows an encrypted field decrypted to a session that holds the key. SD does not keep the key. See Encryption and the SDEXT interface in this set and SD Basic - Encrypting Data in the User set.

Configuration items#

Gone Notes
CREATUSR removed in 2.0-0 with other parameters; config no longer lists it and config('CREATUSR') returns nothing. A CREATUSR line in sd.conf now stops SD from starting; the installer takes it out of a kept sd.conf
umask removed entirely. It controls POSIX file-mode bits, which Windows does not use for security — see Security for what does the equivalent job here

Eighteen SDSYS test and legacy programs#

bigstr_test, msgtest, pcl, pcl.grid, pcode_list, sdtest_v8, sd_encrypt/_b64/_ext, sd_ext, test.then.else, testsz, u0032, u50bb, vfs.cls, pref_t, sdTests and tilde_test are no longer installed into the SDSYS bp file — developer-era test and demonstration programs with no product function, not something an application ever called. py_json, py_term, py_test and py_test2 were kept deliberately, as the documented examples for embedded Python, above.

pcl is unaffected as a printer feature — the pcl keyword and the cataloged pcl routine in gpl.bp are both still there. What has gone is a second, older copy of the source sitting in bp.

SD ships only those four examples into the SDSYS bp file now. Everything else in it is yours — and because of that, bp and its compiled objects are preserved when you upgrade, alongside your account and the rest of your own data. An upgrade replaces those four programs by name and touches nothing else in bp.

Things that were never features, and are not coming#

These are not removals. They are stated here because a reader coming from another MultiValue system will otherwise assume they exist.

scp and sftp do not work inbound once SD has configured the ssh server. This is the accepted cost of putting every ssh session straight into SD. Pull files rather than pushing them, or use receive and send, which move plain-text files over the same login once the administrator has turned file transfer on — see ssh access. A computer with no ssh server is unaffected, because SD has configured nothing.

The cleartext API login is gone, and a client that still sends a password in clear is refused outright. So is SDConnectLocal, which sent none. See API access.

An installation with no global password cannot run unattended: it asks for the account password. With a global password, a control file answers every other question, including the API and ssh choices, whether or not the computer is managed, and a silent installation shows no page and turns nothing on. See Installing and Installing many computers.

Linux-only mechanisms#

The Linux privilege model does not survive the move and has been replaced rather than emulated. Most of this is invisible unless you are reading source, but two consequences show: