Repository navigation
Releases
v1.2: MagiC support, ASH/MSH split, GEM resources in five languages, MCPU
MSHELL 1.2: MagiC support, two shells, five languages
New
MagiC support (5.x or later; 6.x recommended), alongside MultiTOS and MiNT.
MSTerm, MSH, ASH and all the commands now run under MagiC, tested on MagicOnLinux.
Commands are started with Pexec. Pipelines run one stage after another through temporary files. & runs commands in the foreground, and job control (^Z, fg, bg) still needs MiNT.
Two shells:
MSH.TTP is the bash-like shell.
ASH.TTP is the MeagREDOS-style shell.
MSTerm runs either one, or a program of your own chosen in File > Environment.
Window titles show which shell is running (MSH 1, ASH 2…).
Menus and dialogs in five languages: English, German, French, Italian and Spanish.
They come from GEM resource files, picked to match the system language, or set with LANG= in MSTERM.INF.
They have the 3D look on TOS 4 and MagiC.
Colours:
ASH tabs start in the MeagRE (Workbench) colours and MSH tabs in the normal colours. Alt-P switches the current tab.
On high- and true-colour screens, every window keeps its own colours.
New View > Colour theme… (256 colours or more): Paper, Solarized, Midnight, Amber, Phosphor, Ocean or your own. The dialog stays open with a live preview.
MCPU.PRG: a small resident program that measures CPU use under MagiC, which keeps no CPU times itself. ps and top then show TIME, %CPU and an idle line. Put it in the AUTO folder or start it any time.
selftest: runs every command and both shells with common options and reports pass or fail for each. It logs every step to SELFTEST.LOG, so a crash or hang shows which command caused it. selftest -d logs how a program sees its handles.
Fixed
Under MagiC, programs lost everything they printed after the first character. MagiC answers a seek on a pipe in a way MiNTLib’s stdio took for a write error.
top under MagiC printed each refresh below the last and ignored q. It now redraws in place and reads keys.
Several alerts were too long for the TOS 1.0 AES. All menus, dialogs and alerts are now checked against the old AES limits when they’re built.
MSTerm no longer leaves pipes behind in MagiC’s U:\PIPE when shells are restarted or closed.
Changed
The install folder is now MSHELL, and the default location is C:\APPS\MSHELL. Update the PATH and MANPATH settings if you install elsewhere.
MSTerm now needs a screen at least 640 pixels wide (ST medium resolution or better).
make no longer overwrites an existing MSTERM.INF.
Notes for MagiC users
MagiC has a bug that can free a pipe while it’s still in use. MSTerm works around it for its own pipes. A fix for MagiC’s source is included as tools/magic-pipe-refcnt.patch.
^C only reaches a running command on MagiC 6.10 or later.