home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.update.uu.se
/
ftp.update.uu.se.2014.03.zip
/
ftp.update.uu.se
/
pub
/
rainbow
/
msdos
/
misc
/
sedtfile.lzh
/
SEDT.DOC
< prev
next >
Wrap
Text File
|
1986-01-04
|
15KB
|
459 lines
Sedt Version 2.1
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
file Sedtman.Edt.
Sedt requires at least 128K bytes over the operating
system under CP/M and MS/DOS. A special version, Sedtsml, can be
used on 128 K systems. This version has full functionality but
reduced performance.
Distribution Policy
Sedt binaries are being made available for customers and
Digital internal use on the condition that the original copyright
is not violated or removed, that no modifications are made to the
program.
Sedt sources are only made available to Digital
employees, and on the condition that the original copyright is
not violated or removed and that extentions or modifications are
returned to the author. An exception is the module TERM.C and
the .H files necessary to compile TERM.C. These and all object
files may be distributed freely to facilitate adapting Sedt to
other terminals.
Modified versions of Sedt must be clearly labeled as
such, and must identify themselves in the copyright display as
such when run. The sources must clearly identify the origin and
areas of modification.
Modifications must be made in the spirit of the original
version, preserving the performance goals and coding standards of
the original.
Across all operating systems Sedt is designed to produce
identical output the screen after completing identical commands
on identical source files, thus being functionally identical
across all operating systems. To the extent that the operating
systems make this possible, this design goal must be implemented
in all modified versions.
Installation Instructions
CP/M
Copy Sedt.Cmd from the Sedt disk.
If you use the EDT keypad copy Sedtkeys.Edt, Sedthelp.Edt
and Sedtman.Edt from the Sedt disk and rename them as
Sedtkeys.Txt, Sedthelp.Txt and Sedtman.Txt.
If you use the WPS keypad copy Sedtkeys.Gld and
Sedthelp.Gld from the Sedt disk and rename them to be
Sedtkeys.Txt and Sedthelp.Txt.
Sedtsml.Cmd is a special version that will run on 128 K
systems. Even on larger systems this version will perform less
well than Sedt.Cmd.
Example:
PIP B:=A:SEDT.CMD
PIP B:SEDTKEYS.TXT=A:SEDTKEYS.EDT
PIP B:SEDTHELP.TXT=A:SEDTHELP.EDT
Installation Instructions
MS/DOS
Copy Sedt.Exe from the Sedt disk to your system disk.
Change the path definition in Autoexec.Bat to include the device
and directory containing the file.
If you use the EDT keypad layout copy the files with type
EDT from the Sedt disk to the system disk and rename them to have
the type TXT.
If you use the WPS keypad layout copy the files with type
GLD from the Sedt disk to the system disk and rename them to have
the type TXT.
Define the environment variable Sedt to be the directory
containing the keyboard layout and help files.
Modify the file AUTOEXEC.BAT on your boot drive to
include the SET command and have the Sedt directory included in
the PATH command.
Sedtsml.Exe is a special version that will run on 128 K
systems. Even on larger systems this version will perform less
well than Sedt.Exe which uses available memory for buffering of
files.
Example:
COPY A:SEDT.EXE B:\SEDT\
PATH B:\SEDT
COPY A:SEDTKEYS.EDT B:\SEDT\SEDTKEYS.TXT
COPY A:SEDTHELP.EDT B:\SEDT\SEDTHELP.TXT
SET SEDT=B:\SEDT\
Installation Instructions
VMS
Copy Sedt.Exe, Sedt.Com, Sedtkeys.Edt, Sedtkeys.Wps,
Sedthelp.Edt, Sedthelp.Wps, Sedtman.Edt to a directory. Define
the logical name Sedt$Library to point to the directory, the
symbol Se*dt:==$Sedt$Library:Sedt and
KSe*dt:==@Sedt$Library:Sedt. You do not need write access to
Sedt$Library.
If you use the EDT keypad define the logical names
Sedt$Keys to be Sedt$Library:Sedtkeys.Edt and Sedt$Help to be
Sedt$Library:Sedthelp.Edt.
If you use the WPS keypad define the logical names
Sedt$Keys to be Sedt$Library:Sedtkeys.Gld and Sedt$Help to be
Sedt$Library:Sedthelp.Gld.
Define the logical name Sedt$Dir to point to a directory
which you have write access to. Saved rulers will be stored in
this directory. Until you have saved ruler 0 in this directory
you will get the message "Could not find ruler file" every time
you enter Sedt. Enter ruler mode, define your default ruler
settings and save them by typing Gold 0.
Example:
Assign Sys$Disk:[Mydir] Sedt$Library
Assign Sys$Disk:[Mydir] Sedt$Dir
Se*dt:==$Sedt$Library:Sedt
Assign Sedt$Library:Sedtkeys.Edt Sedt$Keys
Assign Sedt$Library:Sedthelp.Edt Sedt$Help
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".
Changes from V1.2 to V1.3
Menu mode, which was not documented in V1.2, has been
removed in oder to keep the code size of the CP/M and MS/DOS
versions under 64K.
When displaying the help screens you can move in either
direction by using Prev Screen, Next Screen or Return, Backspace.
The :U (undo) command, Gold U under the EDT keypad, will
undelete the last deleted string if entered as the next command.
The :SYS command, which spawns a subprocess, Do on the
EDT keypad, is implemented on the VMS version.
The :TI command, which is used by Gold Left Arrow and
Gold Right Arrow on the EDT keypad (scroll backward or forward
until any input is typed), is implemented on the VMS version.
New command, :GAP, which appends an entity to it's delete
buffer without deleting it from the text. This command is not
currently programmed to any key.
Bug fix in all undelete commands, to mark the buffer as
being modified.
Bug fix in code to remove an entity. Ensures that screen
is not corrupted.
Rulers are loaded and saved under VMS in the directory
defined by the logical name Sedt$Dir.
Right justification. If the right margin is set with J
in the current ruler it will be right justified. If it is set
with R it will remain ragged. The fill command, :TF, Gold Keypad
8 will either justify or fill depending on the right margin
setting.
Bug fix in the :TF, text fill, which corrupted the screen
if working on an entity above the cursor.
The :TF command, text fill or justify, programmed as Gold
Leypad 8 on the EDT keypad, does not update the display till the
command is completed.
Any justification character in the ruler can be reset by
positioning the cursor at the position and typing Space.
Resetting the right margin eliminates right margin control.
New command, :TAD, Control T on the EDT keypad, for
adjusting text left or right by a tab stop. Control T works as
under EDT.
Center line, :CL, command rewritten to fix several bugs.
Spawn command, :SYS, default to the command language
interpreter if the command argument string is empty.
Make all change case commands set the buffer modify flag.
Under V1.2 the change might have become lost under some
circumstances.
Made the print command, :PR, accept a file name as an
argument. Control P on the EDT keypad will now prompt for a file
name.
Reset all terminal parameters when spawning a subprocess
and set them all upon return.
When opening a file and creating a journal file test
whether the same journal file is already opened from another
buffer. If this is the case diaplay a message and do not journal
this buffer.
Flush the journal file to disk every 128 characters.
Gold + and Gold - will insert these characters in the
buffer and set the direction for the next command. The sign will
echo at the bottom of the screen and can be followed by a count.
This is necessary for the Tab Adjust command.
%F in a basic Sedt command will on execution be replaced
by the output file name for the current buffer. %% will be
replaced by %.
A line starting with ; in the key definition file will
be treated as a comment. Empty lines are skipped.
On VMS get the terminal type from the environment vector.
If the terminal is not recognized do a terminal type inquire to
the terminal.
On VMS fix a bug which prevented buffers with the first
line empty from being writen. This is really caused by a bug in
the C runtime library.
New basic command, :UPD, updates the screen including the
header line.
A + in reverse video will be displayed in the rightmost
column of every line which is longer than the width of the
screen.
Changes from Version 1.3 to 1.4
28: Learn mode. Implemented with the :LNL and :LNE
commands. Allow a sequence of keystrokes to be saved for later
execution.
29: Direct return to Sedt without waiting for a
keystroke when returning from the operating system command
interpreter.
30: Ability to edit input on the prompt line on the
bottom of the screen by moving the cursor with the left and right
arrow keys.
31: Under CP/M make Sedt look for the .TXT files first
in the current area, then in area 0 in the current disk, then in
area 0 on the boot drive.
32: New qualifiers
-j will disable journaling.
-e will enable placing a ^Z (SUB) at the end of
files.
33: Do not place the terminal in jump scroll mode.
34: Make justify and fill insert at least two spaces
after . ? ; : !.
35: Remove code that treated Gold + or Gold - as Gold
<Digit>. Instead define Gold +, Gold -, Gold < and Gold > as +
and -. The effect remains the same as before but keeps temporary
direction as a soft key definition.
36: Change :TAD to only work on lines fully contained in
the entity.
37: Make all digits echoed on bottom line appear bold.
38: New qualifyer, -b, which disables generation of
backup versions when writing files.
39: Auto indent mode. Set with an A in the ruler line.
Returns will cause Sedt to indent to the same level as the line
terminated. Fill and justification will be to the level of the
first line in the fill region. Several bugs fixed in fill and
justify.
40: Removed all screen optimization code for CP/M and
MS/DOS, which use high speed video.
41: Ensure that change flag is set for substitute; Make
Gold B work with direction reverse.
42: Make substitute work is placed right on search
string.
43: Highlight entire select region.
44: Fix multiple problems with change case edt style.
45: Fix bug where wide screen clobbered a location
causing all kinds of horrible crashes.
46: Fix bug where upon return from a spawn wide screen
was not reset, causing fast video to clobber the screen.
47: Change the character displayed with too wide lines a
>.
48: Reset points when resetting the buffer.
49: Make small version that will run on 128 K systems.
50: Make help text appear in normal video.
51: Fix bug with cursor in wrong position when moving
left from text off the screen.
52: Learning no good when keystrokes reversed. Fixed.
53: Fix several bugs in learn mode.
54: Limit output when lines exceed screen width.
55: Eliminate scrolling when changing window. Fix bug
in spawn with argument on VMS.
Changes from Version 1.4 to 1.5
56: Fix bug inserting characters to right of screen.
57: Allow insertion of count between keystrokes.
58: Fix several bugs in learn mode.
59: Fix several bugs in fill and justify.
60: Do ?, ! and % processing when executing command
files.
61: Set terminal parameters when doing a refresh.
62: Work around several MWC bugs affecting learn mode.
Changes from version 1.5 to 2.0
63: Conditional execution of commands.
64: :SL to load an entity into the search string.
65: Save and load justify flag when changing buffers.
66: Fix several bugs in text fill and justify.
67: More bug fixes in fill and justify.
68: Fix crash when execute string empty.
69: Fix problem with cursor position on VMS.
70: Make terminal input use DOS under MS/DOS.
71: Undo edit 60.
72: Skip lines starting with ; in command files.
73: Overstrike mode.
74: Status line on bottom.
75: Minimize screen updates with substitute.
76: Fix access vialoation bug under VMS.
77: Several changes to cursor control code unde VMS.
78: Remove fancy update code under VMS.
79: Fix scroll problem under VMS when changing from 2 to
1 window.
80: Make execution of learned keys repeatable. New
commands, :OE and :OM to output error message ot
status message on the message line.
Changes from 2.0 to 2.1
81: Make top line bold.
82: Fix multinational character set bugs.
83: More multinational bug fixes
84: Even more multinational fixes
85: Don't set screen width twice
86: More multinational stuff
87: Always expand tabs when input
88: Reset width and keypad to original mode upon exit under
VMS
90: Bug in center line in replace mode
91: Don't let information overwrite error messages
92: Change default output when saving to named file
93: Implement absolute line and char entities (@AL, @AC)
94: Command to show column (:SC) and display column when changing
rulers under VMS
95: New command :GR to read ruler file given in count. Also
a fix to reading a count where a count of 0 was not passed
96: Acknowledge input to prompt by moving cursor.
97: Make command execution and init file execution equivalent
ALSO ? AND ! PROCESSING IS NOW DONE ON COMMAND FILES
98: IBM PC conversion
99: New command :PD inserts today's date. $<Count>
defines a default count.
100: Fixes to the IBM AT version.
101: Implemented the -R switch that forces a CR to be
the last character.
102: Allow multinational characters to be Gold'ed
103: LK250 support with manual switch to DEC mode
Cursor position after undeleted text