TSE: Command line parameters earlier published but a bit augmented

15 views
Skip to first unread message

knud van eeden

unread,
Dec 16, 2025, 11:57:11 AM (3 days ago) Dec 16
to SemWare TSE Pro Text Editor
Hello,

FYIO:

with friendly greetings
Knud van Eeden

Usage:

  g32.exe | ./e [files] [-options] [files]     # hyphen switches precede the files they affect

Note: Option switches may appear anywhere on the command line, but they
      only affect files AFTER the switch.

Note: Files on the command line BEFORE the switch are unaffected.

Note: Switches -b and -i require a parameter which must immediately follow WITHOUT
      a space character between them.

    -a WILDCARD.SPEC       g32.exe -a *.*              ("Load All") forces all matching files to be selected for loading. Load by OS wildcard, not LoadWildFromDos variable.

                           ./e -a *.*

    -a- WILDCARD.SPEC      g32.exe -a- *.*             ("Pick from List") forces display of a PickList of matching files. Use TDE picklist to manage wildcard specifications.

                           ./e -a- *.*

    -b[LineLength] FILE    g32.exe -b100 foobar.mac    ("Binary Load") signifies a file to load in Binary mode. Load in binary mode with integer LineLength (default 64).

                           ./e -b100 foobar.mac

    -e MacroFilename       g32.exe -e foobar.mac       ("Execute Macro") denotes a Compiled Macro file to load and execute. Load and Execute compiled TSE macros.

                           ./e -e foobar.mac

    -h SingleFileName      g32.exe -h foobar.s         ("Hex Load") signifies a file to load in Hex mode. Load in hex mode.

                           ./e -h foobar.s

    -iSingleDirectoryPath  g32.exe -iC:\TEMP\          ("Augment Load Dir") extends the editor's view of its load directory. Include this directory in the Editor Load Directory list. Include this dir in the Editor Load Directory list.

                           ./e -i/mnt/c/temp/

    -k KeyMacroFileName    g32.exe -k foobar.kbd       ("Load Keyboard Macro") denotes a Keyboard Macro file to load. Load key macros from file.

                           ./e -k foobar.kbd

    -l MacroFileName       g32.exe -l foobar.mac       ("Load Macro") denotes a Compiled Macro file to load. Load compiled macros from file.

                           ./e -l foobar.mac

    -n Line[,Column]       g32.exe -n10,20 foobar.s    ("Go To Line/Column Number") indicates a starting line and/or column. Move cursor to Line (and optional Column).

                           ./e -n10,20 foobar.s

    -r                     g32.exe -r                  ("Restore State") restores state information from previous session. Restore editing environment from last session.

                           ./e -r

    -s FILES               g32.exe -s *.s              ("Search SubDirs") searches through subdirectories for matching files. Search subdirectories to find filespecs.

                           ./e -s *.s

    -y                     g32.exe -y foobar.txt       ("Browse mode") signifies a file to load in Browse mode. Load in Browse mode (Read-Only).

                           .e -y foobar.txt

    -1                     g32.exe -1                  (Permit only one (1) instance of the editor)

                           ./e -1

    -1-                    g32.exe -1-                 (Start editor in a separate, non-shared instance)

                           ./e -1-


knud van eeden

unread,
Dec 16, 2025, 12:02:27 PM (3 days ago) Dec 16
to SemWare TSE Pro Text Editor

Latest update:

Added SingleFileName in browse mode:


    -y SingleFileName      g32.exe -y foobar.txt       ("Browse mode") signifies a file to load in Browse mode. Load in Browse mode (Read-Only).


    -y SingleFileName      g32.exe -y foobar.txt       ("Browse mode") signifies a file to load in Browse mode. Load in Browse mode (Read-Only).

knud van eeden

unread,
Dec 16, 2025, 12:05:47 PM (3 days ago) Dec 16
to SemWare TSE Pro Text Editor
Latest update:

Note: If single filename then by repeating the same parameter you can apply it to more than one file

       E.g. by repeating e.g. '-y' then this will start all these 3 files in browse mode.

        g32.exe -y foobar1.s -y foobar2.s -y foobar3.s



knud van eeden

unread,
Dec 16, 2025, 12:19:40 PM (3 days ago) Dec 16
to SemWare TSE Pro Text Editor, S.E. Mitchell
Final update:

===

Usage:

  g32.exe | e32.exe | ./e [files] [-options] [files]     # hyphen switches precede the files they affect

Note: Option switches may appear anywhere on the command line, but they
      only affect files AFTER the switch.

Note: Files on the command line BEFORE the switch are unaffected.

Note: Switches -b and -i require a parameter which must immediately follow WITHOUT
      a space character between them.

Note: Where applicable: If single filename then by repeating the same
                        parameter you can apply it to more than one
                        file

       E.g. by repeating e.g. '-y' then this will start all these 3 files in read only browse mode.

        g32.exe -y foobar1.s -y foobar2.s -y foobar3.s

       E.g. by repeating e.g. '-b' then this will start all these 3 files in binary mode (e.g. with line length of 60).

        g32.exe -b60 foobar1.s -b60 foobar2.s -b60 foobar3.s

