Q. TSE: Linux: WSL: Spellcheck: Method: hunspell
Here a Proof Of Concept (=POC) of running a spellcheck also in TSE for
Linux.
===
Steps: Overview:
1. -The attached TSE SAL program was created with and by Artificial
Intelligence ChatGPT 5 (with TSE SAL re-compilation instructions and prompts
and design instructions directed by me).
2. -Based on the external 3rd party hunspell spellcheck dictionary.
(many different natural languages are available).
Here the United States English dictionary was used for testing.
But e.g. Norwegian, Swedish, Danish, German, French, Romanian, ...
spell check dictionaries can assumed quite easily also be
installed and used.
3. -Tested with currently latest
TSE for Linux version 4.50.13
on Linux WSL (Ubuntu)
4. -Only once on Linux WSL you must install hunspell.
Type on the WSL command line
(and supply your sudo password)
sudo apt-get install hunspell hunspell-en-us
5. -Once compile the attached file
spellchk_linux.s
6. -Then open e.g. a file in TSE with some words with errors in it.
See the attached
ddd.txt
for an example.
7. -Then run the attached TSE macro
spellchk_linux.mac
8. -It should work similarly regarding menu options to choose from as the
original spellchk.s as located in your TSE for Microsoft Windows 'mac' subdirectory
and as available in the TSE for Microsoft Windows menu > 'Utils' > 'Spellcheck'.
with friendly greetings
Knud van Eeden