TSE: Linux: Can sc32 batch compile or not?

29 views
Skip to first unread message

knud van eeden

unread,
Aug 25, 2025, 11:39:28 AMAug 25
to SemWare TSE Pro Text Editor
Hello,

./sc32 *.s

does not work as expected
(error: 'too many parameters')

It works of course in Linux for Microsoft Windows.

Please advise.

Thanks
with friendly greetings
Knud van Eeden

===

1. Latest TSE for Linux 4.50.7

2. Linux WSL Ubuntu

===

Reproduction:

1. Goto the TSE directory

2. Make sure to have more than one .s files copied into it

3. Then run

/mnt/c/temp/tse_linux/tse$ ./sc32 *.s

SAL Compiler V4.50.7 - 2025 Aug 23 (12413)

Too many parameters

Syntax:  SC32 [options] <source> [<macro>]

source      - Macro source or interface filename.
              If standalone macro, default extension is '.s'
              If burning in a new configuration, default extension is '.ui'
macro       - Optional macro filename. Default is <source> with .mac extension

                               Options

-b[Editor]  - Burn-in new interface into the editor
              [Editor] is optional filename of TSE executable
              Default is 'e32.exe'
-s[Path]    - Same as -b, except the interface is written to disk
              [Path] is optional path of where to write the interface
-m[Mapfile] - Generate map file
              [Mapfile] is optional name of map file
              Default is <source> with '.map' extension
-dSym[=Val] - Define symbol Sym and optionally define to constant value Val
-v          - Generate macro debugger information
-!          - No prompting
-? or /?    - Show Syntax




Carlo Hogeveen

unread,
Aug 25, 2025, 11:59:17 AMAug 25
to sem...@googlegroups.com

The correct format of the command is described in the Linux installation tips at:
https://ecarlo.nl/tse/TseDownloads.html

Carlo
--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mailto:semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/183166615.711667.1756136360913%40mail.yahoo.com?utm_medium=email&utm_source=footer.

Knud van Eeden

unread,
Aug 25, 2025, 12:44:56 PMAug 25
to sem...@googlegroups.com
Where exactly should that be?

Thanks
with friendly greetings
Knud van Eeden

image.png

To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/002e01dc15d9%2433093440%24991b9cc0%24%40ecarlo.nl.

Knud van Eeden

unread,
Aug 25, 2025, 12:47:06 PMAug 25
to sem...@googlegroups.com
Believe I found it:

cd /home/<username>/tse
./sc32 'mac/*.s'
./sc32 'mac/*.si'

checking...

On Mon, Aug 25, 2025 at 5:59 PM Carlo Hogeveen <t...@ecarlo.nl> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/002e01dc15d9%2433093440%24991b9cc0%24%40ecarlo.nl.

Knud van Eeden

unread,
Aug 25, 2025, 12:59:45 PMAug 25
to sem...@googlegroups.com
./sc32 'mac/*.s'

That seems not to be working.

Tested in 4.50.7 and 4.50 official release.

image.png

Knud van Eeden

unread,
Aug 25, 2025, 1:04:25 PMAug 25
to sem...@googlegroups.com
But definitely onto something, because seeing now:

'Compiling multiple files...'

when using

./sc32 'mac/*.s'

or similarly

./sc32 '*.s'

except that it does not find those files.


H P

unread,
Aug 25, 2025, 2:32:31 PMAug 25
to sem...@googlegroups.com
Knud,