===

-----------------------------------------------------------------------------------------------------------------------------
    COMMAND LINE PARAMETER               EXAMPLE                     DESCRIPTION
-----------------------------------------------------------------------------------------------------------------------------
    -a WILDCARD.SPEC                     g32.exe -a *.*              ("Load All") forces all matching files to be selected for loading. Load by OS wildcard, not LoadWildFromDos variable.

                                         ./e -a *.*

    -a- WILDCARD.SPEC                    g32.exe -a- *.*             ("Pick from List") forces display of a PickList of matching files. Use TDE picklist to manage wildcard specifications.

                                         ./e -a- *.*

    -b[LineLength] SingleFileName        g32.exe -b100 foobar.mac    ("Binary Load") signifies a file to load in Binary mode. Load in binary mode with integer LineLength (default 64).

                                         ./e -b100 foobar.mac

    -e SingleMacroFileName               g32.exe -e foobar.mac       ("Execute Macro") denotes a Compiled Macro file to load and execute. Load and Execute compiled TSE macros.

                                         ./e -e foobar.mac

    -h SingleFileName                    g32.exe -h foobar.s         ("Hex Load") signifies a file to load in Hex mode. Load in hex mode.

                                         ./e -h foobar.s

    -iSingleDirectoryPath                g32.exe -iC:\TEMP\          ("Augment Load Dir") extends the editor's view of its load directory. Include this directory in the Editor Load Directory list. Include this dir in the Editor Load Directory list.

                                         ./e -i/mnt/c/temp/

                                         ./e -i/home/yourusername/temp/

    -k SingleKeyMacroFileName             g32.exe -k foobar.kbd       ("Load Keyboard Macro") denotes a Keyboard Macro file to load. Load key macros from file.

                                         ./e -k foobar.kbd

    -l SingleMacroFileName               g32.exe -l foobar.mac       ("Load Macro") denotes a Compiled Macro file to load. Load compiled macros from file.

                                         ./e -l foobar.mac

    -n Line[,Column] SingleFileName      g32.exe -n10,20 foobar.s    ("Go To Line/Column Number") indicates a starting line and/or column. Move cursor to Line (and optional Column).

                                         ./e -n10,20 foobar.s

    -r                                   g32.exe -r                  ("Restore State") restores state information from previous session. Restore editing environment from last session.

                                         ./e -r

    -s FILENAMES                         g32.exe -s *.s              ("Search SubDirs") searches through subdirectories for matching files. Search subdirectories to find filespecs.

                                         ./e -s *.s

    -y SingleFileName                    g32.exe -y foobar.txt       ("Browse mode") signifies a file to load in Browse mode. Load in Browse mode (Read-Only).

                                         .e -y foobar.txt

    -1                                   g32.exe -1                  (Permit only one (1) instance of the editor)

                                         ./e -1

    -1-                                  g32.exe -1-                 (Start editor in a separate, non-shared instance)

                                         ./e -1-

-----------------------------------------------------------------------------------------------------------------------------


Eric Pement

unread,
Dec 16, 2025, 6:53:28 PM (3 days ago) Dec 16
to SemWare TSE Pro text editor
Hello Knud,

Thanks for the extreme work you did, but these are very long lines! For example, line #52 of your help menu is 248 characters in width (or length). I never have a console session with a screen that wide. The maximum number of columns in a normal session for me is about 180.

By way of comparison, open up a DOS or Take Command window and run one of these commands: "xcopy /?" or "findstr /?" or "c:\Windows\System32\find.exe /?"

The longest line in any of these is 79 characters, to accommodate users who have an 80-column monitor. 

If you set your terminal geometry to 150 colums and 45 rows, and then type (cat, send) your help page to the terminal, you'll see what I mean.

Kind regards,
Eric Pement

Knud van Eeden

unread,
Dec 16, 2025, 7:46:52 PM (3 days ago) Dec 16
to sem...@googlegroups.com
Hello Eric,

It is more FYIO, I think Semware will possibly create some time something more adapted to a command line parameter format.

Note:

Semware informed that in Linux one should put wildcard specification between quotes in Linux (WSL).

E.g.

 ./e -a '*.*'

instead of

 ./e -a *.*

with friendly greetings
Knud van Eeden
--

---
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/481d1cb4-aecb-40d1-bca2-bfb610879b92n%40googlegroups.com.

H P

unread,
Dec 18, 2025, 5:42:11 PM (15 hours ago) Dec 18
to sem...@googlegroups.com
Knud, 

In linux is *.*  not needed.
Just a single * under linux is the same as *.* under windows (dos).


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


H. Pikaar

Henri...@gmail.com


Op wo 17 dec 2025, 01:46 schreef Knud van Eeden <knud.va...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages