home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
editor
/
sedt
/
sedt.doc
< prev
next >
Wrap
Text File
|
1994-01-31
|
37KB
|
716 lines
Sedt Version 4.0
Author: Anker Berg-Sonne
Description
Sedt is a screen editor written with the goal of
providing a common editor across a wide range of operating
systems. For ease-of-use Sedt is programmed with a keyboard
layout similar to EDT.
For a complete description of Sedt's features read the
documentation in SEDTMAN.EDT.
Sedt version 4.0 (151) and higher edit numbers is a
shareware program and must be properly licensed by paying a
license fee.
Properly licensed users will receive support if they
submit a report in writing to the author, Anker Berg-Sonne, 8
Middlemost Way, Stow, MA 01775, U.S.A.
Distribution Policy
You may distribute Sedt freely by any means as long as
the License Agreement and all other files from the original
distribution are included.
Sedt may not be used beyond a one month trial period
without payment of a license fee.
The license fee includes ONE copy of Sedt for ONE
operating system. Additional copies and updates require payment
of a fee.
Sedt is currently available in the following versions:
MS-DOS for Rainbow 100
MS-DOS for VAXmate
MS-DOS for IBM PC/XT/AT and compatibles
MS-DOS for PS/2 and compatibles
MS-DOS Microsoft Windows for IBM PC/AT and compatibles
OS/2 protected mode
ATARI ST
VAX/VMS
VAX ULTRIX
SCO XENIX
Installation
Each installation kit contains a file named INSTALL.HOW.
This text file contains the installtion instructions for the kit.
Known Problems
Under MS/DOS you may run out of files when using 3 to 4
concurrent buffers. You should increase the number of concurrent
files in CONFIG.SYS to at least 12. The symptom is either a
fatal message "Error creating buffer file" or non-fatal "Could
not open journal file" or "Could not open input file".
When on the MS/DOS versions the column number exceeds 64K
the display will become corrupted and Sedt may not be able to
recover. There are no plans to correct this problem.
Edit History
Version 3.3
216: 29-Feb-1988
CONTEXT=SAVED option in SEDT.CNF to save editing context
(Cursor position, marks and ruler) and reload with file
:CS to save context of current buffer
Fix problems with using -s<Size> switch
Make Gold W work again on VMS and ULTRIX
COLUMN=DISPLAYED or COLUMN=OFF option to control banner line
display of column on the banner line (this allows this
display in the VMS version)
Clear select range when new region is selected
217: 16-Mar-1988
Prevent :WD from working on systems that don't support 132
columns
Write context file in ascii instead of binary
Ensure proper fill on block cut on ATARI
Implement mouse control in OS/2 version
Make sure select region gets cleared when new selection is
made
MOUSE=ENABLED and MOUSE=DISABLED option in SEDT.CNF
218: 20-Mar-1988
Make mouse routines under DOS interrupt driven
219: 23-Mar-1988
CONTEXT=CHECK does not save context automatically, but does
load automatically
Fix problem with error routine not printing arguments
MODE=<number> to set video modes. Support ATI EGA Wonder modes
23,27,33,37,51,52,53,54,58
Reset original screen width when exiting
Eliminate duplicate messages when trying to quit from
MS-Windows
-m<Number> to set video mode in DOS and OS2
Redefine F7 to save file and context
Cancel select region when clicking mouse under Windows
220: 30-Mar-1988
SYSTEM=VT100/VT200/VT52/VK100 in SEDT.CNF under VMS and
ULTRIX
Default to PRN when printing under DOS or OS/2
Allow #<Letter> to select counter variable after all
:CN commands
Have %# require a letter as in %#A to define counter variable
Correct -m behavior
Don't try to save context if no file
Make MODE=<Hexadecimal Number>
221: 17-Apr-1988
Make small change to mouse interrupt routine
Allow drag select with mouse
Build Windows version with MSC version 5
Enable toggle switching by clicking mouse on status display
Enable window switching in split screen mode by clicking mouse
on title bar or ruler line
Make Windows mouse routines work exactly the same as
DOS and OS/2 mouse routines
Change Windows version to move About to File menu
^S() conditional set if select region is active
Delete any existing context files when saving and no context
save is requested
Make Delete and Rubout key delete select region if active and
previous character if no select region
222: 22-Apr-1988
:EK<Key> command to execute the key given in <Key>
Do not delete context files, but save new context if
CONTEXT=CHECK and a context file exists
Ensure that \ isn't needed at end of SEDT environment variable
Allow line feeds to be inserted with :CH
Look for Sedt's files first in current directory, then where
the environment variable SEDTP points to and finally where
the environment variable SEDT points to
REMEMBER=ON option in SEDT.CNF or -o in command line makes
Sedt load input file from last command when called without
file argument
Make backslash work on UK keyboards
Enable compose key on LK250 keyboard
223: 4-May-1988
Convert to MSC V 5.1
Convert to OS/2 V 1.10
Make ATARI mouse handling consistent with DOS and OS/2
Fix a number of problems with ATARI version
Enable toggling of screen shift with mouse
Fix problem with SEDT.REM reading on VMS
Ensure that Sedt tried to write SEDT.REM and ruler files
in SEDTP, then SEDT and then working directory
Enable Num Lock in Windows version by default
Enable null characters in command arguments
Prvent selection with tiny mouse movements in Windows
Only use extended INT16 functions when FIRMWARE=NEWINT16
is set in SEDT.CNF. This allow Turbo Lightning and many
strange clones to work better
224: 16-May-1988
Stop using DECID to enquire for terminal type and inquire
for primary DA instead. VT52s will not be automatically
recognized any more
Identify VT300 terminals correctly
-wiXXYYHHWW to force Sedt to use a sub-window of the screen
XX and YY is the top left corner in 0 based coordinates and
HH and WW are the height and width in characters
:CNA command to add value of number at cursor to counter
Make OS/2 thread stacks 2048 bytes long
Set priority of keyboard monitor thread
SYSTEM=TANDY1400 for Tandy 1400 LT portables
225: 26-May-1988
Prevent mouse movement from crashing system after exiting Sedt
Remember escape character when requesting terminal ID
Make sure mouse thread doesn't hog CPU on OS/2
Work around VMS formatting problem in :SAVK
Try to fix wide screen problems on Rainbow
Make Num Lock work propoerly on LK250 Windows version
226: 3-Jun-1988
Make :CNA and :CNG skip leading spaces and tabs
Trap control Cs and terminate long operations when seen
227: 6-Jun-1988
Increase timeout loop counter for keyboard to avoind timeouts
on 20MHZ 386 systems
Make room in OS/2 data segment to spawn subprocesses
228: 8-Jun-1988
Make sure mouse clicks at the of a line leaves the cursor
there
Allow comments in SEDT.CNF with a ; at the beginning of the
line
Fix a bad bug that corrupted internal database on DOS and
OS/2 versions
229: 14-Jun-1988
Fix problem with leading spaces in :CNA and :CNG
Speed up DOS screen output
230: 25-Jun-1988
Automatic save of files enabled by AUTOSAVE option in SEDT.CNF
AUTOSAVE=ON
Automatic save of file on 200'th keystroke after buffer
is modified, with warning after 180 keystrokes. If
buffer is saved before the 200'th keystroke the buffer
isn't autosaved
AUTOSAVE=t,w
t and w are integers. t specifies the number of
keystrokes allowed after a modification before an
autosave is executed. w is the number of keystrokes
before the autosave that the warning is displayed
AUTOSAVE=OFF
Disables autosaves
Make AUTOSAVE=ON and JOURNALING=OFF the default for editing
231: 27-Jun-1988
Get :CNG and :CNA to work properly again
Ensure that a .BAK file is only created after the first
autosave in order to ensure that the original file can be
recovered
Several improvements to autosave
232: 1-Jul-1988
More improvements to autosave. Make quit revert properly
Finish support for TANDY 1400 LT
Make -j always turn journaling on
-a to turn autosaves off
Make max record size under VMS 32K
:CK to checkpoint buffer manually
233: 13-Jul-1988
Make default journaling and no autosaves
-j turns journaling off
-a turns autosaves on
Eliminate strange cursor movements on VMS when echoing
234: 19-Jul-1988
Eliminate more strange VMS cursor movements
Remove journal and autosaved files when editing new file in
buffer
Make sure -<line number> goes to right line number
On DOS display Caps Lock down state as a C at the right end of
the top line
Document :SI and :SO and make display work properly when
character set is shifted out
Update select region properly when switching between block
and line mode with mouse
Allow block selections that go to the end of the file
Fix bug with inserting and select point after the current
position
Fix contents of 2XXHELP.EDT
235: 4-Oct-1988
Remove all CPM conditionals
XENIX port work
Make sure SYSTEM=IBMXT-II and KEYBOARD=STANDARD doesn't cause
Sedt to abort
Fix definition of KP8 on VT100 to be @PAG
Make save ruler on ATARI save in Sedt's standard directory
Prevent saving the context of a buffer without a file name
from crashing Sedt
Make the caps lock indicator show the state immediatly the
key is pressed
236: 12-Oct-1988
Do not convert characters input from ! to upper case
237: 20-Oct-1988
Prevent UNIX version from using CR/LF as line terminator
LF is line terminator and CR is normal character
Make both PC and PC/XT default to PCXXX.YYY files
Search PATH in addition to SEDT and SEDTP on ATARI, DOS,
OS/2 and UNIX
Make F11 and K12 work on enhanhed keyboards with
FIRMWARE=NEWINT16
Make %E token point to Sedt$Library on VMS
New token, %P, is replaced by SEDP environment variable
on DOS, OS/2 and UNIX and by Sedt$Dir: on VMS
Make sure alternate VMS file spec works properly
Do not check for DEC extended character set on non-VMS
systems
First cut at case sensitive toggle for search and replace
:TU to toggle case sensitivity
:SETU to set case sensitivity
^TU to save and restore case sensitivity
238: 1-Nov-1988
Make case sensitive toggle work properly
Abbreviate all screen texts, making room for more
Update installation instructions
Change the "new" %P to %a (SEDTP environment variable)
^ID(), ^II(), ^IB(), ^IT() and ^IU() commands to execute
conditionally in the value of a toggle
Make UNIX version use termcap only if unknown terminal
type
239: 7-Nov-1988
Map Gold <lower case letter> to Gold <upper case letter>
Add terminal type ANSI to VMS and UNIX versions
Make ^U cancel Yes/No type prompts
Make mouse positioning with select region active work properly
On DOS and OS/2 make F_gets strip trailing ^Z characters,
this allows ^Z terminators in Sedt's configuration files
Numerous UNIX version changes
240: 19-Nov-1988
Numerous UNIX fixes and improvements
Support of EMS memory for buffering
New SEDT.CNF options
BUFFERING=FREE/NOFREE to use free memory in DOS for buffering
BUFFERING=EMS/NOEMS to use EMS memory in DOS for buffering
241: 22-Nov-1988
Update help files with commands not included from
previous updates
Fix bad header line in Windows version
Don't look too many times for key files
Clean up terminal attributes when aborting with fatal error
Fix ruler not found message
242: 30-Nov-1988
Add VT300 type terminals to UNIX versions
Eliminate problem deleting wrong file when running out of VMS
disk quota
Ensure that pasting in block mode doesn't indent to margins
Ensure that -I is recognized properly
Fix patch search problem on UNIX
Change UNIX key mapping to be vt2xxkeys.<ext>, vt1xxkeys.<ext>,
ansikeys.<ext> and vt52keys.<ext> where <ext> is edt, wps or
txt
Do not clear screen on fatal error exit
Ensure reversed character isn't seen when spawning
Prevent crashes when doing vertical moves after an autosave
Make -j work
Make autosave use .aus extentions for autosaved copies
Make ATARI ST version do EDT and WPS mapping
Expand max size of ULTRIX screen to 66 lines and 168 columns
243: 6-Dec-1988
Do not close journal files that couldn't be opened
Make backup files (.BAK) an option on VMS
Put FIRMWARE option back into SEDT.CNF, it seems to have
disappeared
244: 18-Dec-1988
Enable F11 and F12 even when not using new INT16 calls
Prevent VMS version from adding CR LF pairs to records that
already end with CR LF
Fix bug where VMS version called unlink
Do not display message box from GEM and Windows on
errors
Add Cancel option to Yes/No dialog boxes in GEM and Windows
Make XENIX version use assembler versions of C_Scan and
C_Bscan
Improve speed of XENIX version by distinguishing between
overlapping and non-overlapping block moves
Make -j flip from the dafault value of journaling
Make -a flip from the default value of autosave
Fix bug which caused crash when matching ) was missing from
^E(
Implement critical error handler on DOS that always returns
a fail code. Eliminates Abort, Retry, Fail messages from
DOS
Make OS/2 version set the screen size properly from the
current mode (E.g. mode co80,50 should make Sedt start up
with 50 rows)
New SEDT.CNF option DIALOG=ON to use dialog boxes for prompts
under Windows. DIALOG=OFF will revert to prompting on bottom
line of window
Fix problem with DOS and OS2 where backfiles weren't being
created if an old one existed
245: 31-Dec-1988
Return memory allocated from DOS
Fix bug in EMS return code
Allow programming of any key
Eliminate strange repainting on ATARI GEM version
246: 3-Jan-1989
KEYPROG=ON and OFF to control whether commands bound to
typewriter keys are executed when the key is pressed
:SETK, :TK, ^TK, and ^IK to complement this toggle
Internationalize single characters as the response in Yes_No
0:Z and 0:FE make buffer read only. No jounaling, autosaving,
or saving will be done. Indicators are # instead on * in the
status line and an R after the buffer number in the mode line
Do not look through path for SEDTCOM.TXT
247: 9-Jan-1989
Fix bug where quit wouldn't warn if the current buffer had
been modified
Prevent compilation warnings under VMS from COMA
PUSHCH to push and clear buffer change flag
POPCH to pop buffer change flag
Fix problem with files that end with a CR
-ro switch to edit file in read only mode
Don't immediatly overwrite messages with autosave warnings
Fix bug causing blank lines in SEDTCOM.TXT to cause crashes
248: 19-Jan-1989
Prevent output file name from being changed to autosave file
name on VMS
Only warn about potential recovery when journaling is in
effect
Add double left and right angle brackets (ASCII 174 and 175)
to @BM on DOS and OS2
Fix problem where command parsing after :EK got confused
Reset keystroke count after :CK
Recognize VT300 type terminals properly from VMS database
Make PF3 work properly on LK250 and OS/2
Capture broadcast messages on VMS, display an M in top right
corner of display ans display message on bottom of screen
:SB displays broadcast oldest message that hasn't been
displayed with :SB or used in %B
%B token is replaced with oldest broadcast message
Version 4.0
249: 13-Feb-1989
Remove all journaling
CAPSLOCK=DISPLAYED to display caps lock state on DOS
or CAPSLOCK=NORMAL to treat caps lock normally
Fix bug in block remove to end of buffer
Fix bug in removing characters>127 on VMS in block and
replace mode
Fix bug with % signs in :OM and :OE
Make VIDEO= work on Rainbows. VIDEO=DIRECT uses high
speed output, VIDEO=BIOS uses normal character output
Make :SI and :SO work on Rainbows
%R tokes ins replaced with line feed under UNIX and
carriage return/line feed on other systems
Make NUMLOCK=ENABLE stay completely clear of Num Lock
Have :SB return an error when broadcast buffer is empty
Allow up to 99 saved broadcasts on VMS
Only ring bell if broadcast message contains one
Fix minor bug in displaying # displaying multiple buffers
Allow up to 512 columns on VMS systems
Make maximum ruler 512 characters wide
250: 20-Mar-1989
Ensure that a typed count of 1 is inserted before $
Make context save work on UNIX
Make :PR with no argument default to printer 0 on UNIX
Prevent :PR from aborting on UNIX, GEM and Windows
Allow integer argument to SCREENSHIFT
251: 1-Apr-1989
Rewrite keyboard driver:
Scancode to function key translation done by
map files XXYYYM.ZZZ where XX is a two character
code for a keyboard type, YYY is DOS, WIN, or
OS2, ZZZ is EDT or WPS. XXYYYH.ZZZ is the
corresponding help file. FUNDEF.ZZZ defines
function keys.
Eliminate scancode and old mapping
Make Autosave default to 200 key strokes
Add KEYBOARD=<type> where type is the prefix of map and
help files
Allow argument to -k<type> where type is the prefix of
map and help files
Remove GOLD= option from SEDT.CNF
Fix bug where autosaved file was not removed when changing
output file
Preserve original file protection when saving file under UNIX
252: 17-Jun-1989
Change :K command to :KF
Add :FN command to assign keys to function numbers
Make Num_Lock state default to off for SLT, on for other
PC compatible keyboards and leave alone for others
:H format change to :H<Delimiter><Help file><Delimiter>
If <Help file> is empty it defaults to HELP.XXX where
XXX is EDT or WPS
Prevent unnecessary autosaves between changes
Expand maximum number of function definitions to 512
Expand maximum string space in MAPKEY to 10K
Allow / in DOS and OS/2 directory specs
Fix problem parsing :SUB commands in skip mode
Make backupfile for .profile .profile.bak on UNIX
Fix problem with crash searching backwards in edit region
Try to fix disappearing mouse problem on DEC mouse driver
253: 1-Jul-1989
Make learned keys repeat
Save and restore current directory on DOS and OS2
:CW to switch to other window on screen
Fix problem reading context files
Fix problem with VAXmates including an A when started
Remove FIRMWARE= option, causes multiple problems
254: 26-Jul-1989
Make Sedt DesqView aware
Do not open the mouse under Desqview
Make VIDEO=DIRECT under DESQview use shadow video ram
Set default num lock states depending on keyboard types
on for all known except SLT (OFF) and unchanged
for others
Make VIDEO=DIRECT work under DESQview 386
Fix problem with :SK not working (! problem with any already
mapped key)
255: 23-Aug-1989
UNIX version work
Make Gold sequence work properly
Make ULTRIX version use TERM environment variable and
termcap when either SYSTEM=TERMCAP or terminal type is
unknown
-m<Hex number> to force Sedt into a specific video mode
Fix several bugs in video initialization
Fix OS/2 LK250 map files
256: 31-Aug-1989
Fix %T token, was inserting garbage
Rainbow 100 should work now, needs testing
257: 5-Sep-1989
Make UNIX version look for lowercase help file name
258: 12-Sep-1989
Make file names in VMS consistent with other operating systems
Make :RK work properly
Make :EK work properly
<Count>:EF to execute function definition number given in
<Count>
Fix bug with :SK picking up wrong function table entry
Make ATARI GEM version use command arguments
Fix problem with GEM version opening buffers in read only
mode from menu
Make help routines search combination table for key texts
Make :KN work properly
<Function>:FD<Delimiter><Text><Delimiter> defines function
table entry <Function> as <Text>
259: 3-Oct-1989
Fix mapkey problems on VMS and ULTIX
Add %a in help files to give expansion of all keys mapping to
function
260: 19-Oct-1989
Make Tandy 1400 behave the same as other pcs as far as
color/mono
Make Yes-No use international routines properly
Read key files before reading input file
Make no mappings work properly
:TX to toggle expansion of function definitions on prompts
:SETX to set expansion of function definitions on prompts
^TX to save and restore state of inserting function
definitions
^IX to make execution consitional on state of function
definition expansion state
DEFINITION=ON or OFF in SEDT.CNF to determine whether
function definitions are inserted in response to prompts
More work on mouse interface
Make Sedt know when an autosaved file has been loaded
261: 28-Oct-1989
<Count>:EF to execute a function definition directly
Do not assign negative character values
%W token for the current cursor column
Fix termcap for UNIX systems
New function :SAVF to save function definitions
Change :SAVK to save key definitions and mappings
Enable mouse cursor twice to work around bug in DECPCA mouse
driver
262: 4-Nov-1989
Make ^Z signal on UNIX work correctly
Make the default key for learned keystrokes ^B
Add functions :KA :KGA :KK :KGK
Fix problem with gold del word not working on EDT keypad
263: 11-Nov-1989
Fix gold problem with :KGA, :KA, :KK and :KGK
Sort MAPS sections of key definition files
Fix SLT key definition file so Escape works as Gold
Fix printout of keyboard type
264: 14-Nov-1989
Use current video state to set screen size using int 10
function 1bh
Fix problem writing ruler files under UNIX
Fix spelling error in VMS broadcast message
Get Windows version running on enhanced keyboard
Toggle to allow free or restricted cursor movement
:TF renamed to FT to allow symmetry in toggle function names
:TF toggle free cursor movement, :SETF to set it
^TF to save and restore it, ^IF for conditional execution
Make a return in replace mode go to the next file
Fix bug with more than 43 lines on DOS
265: 22-Nov-1989
Fix side effects of free cursor movement
Change learned keystroke indicator from NUL to SI
Make learned strings all readable
Highlight entire block when selecting in block mode
266: 27-Nov-1989
Fix problem with free cursor move mode
267: Make critical error handler under DOS more sophisticated
Make OS2 version trap control C and set error condition
Improve some video performance on DOS and OS/2
Make DOS version default to VIDEO=DIRECT
Fix line wrap problem under XENIX
268: 11-Dec-1989
Optimize character output routine
269: 17-Dec-1989
Fix several minor bugs reading help files
270: 21-Dec-1989
Fix minor screen update problem in DOS
271: 29-Dec-1989
Make DESQview mouse work properly
Make UNIX versions use ioctl to get window size information
Change argument syntax:
Files for multiple buffers are separated by spaces
Output file for a given input file is specified with
-o<file name>
sedt one.ext two.ext -othree.ext four.ext
will place one.ext in buffer 0 two.ext in buffer 1
and will save buffer 1 in three.ext and place four.ext
in buffer 2
Turn updates off from initial greeting screen is displayed
until ready for input
Don't destroy links on UNIX
Read all files in during initialization
MAPPING=<extention> allows mapping of other than EDT and WPS
272: 4-Jan-1990
:NWC switches to next buffer with unsaved changes
:NWU switches to next buffer with content
:NWN switches to next unused buffer
Error returned if no buffer satisfies the criteria
Abort command competely if response to :YN is ^U
Create AT mapping file for Windows
Make menu help work in Windows
%HNNN inserts help text for map entry NNN
Make MAPKEY strip trailing spaces from function definitions
Fix compose character bug in OS/2 version
273: 10-Jan-1990
:NWG simply cycles through buffers
Make {Direction} determine direction that :NW* cycle through
buffers
Use BIOS flag to determine whether enhanced keyboard is
installed
Make repeats on Microsoft Windows work properly
274: 5-Feb-1990
Make sure linked files remain linked under UNIX
Don't expand tabs when processing prompts
Document incompatibility of BACUPFILE=ON and UNIX linked files
Make :EAP and :GAP use same code as :D and :GE
Make UNIX Sedt recognize ~ in file specification
275: 3-Apr-1990
Fix problem with mouse clicks hanging Sedt under OS/2
Version 4.1
Key map files compiled under version 4.1 cannot be loaded
under version 4.0!
276: 7-May-1990
Make SUN port permanent
Allow Gold Number before Gold F and Gold Q to set exit code
Make :NL insert carriage returns at the end of the buffer
in overstrike mode
:SASC prints decimal value of ASCII character under cursor
Prevent I's from appearing at cursor position when prompting
Fix problem with spawning with no arguments under DOS
Include tests for editing directories in OS2 and UNIX versions
Test for special files and refuse to load on UNIX version
Document MAPPING=<string> for other than EDT and WPS mapping
Flag is a MAPS index is used twice in MAPKEY
Add new features to MAPKEY
INITIALIZE
<string>
initializes the terminal by transmitting
<string>
RESET
<string>
resets the terminal by transmitting <string>
SPECIAL
is the header for the previous first section
containing scancodes for which the
firmware must be bypassed.
Make :OW switch to other window when in split screen mode
Add VT400
Do some loop optimizations
277: 14-Jul-1990
Vitualize buffers and set maximum number to 100
Improve fatal error message handling
Increase max buffer size to 10MB on all systems
Make significant changes to program logic