This page assumes SD Core Solo for Windows is installed. It is a walkthrough, not a reference — every step links to the page that explains it properly.
1. Start SD#
Open a new PowerShell or Command Prompt window — a window opened before the install does not have SD on its PATH yet — and type:
sd-solo
SD is already running. A scheduled task starts it at every Windows
start-up, so you do not type sd-solo -start. See Running SD.
It asks for the account password, the one you chose when installing. On a computer installed from a control file there is none yet, and it asks you to choose one now:
This account has no password yet. Choose one now - SD Core Solo for Windows asks for it every time it is used.
The sign-on banner names the product and its version, WS2.0-0.
2. Look around#
who
list voc with type = "F"
term
who |
the account — always sduser |
list voc with type = "F" |
the files in it |
term |
your terminal type and page size — should say Device : windows |
If term says something else and your arrow keys do not work, run
term windows for this session and see
Other hardening. An account keeps the
terminal setting in its VOC until update.accounts updates it.
term also reports the page size, and SD's default is 140 × 43 — not
80 × 24. A console window narrower than that makes wide reports look
wrapped or truncated and the report is not at fault. SD's own full-screen
programs (sed, ced, ide, the home screen) want a window of at least 140
columns by 43 lines, which is the size SD's own window starts at: SD always
runs in a window of its own, whether from the Start Menu or typed at a prompt
(see Running SD). For full screen, press Alt+Enter (in
SD's window F11 goes to SD). If a report still looks cramped, widen the window,
or set it for the session with term default — which puts the 140 × 43 back and
prints nothing while doing it, so check with a bare term afterwards.
term 140,43 is the same thing typed out. See
Other hardening.
3. Make a file and put something in it#
create.file customers
ed customers 1001
ed is the line editor, and it needs nothing installed. For a full
screen, sed is SD's own editor, with drop-down menus, and needs no
operating-system permission (see The SED Screen Editor in the User set);
edit opens the same record in Microsoft Edit and micro opens it in
micro, and both come with SD. See
Development and file commands. The old
full-screen editors update.record and modify are gone; see
Not in SD Core Solo for Windows.
In ed: i to insert, type your lines, a full stop on its own line to stop
inserting, then fi to file and exit.
You do not have to write programs in
ed. The account'sbpfile is a directory file — an ordinary Windows folder with one file per program — so Notepad++, VS Code or any text editor works on it just as well:
%USERPROFILE%\SDCoreSolo\user_accounts\sduser\bpSave the file, then
basicandcatalogit from inside SD as usual. SD folds CR+LF line endings on the way in, so a Windows editor's output needs nothing done to it — see Other hardening.
list customers
count customers
Commands are lower case now, and so are the VOC records behind them. Typing
LIST still works — SD converts it. See
Lower case.
THIS IS THE POINT AT WHICH MOST THINGS SHOULD FEEL LIKE OpenQM. If anything in ordinary data work behaves differently and is not described in this set, that is worth reporting.
4. An administrator command#
listu
Command requires administrator privileges
That is the administrator gate. Unlock it for this session:
admin
Type the administrator password — or, on a managed computer, the global
password — and listu works, and so does every other administrator command,
until you type admin off or leave. See Administrator commands.
5. Leave#
off
6. A command from a script#
From a PowerShell or Command Prompt window, not from inside SD:
sd-solo list customers
It runs the one command and returns, with no password prompt. A command on the command line uses a copy of the account password that Windows keeps for you — which is what lets a script or a scheduled job use SD. See Scheduled jobs.
What to try next#
- Your own application data. There is no restore utility, so the way in is a short BASIC program that reads your exported data and writes the records. Then query it — the query processor is where most of the surface area is.
- A client program against the API, if you chose it when installing. It
signs in as
sduserwith the account password, on port 4249, and needs a client library from this release. The DLL goes in the same directory as the application that loads it, and its architecture must match. See API access and Client distribution. - ssh, if the OpenSSH package is installed:
ssh -p 4251 <your Windows user>@127.0.0.1asks for your Windows password, then lands insd-solo, which asks for the account password. There is no key to set up first. See ssh access.
When something goes wrong#
| Something SD did, and who did it | audit, in %USERPROFILE%\SDCoreSolo\sdsys |
| Diagnostics, and API connections | errlog, same place |
| The installation itself | %USERPROFILE%\SDCoreSolo\install-summary.log |
Other hardening explains which log answers which question.
When you report something, say which build. The release stamp is on the
sign-on banner, in sd-solo --version, and in
%USERPROFILE%\SDCoreSolo\changelog.