TSE needs built-in help menu, -v version switch

26 views
Skip to first unread message

Eric Pement

unread,
Dec 16, 2025, 4:10:32 AM12/16/25
to SemWare TSE Pro text editor
I think TSE (e32 and g32) should have a built-in help menu that is automatically invoked by appending "--help" or "-?" or "/?" on the command-line .  I know that TSE supports several command-line option switches.

Yet another suggestion: add a new -v option switch to print the version of TSE and exit.

I am a very long-time user of Take Command and TCC (formerly 4DOS), so I wrote a TCC batch file to remind me of the option switches I can pass to TSE on the command line. I hope someone else can use this or modify it. TCC batch files end in *.btm (short for "batch file in memory") with better features for displaying menus and such.

> type tse.btm
@echo off
:: filename: tse.btm
:: requires: Take Command interpreter TCC.exe

if "%1" eq "-?" .or. "%1" eq "/?" .or. "%1" eq "--help" goto help

:: modify the path to g32 as needed
c:\tools\TSEPro\g32.exe %*
goto end

:help
TEXT
TSE Professional v4.50, The SemWare Editor

  Programmer's editor distributed free of charge from https://semware.com
  Compiled for the Windows console (e32.exe) and as a GUI application (g32.exe).
  This script invokes the GUI application as "tse".

Usage:
  tse [files] [-options] [files]     # hyphen switches precede the files they affect
       or
  tse //                             # emits version, date, default settings

Options:
  -a WILDCARD.SPEC     Load by OS wildcard, not LoadWildFromDOS variable
  -a- WILDCARD.SPEC    Use TDE picklist to manage wildcard specifications
  -b[LineLength]       Load in binary mode with integer LineLength (default 64)*
  -e MacroFilename     Load and Execute compiled macros
  -h                   Load in hex mode
  -iDirectoryPath      Include this dir in the Editor Load Directory list*
  -k KeyMacroFilename  Load key macros from file
  -l MacroFilename     Load compiled macros from file
  -n Line[,Column]     Move cursor to Line (and optional Column)
  -r                   Restore editing environment from last session
  -s FILES             Search subdirectories to find filespecs
  -y                   Load in Browse mode (Read-Only)
  -1                   Permit only one (1) instance of the editor
  -1-                  Start editor in a separate, non-shared instance

Option switches may appear anywhere on the command line, but they only affect
files after the switch. Files on the command line before the switch are
unaffected.

* Switches -b and -i require a parameter which must immediately follow without
a space character between them.
ENDTEXT

:end

S.E. Mitchell

unread,
Dec 16, 2025, 5:33:02 AM12/16/25
to sem...@googlegroups.com
I will certainly consider this.
Thanks for the suggestion!
> --
>
> ---
> 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.
> To view this discussion visit https://groups.google.com/d/msgid/semware/e4a642ac-60b6-451e-8bea-2aafa7982119n%40googlegroups.com.

Tom Collins

unread,
Dec 16, 2025, 10:09:29 AM12/16/25
to sem...@googlegroups.com

S.E. Mitchell

unread,
Dec 17, 2025, 6:28:50 AM12/17/25
to sem...@googlegroups.com
I just noticed:
>>> -a- WILDCARD.SPEC Use TDE picklist to manage wildcard specifications
What is the TDE stuff? :)
(Yes, I know what TDE is!)

On Tue, Dec 16, 2025 at 4:10 AM Eric Pement <eric....@gmail.com> wrote:
>

Eric Pement

unread,
Dec 18, 2025, 10:50:31 PM12/18/25
to SemWare TSE Pro text editor
About that TDE picklist . . . It could be a typo, because D and S are next to each other on the keyboard.

Or it could be a subconscious confusion (a Freudian slip?), since I use both TDE and TSE very frequently. And in my case, they're both mapped to the WordStar command set, which only confounds the problem!

(BTW, good catch!)

Eric

Reply all
Reply to author
Forward
0 new messages