-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added profiles, installer etc for SPF/SE 7.0
- Loading branch information
Michael Knigge
committed
Nov 3, 2022
1 parent
071854b
commit 4a2f38c
Showing
50 changed files
with
3,235 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# SPF/SE 7.0 | ||
Version 7.0 was provided by a SPF/SE user - I've never used this release. Here are some instructions and a built installer that makes it easier to use Version 7.0. | ||
|
||
## Serial number. | ||
To make the SPF/SE 7.0 release a full working release, you need a serial number. | ||
As we've got the permission to distribute SPF/SE for free, we can also make a valid serial number available. | ||
You can use the serial number **70101185**. | ||
|
||
## Installer | ||
The original version comes with an interactive text mode installer which makes it hard to install this release unattended. | ||
For this reason I've built a professional installer. | ||
|
||
The releases here are all built by the free CI service [AppVeyor](https://www.appveyor.com/) and can be downloaded from the [Releases](https://github.com/michaelknigge/spf-editor/releases). | ||
The provided installer is created with [InnoSetup](http://www.jrsoftware.org/isinfo.php). | ||
|
||
### Silent installation | ||
The installer supports silent (unattended) installations. See [InnoSetup Setup Command Line Parameters](https://jrsoftware.org/ishelp/index.php?topic=setupcmdline) for details. | ||
A desktop icon can be created by enabling the task *desktopicon* and the included font [Source Code Pro](https://fonts.google.com/specimen/Source+Code+Pro) can be installed by enabling the task *fonts*. | ||
A silent installation for all users that also creates a desktop icon and installs the fonts can be invoked with | ||
|
||
``` | ||
SPFSE-7.0.1651.21-SETUP.exe /VERYSILENT /ALLUSERS /TASKS="desktopicon,fonts" | ||
``` | ||
|
||
If you want to install SPF/SE 7.0 just for the current user and not for all users, replace */ALLUSERS* with */CURRENTUSER*. | ||
There are more parameters avaiable (i. e. for creating a log file). | ||
|
||
As mentioned, please see the [InnoSetup Setup Command Line Parameters](https://jrsoftware.org/ishelp/index.php?topic=setupcmdline) for details. | ||
|
||
### Provided SPF/SE 7.0 installers | ||
Currently there is just one installer for SPF/SE 7.0 available. | ||
|
||
The installer is [SPF/SE 7.0 Build 1651 installer](../../releases/tag/v7.0.1651.21). | ||
|
||
### Installation for all users | ||
The default installation directory is **C:\Program Files (x86)\SPF SourceEdit 7.0** if you install SPF/SE 7.0 for all users. | ||
Note that the permissions of the subdirectories **macros** and **dialogs** are set to *world-writable* so any user that uses SPF/SE 7.0 can add and edit new macros and dialogs. | ||
|
||
Additionally the directory **C:\ProgramData\SPF SourceEdit 7.0** is created. If a user starts SPF/SE 7.0 for the first time, a subdirectory with the name of the user is created. | ||
For this reason, the permissions of this directory is set to *world-writable* too. SPF/SE 7.0 stored some user specific data in this directory. | ||
If you want to change the path to this directory, just create the directory where you want and set the environment variable *SPF70RW* to the corresponding path. | ||
|
||
### Installation for the current user | ||
The default installation directory is **C:\Users\YourUserNameHere\AppData\Local\SPF SourceEdit 7.0** if you install SPF/SE 7.0 just for the current user. | ||
|
||
Additionally the directory **C:\Users\YourUserNameHere\AppData\Roaming\SPF SourceEdit 7.0** is created. If a user starts SPF/SE 7.0 for the first time, a subdirectory with the name of the user is created. | ||
For this reason, the permissions of this directory is set to *world-writable* too. SPF/SE 7.0 stored some user specific data in this directory. | ||
If you want to change the path to this directory, just create the directory where you want and set the environment variable *SPF70RW* to the corresponding path. | ||
|
||
### Changes to the original release | ||
See the directories [dialogs-v7](dialogs-v7), [macros](macros) and [profiles-v7](profiles-v7) for files that are changed or added. | ||
|
||
The options are set so that SPF/SE 7.0 looks and feels (more or less) like the editor of ISPF under z/OS. | ||
This includes that the action *3270ENTER* is assigned to the right CNTL key and the ENTER key on the numeric pad. | ||
The action *CarriageReturn* is assigned to the ENTER key. | ||
|
||
And some options are set so that unprintable characters are not shown (because with some fonts SPF/SE 7.0 doesn't display them correctly). | ||
Furthermore some helpful macros have been added and various file profiles (especially for file types that are common if you work with z/OS or BS2000). | ||
|
||
### Editing binary files | ||
When you edit files that are not pure text or program source (i. e. AFP print files), some character codes may not be displayable. | ||
If a non-displayable character paints at less than the full width of the current monospace font, the displayed line in Edit will be width distorted. | ||
That is, the characters will not align to the expected monospace column positions and the line may appear shorter than normal. | ||
|
||
To eliminate this effect, alternate display character are assigned for all non-displayable character codes. | ||
Assigned is the space character. To change this settings review *Options*, item *Editor*, item *Display Codes*. | ||
The relevant configuration file is [OptionsDisplayCodes.txt](profiles-v7/OptionsDisplayCodes.txt). | ||
Note that this setting is independent from the active font. | ||
|
||
### Fonts | ||
Sadly, SPF/SE 7.0 is quite picky when it comes to fonts. | ||
With many fonts the displayed lines in Edit will be width distorted (i. e. the modern looking font [JetBrains Mono](https://www.jetbrains.com/de-de/lp/mono/) will not work properly). | ||
But you can give SPF/SE 7.0 a quite more modern look with the font [Source Code Pro](https://fonts.google.com/specimen/Source+Code+Pro) by Google. | ||
The provided installer has an option to install this font. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@echo off | ||
|
||
rem Pass two parameters: | ||
rem | ||
rem Parameter 1: the SPF/SE 7.0 build number | ||
rem Parameter 2: the AppVeyor build number | ||
|
||
if X%1==X ( | ||
echo Parameter 1 is missing | ||
exit 1 | ||
) | ||
|
||
if X%2==X ( | ||
echo Parameter 2 is missing | ||
exit 1 | ||
) | ||
|
||
echo ***************************************************** | ||
echo ***************************************************** | ||
echo ***************************************************** | ||
echo *** Building installer for SPF/SE 7.0 Build %1 *** | ||
echo ***************************************************** | ||
echo ***************************************************** | ||
echo ***************************************************** | ||
|
||
rem Installing from original MSI package | ||
msiexec /i binaries\SPF-70-%1.msi /q /log SPF-70-%1.log | ||
|
||
rem Sleep a little bit (10 seconds... installation of SPF/SE 7.0 is very fast) | ||
timeout /t 10 | ||
|
||
rem Building the installer using InnoSetup | ||
"C:\Program Files (x86)\Inno Setup 6\iscc.exe" spfse-7-%1.iss /DAppveyorBuildNumber=%2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
dialog { title="About" } | ||
|
||
obj { type=static row=1 col=1 text="(C) Copyright Command Technology LLC 1996-2012" } | ||
obj { type=static row=2 col=1 text=" All Rights Reserved" } | ||
|
||
obj { type=separator row=3 } | ||
|
||
obj { type=output row=4 col=1 label=" Product:" width=70 var=&Product } | ||
obj { type=output row=5 col=1 label=" Serial#:" width=70 var=&Serial } | ||
obj { type=output row=6 col=1 label=" Home:" width=70 var=&Home } | ||
obj { type=output row=7 col=1 label=" Options:" width=70 var=&Options } | ||
obj { type=output row=8 col=1 label=" Author:" width=70 var=&Author } | ||
obj { type=static row=9 col=1 text=" Web: https://github.com/michaelknigge/spf-editor" } | ||
|
||
obj { type=separator row=10 } | ||
|
||
obj { type=button row=11 col=1 width=8 text=OK default=yes cancel=yes } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dialog { title="Font selection" } | ||
|
||
obj { type=list row=1 col=1 width=30 depth=8 var=&List vscroll=yes commit=yes } | ||
|
||
obj { type=button row=9 col=1 width=8 text="Ok" default=yes } | ||
obj { type=button row=9 col=10 width=8 text="Cancel" cancel=yes } |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
B BROWSE | ||
BOT BOTTOM | ||
BND BOUNDS | ||
BNDS BOUNDS | ||
C CHANGE | ||
CAN CANCEL | ||
CHG CHANGE | ||
COL RULER | ||
COLS RULER | ||
CRE CREATE | ||
DEL DELETE | ||
DOS SYSTEM | ||
E EDIT | ||
EX EXCLUDE | ||
EXC EXCLUDE | ||
F FIND | ||
FSPLIT SPLITF | ||
HSPLIT SPLITH | ||
L LOCATE | ||
LOC LOCATE | ||
MD MAKEDIR | ||
NUM NUMBER | ||
O OPEN | ||
PRI PRINT | ||
PR PROFILE | ||
PRO PROFILE | ||
PROF PROFILE | ||
REDIT LISTRECENT | ||
REN RENUMBER | ||
RENUM RENUMBER | ||
REP REPLACE | ||
REPL REPLACE | ||
RES RESET | ||
S SAVE | ||
SAV SAVE | ||
TAB TABS | ||
TSO SYSTEM | ||
UNN UNNUMBER | ||
UNNUM UNNUMBER | ||
USER USERCMD | ||
VSPLIT SPLITV | ||
X EXCLUDE | ||
BRO BROWSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ZCTRL.A AFP | ||
ZCTRL.B COBPREV | ||
ZCTRL.C COPY | ||
ZCTRL.E DELEOL | ||
ZCTRL.F FINDALL | ||
ZCTRL.G GOTO | ||
ZCTRL.L RPCMD | ||
ZCTRL.N COBNEXT | ||
ZCTRL.O LISTFILE | ||
ZCTRL.P HARDCOPY | ||
ZCTRL.S SAVE | ||
ZCTRL.V PASTE | ||
ZCTRL.W WordCopy | ||
ZCTRL.X CUT | ||
ZCTRL.Y LOCATE SPECIAL | ||
ZCTRL.Z UNDO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
DisplayCode 000 032 | ||
DisplayCode 001 032 | ||
DisplayCode 002 032 | ||
DisplayCode 003 032 | ||
DisplayCode 004 032 | ||
DisplayCode 005 032 | ||
DisplayCode 006 032 | ||
DisplayCode 007 032 | ||
DisplayCode 008 032 | ||
DisplayCode 009 032 | ||
DisplayCode 010 032 | ||
DisplayCode 011 032 | ||
DisplayCode 012 032 | ||
DisplayCode 013 032 | ||
DisplayCode 014 032 | ||
DisplayCode 015 032 | ||
DisplayCode 016 032 | ||
DisplayCode 017 032 | ||
DisplayCode 018 032 | ||
DisplayCode 019 032 | ||
DisplayCode 020 032 | ||
DisplayCode 021 032 | ||
DisplayCode 022 032 | ||
DisplayCode 023 032 | ||
DisplayCode 024 032 | ||
DisplayCode 025 032 | ||
DisplayCode 026 032 | ||
DisplayCode 027 032 | ||
DisplayCode 028 032 | ||
DisplayCode 029 032 | ||
DisplayCode 030 032 | ||
DisplayCode 031 032 | ||
DisplayCode 127 032 | ||
DisplayCode 129 032 | ||
DisplayCode 141 032 | ||
DisplayCode 143 032 | ||
DisplayCode 144 032 | ||
DisplayCode 157 032 | ||
DisplayCode 160 032 | ||
DisplayCode 255 032 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
EDIT_TEXT 6,0 | ||
BROWSE_TEXT 9,0 | ||
SELECT_TEXT 0,2 | ||
FIND_TEXT 0,3 | ||
LINE_NUMBERS 9,0 | ||
LINE_COMMANDS 14,0 | ||
LINE_LABELS 14,0 | ||
CURSOR_LINE 7,0 | ||
INSERT_LINE 6,0 | ||
TOFBOF_LINE 3,0 | ||
BNDS_LINE 3,0 | ||
COLS_LINE 3,0 | ||
EXCLUDE_LINE 3,0 | ||
HEX_LINE 4,0 | ||
MASK_LINE 3,0 | ||
NOTE_LINE 12,2 | ||
TABS_LINE 3,0 | ||
FLIST_SELECT 6,0 | ||
FLIST_DIR 11,0 | ||
FLIST_FILE 3,0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
EDIT_TEXT 6,0 | ||
BROWSE_TEXT 9,0 | ||
SELECT_TEXT 0,2 | ||
FIND_TEXT 0,3 | ||
LINE_NUMBERS 9,0 | ||
LINE_COMMANDS 14,0 | ||
LINE_LABELS 14,0 | ||
CURSOR_LINE 7,0 | ||
INSERT_LINE 6,0 | ||
TOFBOF_LINE 3,0 | ||
BNDS_LINE 3,0 | ||
COLS_LINE 3,0 | ||
EXCLUDE_LINE 3,0 | ||
HEX_LINE 4,0 | ||
MASK_LINE 3,0 | ||
NOTE_LINE 12,2 | ||
TABS_LINE 3,0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
NewEdits KeepInCurrentSession | ||
NoMatchOnFileProf SYSTEM | ||
PopupCommands Cut,Copy,Paste,Delete,:I,:TS,:TJ | ||
NonDisplayChar NONE | ||
ScrollModeVertical CURSOR | ||
ScrollModeHorizontal CURSOR | ||
ScrollHWhenCursorAtEdge TRUE | ||
ScrollVWhenEnterAtBottom TRUE | ||
ScrollSpeedExtendedSelect 5 | ||
LineCmdFieldWidthEdit 7 | ||
LineCmdFieldWidthBrowse 0 | ||
DefaultColShiftAmount 2 | ||
LinePosAfterFind 2 | ||
LineLeading 0 | ||
CursorWidthInsert Narrow | ||
CursorWidthOvertype Wide | ||
ArrowKeyMode Windows | ||
ShowLineNumbers TRUE | ||
ShowToolbar FALSE | ||
ShowVerticalScrollBar TRUE | ||
ShowHorizontalScrollBar TRUE | ||
LegacyDataShiftInChange FALSE | ||
LegacyPadBlanksInFind FALSE | ||
PromptForSaveOnExit TRUE | ||
PromptOnCancel TRUE | ||
DblClickToMacro TRUE | ||
UndoEnable TRUE | ||
FindGlobal TRUE | ||
FindVerbose TRUE | ||
CheckFullStop FALSE | ||
EditWriteLock TRUE | ||
EditVirtualLoad TRUE | ||
ColorCursorLine FALSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
DateFormat EUR | ||
VscrollMode CSR | ||
MaxEntries 30000 | ||
Dismiss TRUE | ||
ReposList FALSE | ||
ConfirmDelete TRUE | ||
Overwrite PROMPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
AFP print files *.afp | ||
Assembler Files *.asm | ||
COBOL Program Source *.cbl;*.cob | ||
COBOL Copybook *.cpy | ||
COBOL All *.cbl;*.cpy;*.cob | ||
C++ and C Program Source *.cpp;*.c | ||
C++ and C Data Structures *.h | ||
Java Program Source *.java | ||
HTML Document Source *.html;*.htm | ||
SGML Document Source *.sgml | ||
Text Files *.txt | ||
All Files *.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
SELECT 6,0 | ||
DIR 11,0 | ||
FILE 3,0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
MsgSound Sound1 | ||
MouseWheel.Vscroll 1 | ||
Recycle FALSE | ||
RetrievePcmdHistory FALSE | ||
DateFormat USA | ||
TextMonday Monday | ||
TextTuesday Tuesday | ||
TextWednesday Wednesday | ||
TextThursday Thursday | ||
TextFriday Friday | ||
TextSaturday Saturday | ||
TextSunday Sunday |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
MsgID=FIND35 Action=ShowShortMsg | ||
MsgID=FILE35 Action=ShowShortMsg | ||
MsgID=FIND70 Action=ShowShortMsg | ||
MsgID=FILE90 Action=ShowShortMsg | ||
MsgID=FILE110 Action=ShowShortMsg | ||
MsgID=FIND10 Action=ShowShortMsg | ||
MsgID=CHARSET22 Action=ShowShortMsg | ||
MsgID=MERGEMSG35 Action=ShowShortMsg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
BACKUP FILEPROF | ||
FONTDISPLAY Fixedsys,11,Normal,DEFAULT | ||
FONTPRINT Fixedsys,11,Normal,DEFAULT | ||
PRNSTYLE DEFAULT | ||
SIMPLESORTBYNAME FALSE | ||
FLISTVSCROLL PAGE | ||
ENTERKEYSTYLE Windows | ||
ENTERKEY3270 RightCtrl | ||
ENTERKEYCR Enter | ||
PFSHOWGLOBAL FALSE | ||
PFSHOWSTYLE Numbers | ||
PFSHOWBASE TRUE | ||
PFSHOWSHIFT FALSE | ||
PFSHOWCTRL FALSE | ||
PFSHOWALT FALSE | ||
PATHDIALOGS | ||
PATHMACROS | ||
PATHTEMPLATES |
Oops, something went wrong.