I'm using Ubuntu and having a directory tse from which I started ./sc32 'mac/*.s' and also tried cd mac and then compiling with ../sc32 '*.s'.
Surprise both are working.


Met vriendelijke groet,
With kind regards,
Muy atentamente,
Mit Freundliche Gruß,
Sinceramente,


H. Pikaar

Henri...@gmail.com



Op ma 25 aug 2025 om 19:04 schreef Knud van Eeden <knud.va...@gmail.com>:

H P

unread,
Aug 25, 2025, 2:38:30 PMAug 25
to sem...@googlegroups.com
Knud,

It looks like you forgot the space after sc32.



Met vriendelijke groet,
With kind regards,
Muy atentamente,
Mit Freundliche Gruß,
Sinceramente,


H. Pikaar

Henri...@gmail.com



Op ma 25 aug 2025 om 20:32 schreef H P <henri...@gmail.com>:

knud van eeden

unread,
Aug 25, 2025, 5:28:41 PMAug 25
to sem...@googlegroups.com
Henrique,

No, see:

c:\temp\tse_linux\tse Mon 25-08-25 23:26:38>wsl

/mnt/c/TEMP/tse_linux/tse$ ./sc32  'mac/*.s'

SAL Compiler V4.50.7 - 2025 Aug 23 (12413)

Compiling multiple files...
Error   2313  (0,0)      No files matching: 'mac/*.s'


knud van eeden

unread,
Aug 25, 2025, 5:44:57 PMAug 25
to sem...@googlegroups.com
1. Tested always with 

 TSE for Linux version 4.50.7

2. Given:

./sc32 'mac/*.s'

3. Root cause:

a. In Linux WSL (e.g. Ubuntu) it does not work.

b. In Linux non-WSL (e.g. Ubuntu) it does work.

4. Root cause: So a 'bug' or omission in Linux WSL.







knud van eeden

unread,
Aug 25, 2025, 5:47:55 PMAug 25
to sem...@googlegroups.com
Inline image

Inline image

Carlo Hogeveen

unread,
Aug 25, 2025, 7:21:01 PMAug 25
to sem...@googlegroups.com

I have to admit that I overlooked that you are trying to do this from Linux on a mounted (presumably 64-bit) Windows drive.
It is not in your question, but it is in your example.

While Linux TSE v4.50.7 now (as far as I know) handles all other actions on a mounted 64-bit Windows drive, apparently bulk-compiling macros is still not one of them.

Here is a work-around that works for me in Debian in WSL when on a mounted Windows drive:

cd mac
ls -1 *.s | sed 's=^=../sc32 =' | bash
ls -1 *.si | sed 's=^=../sc32 =' | bash

Carlo



From: 'knud van eeden' via SemWare TSE Pro text editor <sem...@googlegroups.com>
Sent: Monday, August 25, 2025 5:39 PM
To: SemWare TSE Pro Text Editor <sem...@googlegroups.com>
Subject: [TSE] TSE: Linux: Can sc32 batch compile or not?

Knud van Eeden

unread,
Aug 25, 2025, 7:28:14 PMAug 25
to TSE Pro Support
Thanks for that but the real solution should be in 4.50.8 or higher from SemWare.

I have published e.g. already a workaround that recursively compiles all .s files in an arbitrary directory.

To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/005a01dc1616%24e8d97810%24ba8c6830%24%40ecarlo.nl.

J. David Boyd

unread,
Aug 26, 2025, 6:32:29 AMAug 26
to sem...@googlegroups.com
What I'm seeing, doing
..\sc32.exe *.s?
which is the command I run from my my_src directory (which contains my personal macros) after every update, this -
(when I run everyone individually the outputs are fine, but all at once the display is just junk.  Didn't happen last version )

: C:\Toolls\tse\my_s
F


FiWli
Com
r
reelF
FpFcFitieile: C:\: nFile\ile: C:\Totols\tse\my_Tools\ts: srcCiilieiC: C:\Tools\tse\my_src\FAttrib.:\Tools\\my_src\fitse\my_src\DAVESET.Slt.sg:li:nms\
Compiling\e:
Compiling...
outle: C:\Tools\tse\my_src\TWIDDLE.Sgeabove.sC
Compiling......
Co:\Tools\tse\my.Tools\tse\p. C:\Tools\tse\my_src\TIMEHEAD.S.mpilinu

Compiling...Compiling..._src\SLIDE.S.t......mgW
Compiling....maxmin.s....
No to file 'C:\Too.y...riting output to file....l._src\VIMODE.S. ....s.t
C
...\e'omC.... 0002 (5po..t
Wr.
.im..se\my_src\Cool,13.p.
Writing ou...Wling...C:\TNote 0002 (4,13) 'in.roo.iling....l.iting ap.mtpus.
Wr.a..teoutpit.. to file 'C:
Writing o.)s.c'
.rtM u 'inot.i.\To\t .n
.utput g.W.sols\tse\mdett re.y_soooirt.'r u
tsModeffilee\my_src\TWIDDLE.mac'c'itpi is assigned a value but neve
\ iWung output'C:\Totr

--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.


--
What's so funny about peace, love, and understanding? 

J. David Boyd

unread,
Aug 26, 2025, 6:33:32 AMAug 26
to sem...@googlegroups.com
Oops, that isn't Linux I'm speaking of.  But still a messed up display

Carlo Hogeveen

unread,
Aug 26, 2025, 7:10:31 AMAug 26
to sem...@googlegroups.com

This actually makes sense to me.
It confirms that Sammy was trying to speed up macro bulk compilations by running compilations concurrently.
On most systems we still get neatly sequential output "because buffering", but you get the output of each compilation as it progresses.
Maybe you use a console/terminal (setting) that more aggressively processes and flushes buffers.

Carlo



From: sem...@googlegroups.com <sem...@googlegroups.com> On Behalf Of J. David Boyd
Sent: Tuesday, August 26, 2025 12:33 PM
To: sem...@googlegroups.com
Subject: Re: [TSE] TSE: Linux: Can sc32 batch compile or not?

Oops, that isn't Linux I'm speaking of. But still a messed up display

On Tue, Aug 26, 2025 at 6:31 AM J. David Boyd <mailto:jdavi...@gmail.com> wrote:
What I'm seeing, doing
..\sc32.exe *.s?
which is the command I run from my my_src directory (which contains my personal macros) after every update, this -
(when I run everyone individually the outputs are fine, but all at once the display is just junk. Didn't happen last version )
: C:\Toolls\tse\my_s
F


FiWli
Com
r
reelF
FpFcFitieile: C:\: nFile\ile: C:\Totols\tse\my_Tools\ts: srcCiilieiC: C:\Tools\tse\my_src\FAttrib.:\Tools\\my_src\fitse\my_src\DAVESET.Slt.sg:li:nms\
Compiling\e:
Compiling...
outle: C:\Tools\tse\my_src\http://TWIDDLE.Sgeabove.sC
Compiling......
Co:\Tools\tse\my.Tools\tse\p. C:\Tools\tse\my_src\TIMEHEAD.S.mpilinu

Compiling...Compiling..._src\SLIDE.S.t......mgW
Compiling....maxmin.s....
No to file 'C:\Too.y...riting output to file....l._src\VIMODE.S. ....s.t
C
...\e'omC.... 0002 (5po..t
Wr.
.im..se\my_src\Cool,13.p.
Writing ou...Wling...C:\TNote 0002 (4,13) 'in.roo.iling....l.iting ap.mtpus.
Wr.a..teoutpit.. to file 'C:
Writing o.)s.c'
.rtM u 'inot.i.\To\t .n
.utput g.W.sols\tse\mdett re.y_soooirt.'r u
tsModeffilee\my_src\TWIDDLE.mac'c'itpi is assigned a value but neve
\ iWung output'C:\Totr

...



knud van eeden

unread,
Aug 26, 2025, 9:19:57 AMAug 26
to sem...@googlegroups.com
It can not be reproduced here, so assmed local issue.

Advised is also to use the latest TSE version.

===

1. Using TSE for Microsoft Windows version 4.50.7

2. Copy some .s files in a directory and batch compile those file:

f:\wordproc\tse_beta Tue 26-08-25 15:17:11>sc32 c:\temp\DDD\*.s
_run: run: program: fileeditortexttsecompilesc32
SAL Compiler V4.50.rc23 - 2024 May 27 (12390)
Copyright 1991-2024 SemWare. All rights reserved worldwide.

Compiling multiple files...

File: c:\temp\DDD\aantgrne.s
Compiling............................................................................................
Writing output to file 'c:\temp\DDD\aantgrne.mac'

File: c:\temp\DDD\aantgrnf.s
Compiling............................................................................................................................
..............
Note    0002  (140,8)    'filenameresultGS' is assigned a value but never used
Writing output to file 'c:\temp\DDD\aantgrnf.mac'

File: c:\temp\DDD\aantgrng.s
Compiling...........................................................................................
Writing output to file 'c:\temp\DDD\aantgrng.mac'

File: c:\temp\DDD\aantgrnh.s
Compiling.............................................................................................................
Note    0002  (111,8)    'filenameresultGS' is assigned a value but never used
Writing output to file 'c:\temp\DDD\aantgrnh.mac'

File: c:\temp\DDD\aantgrni.s
Compiling............................................................................................................
Writing output to file 'c:\temp\DDD\aantgrni.mac'

File: c:\temp\DDD\aantgrnj.s
Compiling............................................................................................................................
............
Writing output to file 'c:\temp\DDD\aantgrnj.mac'

with friendly greetings
Knud van Eeden


J. David Boyd

unread,
Aug 26, 2025, 1:13:50 PMAug 26
to sem...@googlegroups.com
I'm using TCC, running on my Windows 11 laptop, which I"m connecting to through a Splashtop connection.

So I'll play around with it and see what might be causing it.

Thanks for the info!


--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages