Jump to content

SPF/PC

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by TimTetiva (talk | contribs) at 17:54, 25 April 2018 (Deleted obsolete information. Corrected erroneous information.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

SPFPC v1.0 was released in June 1984. The current product is rebranded as SPF/SE 365. It has been continuously enhanced and refined through many releases.

SPF/SE 365 is a text editor and file manager sold by Command Technology Corporation. Similar to IBM's mainframe based ISPF and is able to edit ASCII and EBCDIC text files.

It is one of several PC versions of the mainframe ISPF system, some commercial and some freeware versions.

SPF/SE 365 is a complete integrated applications development environment (IDE) typically used for editing source code, invoking compilers, linkers, and debuggers, in a variety of programming languages, such as COBOL, FORTRAN, and C++. It can be used with virtually any programming languages and source files.

Operating Systems

Version SPF/SE 365

   Windows 7/8/10, Unix/Linux using Parallels/Wine (emulator software)

Features

  • Auto source code backup
  • Auto save during edit
  • Background/Foreground compiler and utility support
  • Edit small or large files (up to 1Gig)
  • Edit ASCII and EBCDIC text files
  • Command Line Interface (CLI)
  • File browser with keyword colorization
  • File manager
  • File conversion utilities
  • COBOL source code support
  • Hex editor
  • IBM (3270) and PC command keys
  • IBM ISPF Style Panels
  • Keyboard equivalents provided for all mouse operations
  • Language line numbering support
  • Language profile support
  • Line, column and bounds oriented copy, cut, data shift, find, paste, sort with picture strings
  • Line lengths (records) up to 64,000 characters in fixed or variable formats
  • Line exclude, change, find, flip, locate, not-exclude
  • Merge error files created by compilers into source code as notes (type of comment)
  • Multilevel Undo and Redo
  • Multiple sequential complex command execution - repeatable with exclude and not-exclude abilities
  • Print file, screen or highlited text
  • Simple and advanced text/file find/replace (search through thousands of files for text)
  • Sort file lists and text/data
  • Sort A-Z, Z-A, bounding by columns, line labels etc.
  • Split screen (horizontal and vertical)
  • File and Directory comparison
  • Support for DOS/Windows/Linux/Unix EOL and EOF markers
  • User enhancements - add, create, modify dialogs, functions, menus and screens
  • User definable fonts
  • User definable editor color schemes including several 3270 schemes
  • User definable file profiles including EOL, EOF, Line Length etc.
  • User definable cursor, half page and page scrolling
  • User switchable editor line numbers or not
  • User definable keyboard and keyboard macros
  • User modifiable help system

SPF Start-up Parameters (CLI)

  Invoke SPFPC with parameters to bypass the Primary Option Panel and go
  directly to a specific option:
      ...filename... [...filename...]     EDIT
      /B...filename... [...filename...]   BROWSE
      /V...filename... [...filename...]   VIEW
      /H...filename...                    EDIT then hold SPF open
      /I...imacro-name...
      /L(...line-number...,...col-number...)
      /P...file-profile-name...
      /R...error-msg-file-name...
      /S...primary-command...
      /X...xmacro-name...

SPF File List Primary Commands

  ALLLOWER
  ALLUPPER
  ANYWHERE
  ATTRIBUTES
  BOTTOM
  BOUNDS
  CONFIRM
  DOWN
  EXCLUDE
  EXTYPE
  FIND
  FOREACH
  IMACRO
  LEFT
  LISTTOFILE
  LOCATE
  MAKEDIR
  MAXRECLEN
  PARENT
  PRINT
  PROFILE
  REFRESH
  RENANYWHERE
  RENEXT
  RENINFIX
  RENPREFIX
  RENSUFFIX
  RESET
  RIGHT
  SELECT
  SETEOR
  SORT
  TOP
  UP
  XMACRO

SPF File List Line Commands

  E - Edit
  B - Browse
  V - View
  C - copy
  M - move
  D - delete
  S - shred
  R - rename
  P - print
  I - info (properties)
  X - exclude
  O - open
  T - touch
  U - UserCmd

SPF Editor Primary Commands

  BOTTOM
  BOUNDS
  CAPS
  CHANGE
  CHANGEFP
  CHARSET
  COLORMAP
  COLSCOPY
  COLSCUT
  COLSDELETE
  COLSINSERT
  COLSMOVE
  COLSPASTE
  COPY
  COPYL
  CREATE
  CURSORMOVE
  CUT
  DATA
  DATALINE
  DELETE
  DELWORD
  DOWN
  EXCLUDE
  EXPORT
  FIND
  FINDHK
  FLIP
  FUZZYDATE
  HEX
  HEXIN
  HIDE
  INSERTLINE
  LABELS
  LEFT
  LOCATE
  MATCH
  MAXRECLEN
  MERGEMSG
  NOTELINE
  NUMBER
  PASTE
  PRINT
  PROFILE
  RCHANGE
  RECOLOR
  RENUMBER
  REPLACE
  RESET
  RFIND
  RIGHT
  RULER
  SAVE
  SAVEAS
  SELECT
  SETEOR
  SHOWEOL
  SORT
  STOLOWER
  STOUPPER
  SXCLUDE
  TAGFIND
  TEMPLATE
  TOP
  UNDO
  UNNUMBER
  UP

SPF Editor Line Commands

  .     (dot) line label
  (     shift left columns (line)
  ((    shift left columns (block)
  )     shift right columns (line)
  ))    shift right columns (block)
  <     data left columns (line)
  <<    data left columns (block)
  >     data right columns (line)
  >>    data right columns (block)
  A     after (target for CC, MM)
  AK    after (keep CC, MM "as is")
  B     before (target for CC, MM)
  BK    before (keep CC, MM "as is")
  BNDS  display BOUNDS line
  C     copy line
  CC    copy block
  COLS  display COLS line
  D     delete line
  DD    delete block
  F     show first excluded line
  HX    display line data in HEX
  HXX   display block data in HEX
  I     insert
  IN    insert NOTE line
  L     show last excluded line
  LC    make line lowercase
  LCC   make block lowercase
  M     move line
  MM    move block
  MASK  mask line
  MD    make data line (NOTE or COLS line to data)
  MDD   make data block (NOTE or COLS lines to data)
  MU    move line data within BOUNDS up by one or more lines
  MUU   move block data within BOUNDS up by one or more lines
  O     overlay line
  OK    overlay line (keep CC, MM "as is")
  OO    overlay block
  OOK   overlay block (keep CC, MM "as is")
  R     replicate line in place
  RR    replicate block in place
  S     show excluded lines based on indent level
  TABS  display TABS line
  TE    text enter
  TF    text flow
  TJ    text join
  TS    text split
  UC    make line uppercase
  UCC   make block uppercase
  X     exclude line
  XX    exclude block
  Z     select line
  ZZ    select block

Typical PF Key Settings

  3270   PC         Command      Does
  -----  ---------  -----------  ---------------------------------------------------------
  PF01   F1         HELP         Call SPFPC Built-In Help Library
  PF02   F2         SPLIT        Split Screen at current line into 2 browse/edit sessions
  PF03   F3         END          End browse/edit session (does not save)
  PF04   F4         SWAP         Swap to other screen
  PF05   F5         RFIND        Repeat Find
  PF06   F6         RCHANGE      Repeat Change
  PF07   F7         UP           Scroll by page setting towards beginning of text
  PF08   F8         DOWN         Scroll by page setting towards end of text
  PF09   F9         LEFT         Scroll screen towards beginning of line (column 1)
  PF10   F10        RIGHT        Scroll screen towards end of line
  PF11   F11        SAVE         Save text
  PF12   F12        RETRIEVE     Retrieve previous commands

  PF13 = <Shift>F1  SCUT         Cut highlited text to clipboard
  PF14 = <Shift>F2  SCOPY        Copy highlited text to clipboard
  PF15 = <Shift>F3  SPASTE       Paste clipboard starting at current cusor position
  PF16 = <Shift>F4  SCREATE      Create new file with highlited text
  PF17 = <Shift>F5  SREPLACE     Replace/create file with hightlted text
  PF18 = <Shift>F6  STOUPPER     Convert highlited text to upper case
  PF19 = <Shift>F7  STOLOWER     Convert highlited text to upper case
  PF20 = <Shift>F8  SXCLUDE      Exclude (hide) highlited text
  PF21 = <Shift>F9  SDELETE      Delete highlited text
  PF22 = <Shift>F10 BACKBOX.SPF  Calls REXX macro to create line box
  PF23 = <Shift>F11 Right        Scroll screen right
  PF24 = <Shift>F12 RETRIEVE     Redisplay previous primary commands

Version History

  • SPF/SE 365 (5/13) (Vista/7/8/10)
  • SPF/SE 8.0 (9/12) Last version compatible with XP - Works well in Linux(Wine)
  • SPF/SE 7.0 (9/10)
  • SPF/SE 6.0 (9/06)
  • SPF/SE 5.0 (6/05)
  • SPF/SE 4.5 (10/02)
  • SPF/SE 4.0 (10/01)
  • SPF/SE 3.5 (11/00)
  • SPF/SE 3.0 (4/00)
  • SPF/SE 2.5 (3/99)
  • SPF/SE 2.0 (3/98)
  • SPF/SE 1.0 (3/97) - C interpreter Macro language (98/ME/NT/W2K/XP/VISTA,7,8,10) Linux-Wine
  • SPF/PRO 5.03 (4/96)- Last using REXX (95/98/ME/NT/W2K/XP/Vist/Win7-10-32Bit) Linux-Wine
  • SPF/Win 1.0 (5/95)
  • SPF/Shell for XDB (3/95)
  • SPF/Shell for DB2 (3/95)
  • SPF/Shell for MicroFocus (1/95)
  • SPF/PC 4.0.A (12/96) - Last DOS/OS2 version (DOS/95/98/ME/NT/W2K/XP/Vista/7/10/Linux-DosBox)
  • SPF/PC 3.0 (3/93) - First version to include REXX and ISPF panels
  • SPF/2 2.0 (5/92)
  • SPF/2 1.0 (10/90)
  • SPF/PC 2.1 Image 1 2 (1/90 - Last Small DOS version - DOS/95/98/ME/NT/W2K/XP/Vista/7, Linux)
  • SPF/PC 2.0 (3/88)
  • SPF/PC 1.82 Image (12/87)
  • GML/PC 1.0 (9/86)
  • SPF/PC 1.0 (6/84)

Macro/Scripting Language

SPF/SE 365 uses a "C" like macro/scripting language that is very easy to use.

All versions of SPF have the ability to call any interpreter (PHP, BASIC, Powershell, etc.) from within the editor allowing text processing and OS command calls.

References