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 >
Text File  |  1986-01-04  |  15KB  |  459 lines

  1.             Sedt Version 2.1
  2.  
  3.             Author: Anker Berg-Sonne
  4.  
  5.             Description
  6.  
  7.     Sedt  is  a  screen  editor  written  with  the  goal  of 
  8. providing  a  common  editor  across  a wide range  of  operating 
  9. systems.    For  ease-of-use  Sedt is programmed with a  keyboard 
  10. layout similar to EDT.
  11.  
  12.     For a  complete  description  of Sedt's features read the 
  13. file Sedtman.Edt.
  14.  
  15.     Sedt requires at  least  128K  bytes  over  the operating 
  16. system under CP/M and MS/DOS.  A special version, Sedtsml, can be 
  17. used on 128 K  systems.   This version has full functionality but 
  18. reduced performance.
  19.  
  20.  
  21.               Distribution Policy
  22.  
  23.     Sedt binaries are being  made available for customers and 
  24. Digital internal use on the condition that the original copyright 
  25. is not violated or removed, that no modifications are made to the 
  26. program.
  27.  
  28.     Sedt   sources   are  only  made  available  to   Digital 
  29. employees,  and on the condition that the original  copyright  is 
  30. not violated or removed and that extentions or modifications  are 
  31. returned  to the author.  An exception is the module  TERM.C  and 
  32. the  .H files necessary to compile TERM.C.  These and all  object 
  33. files  may  be  distributed freely to facilitate adapting Sedt to 
  34. other terminals.
  35.  
  36.     Modified versions  of  Sedt  must  be  clearly labeled as 
  37. such, and must  identify  themselves  in the copyright display as 
  38. such when run.   The sources must clearly identify the origin and 
  39. areas of modification.
  40.  
  41.     Modifications must be made in  the spirit of the original 
  42. version, preserving the performance goals and coding standards of 
  43. the original.
  44.  
  45.     Across all operating systems Sedt is designed  to produce 
  46. identical  output  the screen after completing identical commands 
  47. on identical  source  files,  thus  being  functionally identical 
  48. across  all operating systems.  To the extent that the  operating 
  49. systems make  this possible, this design goal must be implemented 
  50. in all modified versions.
  51.  
  52.  
  53.            Installation Instructions
  54.  
  55.                   CP/M
  56.  
  57.     Copy Sedt.Cmd from the Sedt disk.
  58.  
  59.     If you use the EDT keypad copy Sedtkeys.Edt, Sedthelp.Edt 
  60. and  Sedtman.Edt  from  the   Sedt   disk   and  rename  them  as 
  61. Sedtkeys.Txt, Sedthelp.Txt and Sedtman.Txt.
  62.  
  63.     If  you  use  the  WPS   keypad   copy  Sedtkeys.Gld  and 
  64. Sedthelp.Gld  from  the  Sedt  disk  and   rename   them   to  be 
  65. Sedtkeys.Txt and Sedthelp.Txt.
  66.  
  67.     Sedtsml.Cmd is a special version that will  run  on 128 K 
  68. systems.  Even on larger systems this version  will  perform less 
  69. well than Sedt.Cmd.
  70.  
  71. Example:
  72.     PIP B:=A:SEDT.CMD
  73.     PIP B:SEDTKEYS.TXT=A:SEDTKEYS.EDT
  74.     PIP B:SEDTHELP.TXT=A:SEDTHELP.EDT
  75.  
  76.  
  77.            Installation Instructions
  78.  
  79.                  MS/DOS
  80.  
  81.     Copy  Sedt.Exe  from  the Sedt disk to your system  disk.  
  82. Change  the path definition in Autoexec.Bat to include the device 
  83. and directory containing the file.
  84.  
  85.     If you use the EDT keypad layout copy the files with type 
  86. EDT from the Sedt disk to the system disk and rename them to have 
  87. the type TXT.
  88.  
  89.     If you use the WPS keypad layout copy the files with type 
  90. GLD from the Sedt disk to the system disk and rename them to have 
  91. the type TXT.
  92.  
  93.     Define the environment  variable Sedt to be the directory 
  94. containing the keyboard layout and help files.
  95.  
  96.     Modify  the  file  AUTOEXEC.BAT on  your  boot  drive  to 
  97. include the SET command and have  the  Sedt directory included in 
  98. the PATH command.
  99.  
  100.     Sedtsml.Exe is a special  version  that will run on 128 K 
  101. systems.  Even on larger  systems  this version will perform less 
  102. well than Sedt.Exe which uses available  memory  for buffering of 
  103. files.
  104.  
  105. Example:
  106.     COPY A:SEDT.EXE B:\SEDT\
  107.     PATH B:\SEDT
  108.     COPY A:SEDTKEYS.EDT B:\SEDT\SEDTKEYS.TXT
  109.     COPY A:SEDTHELP.EDT B:\SEDT\SEDTHELP.TXT
  110.     SET SEDT=B:\SEDT\
  111.  
  112.  
  113.            Installation Instructions
  114.  
  115.                   VMS
  116.  
  117.     Copy  Sedt.Exe,   Sedt.Com,  Sedtkeys.Edt,  Sedtkeys.Wps, 
  118. Sedthelp.Edt, Sedthelp.Wps, Sedtman.Edt  to  a directory.  Define 
  119. the logical name Sedt$Library  to  point  to  the  directory, the 
  120. symbol               Se*dt:==$Sedt$Library:Sedt               and 
  121. KSe*dt:==@Sedt$Library:Sedt.   You  do  not  need write access to 
  122. Sedt$Library.
  123.  
  124.     If you use  the  EDT  keypad  define  the  logical  names 
  125. Sedt$Keys to be Sedt$Library:Sedtkeys.Edt  and  Sedt$Help  to  be 
  126. Sedt$Library:Sedthelp.Edt.
  127.  
  128.     If  you  use  the  WPS keypad define  the  logical  names 
  129. Sedt$Keys  to  be  Sedt$Library:Sedtkeys.Gld  and Sedt$Help to be 
  130. Sedt$Library:Sedthelp.Gld.
  131.  
  132.     Define the logical name Sedt$Dir to point to a  directory 
  133. which you have write access to.  Saved rulers will  be  stored in 
  134. this  directory.  Until you have saved ruler 0 in this  directory 
  135. you  will  get the message "Could not find ruler file" every time 
  136. you enter  Sedt.   Enter  ruler  mode,  define your default ruler 
  137. settings and save them by typing Gold 0.
  138.  
  139. Example:
  140.     Assign Sys$Disk:[Mydir] Sedt$Library
  141.     Assign Sys$Disk:[Mydir] Sedt$Dir
  142.     Se*dt:==$Sedt$Library:Sedt
  143.     Assign Sedt$Library:Sedtkeys.Edt Sedt$Keys
  144.     Assign Sedt$Library:Sedthelp.Edt Sedt$Help
  145.  
  146.  
  147.              Known Problems
  148.  
  149.     Under MS/DOS you may run  out  of files when using 3 to 4 
  150. concurrent buffers.  You should increase the number of concurrent 
  151. files in CONFIG.SYS to at least 12.   The  symptom  is  either  a 
  152. fatal  message  "Error creating buffer file" or non-fatal  "Could 
  153. not open journal file" or "Could not open input file".
  154.  
  155.  
  156.            Changes from V1.2 to V1.3
  157.  
  158.     Menu  mode,  which  was not documented in V1.2, has  been 
  159. removed  in  oder to keep the code size of the  CP/M  and  MS/DOS 
  160. versions under 64K.
  161.  
  162.     When  displaying  the help screens you can move in either 
  163. direction by using Prev Screen, Next Screen or Return, Backspace.
  164.  
  165.     The :U  (undo) command, Gold U under the EDT keypad, will 
  166. undelete the last deleted string if entered as the next command.
  167.  
  168.     The :SYS command,  which  spawns  a subprocess, Do on the 
  169. EDT keypad, is implemented on the VMS version.
  170.  
  171.     The :TI command, which  is  used  by  Gold Left Arrow and 
  172. Gold Right Arrow on the  EDT  keypad  (scroll backward or forward 
  173. until any input is typed), is implemented on the VMS version.
  174.  
  175.     New command, :GAP, which appends an entity to it's delete 
  176. buffer without deleting it from the text.   This  command  is not 
  177. currently programmed to any key.
  178.  
  179.     Bug fix in all undelete commands, to mark  the  buffer as 
  180. being modified.
  181.  
  182.     Bug fix in code to remove an entity.  Ensures that screen 
  183. is not corrupted.
  184.  
  185.     Rulers  are  loaded  and saved under VMS in the directory 
  186. defined by the logical name Sedt$Dir.
  187.  
  188.     Right  justification.   If the right margin is set with J 
  189. in the  current  ruler  it will be right justified.  If it is set 
  190. with R it will remain ragged.  The fill command, :TF, Gold Keypad 
  191. 8 will either justify  or  fill  depending  on  the  right margin 
  192. setting.
  193.  
  194.     Bug fix in the :TF, text fill, which corrupted the screen 
  195. if working on an entity above the cursor.
  196.  
  197.     The :TF command, text fill or justify, programmed as Gold 
  198. Leypad 8 on the EDT keypad, does  not update the display till the 
  199. command is completed.
  200.  
  201.     Any justification character in the ruler can be  reset by 
  202. positioning   the  cursor  at  the  position  and  typing  Space.  
  203. Resetting the right margin eliminates right margin control.
  204.  
  205.     New  command,  :TAD,  Control  T  on  the EDT keypad, for 
  206. adjusting text left or right by a tab stop.  Control  T  works as 
  207. under EDT.
  208.  
  209.     Center line, :CL, command rewritten to fix several bugs.
  210.  
  211.     Spawn  command, :SYS, default  to  the  command  language 
  212. interpreter if the command argument string is empty.
  213.  
  214.     Make all change case commands set the buffer modify flag.  
  215. Under  V1.2  the  change  might  have   become  lost  under  some 
  216. circumstances.
  217.  
  218.     Made the print command, :PR, accept a  file  name  as  an 
  219. argument.  Control P on the EDT keypad will now prompt for a file 
  220. name.
  221.  
  222.     Reset  all terminal parameters when spawning a subprocess 
  223. and set them all upon return.
  224.  
  225.     When opening  a  file  and  creating  a journal file test 
  226. whether the same  journal  file  is  already  opened from another 
  227. buffer.  If this is the case diaplay a message and do not journal 
  228. this buffer.
  229.  
  230.     Flush the journal file to disk every 128 characters.
  231.  
  232.     Gold + and Gold -  will  insert  these  characters in the 
  233. buffer and set the direction for the next command.  The sign will 
  234. echo at the bottom of the screen  and can be followed by a count.  
  235. This is necessary for the Tab Adjust command.
  236.  
  237.     %F in a basic Sedt command will on  execution be replaced 
  238. by  the  output  file name for the current buffer.   %%  will  be 
  239. replaced by %.
  240.  
  241.     A line starting with ;  in the key definition  file  will 
  242. be treated as a comment.  Empty lines are skipped.
  243.  
  244.     On VMS get the terminal type from the environment vector.  
  245. If the  terminal  is not recognized do a terminal type inquire to 
  246. the terminal.
  247.  
  248.     On VMS fix  a  bug which prevented buffers with the first 
  249. line empty from being  writen.  This is really caused by a bug in 
  250. the C runtime library.
  251.  
  252.     New basic command, :UPD, updates the screen including the 
  253. header line.
  254.  
  255.     A + in reverse video will  be  displayed in the rightmost 
  256. column  of  every line which is longer  than  the  width  of  the 
  257. screen.
  258.  
  259.          Changes from Version 1.3 to 1.4
  260.  
  261.     28:   Learn  mode.  Implemented with the  :LNL  and  :LNE 
  262. commands.  Allow a sequence of keystrokes to be  saved  for later 
  263. execution.
  264.  
  265.     29:    Direct  return  to  Sedt  without  waiting  for  a 
  266. keystroke  when  returning  from  the  operating  system  command 
  267. interpreter.
  268.  
  269.     30:  Ability  to  edit  input  on  the prompt line on the 
  270. bottom of the screen by moving the cursor with the left and right 
  271. arrow keys.
  272.  
  273.     31:  Under CP/M make  Sedt  look for the .TXT files first 
  274. in the current area, then in  area 0 in the current disk, then in 
  275. area 0 on the boot drive.
  276.  
  277.     32: New qualifiers
  278.  
  279.         -j will disable journaling.
  280.  
  281.         -e will enable placing  a ^Z (SUB) at the end  of 
  282.             files.
  283.  
  284.     33: Do not place the terminal in jump scroll mode.
  285.  
  286.     34:  Make justify and fill insert  at  least  two  spaces 
  287. after .  ?  ;  :  !.
  288.  
  289.     35:  Remove code that treated Gold +  or  Gold  - as Gold 
  290. <Digit>.  Instead define Gold +, Gold -, Gold  <  and Gold > as + 
  291. and -.  The effect remains the same as before but keeps temporary 
  292. direction as a soft key definition.
  293.  
  294.     36:  Change :TAD to only work on lines fully contained in 
  295. the entity.
  296.  
  297.     37:  Make all digits echoed on bottom line appear bold.
  298.  
  299.     38:  New qualifyer,  -b,  which  disables  generation  of 
  300. backup versions when writing files.
  301.  
  302.     39:  Auto indent mode.   Set with an A in the ruler line.  
  303. Returns will cause Sedt to indent  to  the same level as the line 
  304. terminated.  Fill and justification will be  to  the level of the 
  305. first line in the fill region.  Several  bugs  fixed  in fill and 
  306. justify.
  307.  
  308.     40:   Removed  all screen optimization code for CP/M  and 
  309. MS/DOS, which use high speed video.
  310.  
  311.     41:  Ensure that change flag is set for substitute;  Make 
  312. Gold B work with direction reverse.
  313.  
  314.     42:   Make  substitute  work  is  placed  right on search 
  315. string.
  316.  
  317.     43:  Highlight entire select region.
  318.  
  319.     44:  Fix multiple problems with change case edt style.
  320.     
  321.     45:  Fix  bug  where  wide  screen  clobbered  a location 
  322. causing all kinds of horrible crashes.
  323.  
  324.     46:  Fix bug  where  upon return from a spawn wide screen 
  325. was not reset, causing fast video to clobber the screen.
  326.  
  327.     47:  Change the character displayed with too wide lines a 
  328. >.
  329.  
  330.     48: Reset points when resetting the buffer.
  331.     
  332.     49: Make small version that will run on 128 K systems.
  333.     
  334.     50: Make help text appear in normal video.
  335.     
  336.     51:  Fix bug with cursor  in  wrong  position when moving 
  337. left from text off the screen.
  338.  
  339.     52: Learning no good when keystrokes reversed. Fixed.
  340.     
  341.     53: Fix several bugs in learn mode.
  342.     
  343.     54: Limit output when lines exceed screen width.
  344.     
  345.     55:  Eliminate scrolling when changing window.   Fix  bug 
  346. in spawn with argument on VMS.
  347.  
  348.          Changes from Version 1.4 to 1.5
  349.          
  350.     56: Fix bug inserting characters to right of screen.
  351.  
  352.     57: Allow insertion of count between keystrokes.
  353.     
  354.     58: Fix several bugs in learn mode.
  355.     
  356.     59: Fix several bugs in fill and justify.
  357.     
  358.     60:  Do ?, !  and %  processing  when  executing  command 
  359. files.
  360.     
  361.     61: Set terminal parameters when doing a refresh.
  362.     
  363.     62: Work around several MWC bugs affecting learn mode.
  364.  
  365.  
  366.          Changes from version 1.5 to 2.0
  367.  
  368.     63: Conditional execution of commands.
  369.  
  370.     64: :SL to load an entity into the search string.
  371.     
  372.     65: Save and load justify flag when changing buffers.
  373.  
  374.     66: Fix several bugs in text fill and justify.
  375.  
  376.     67: More bug fixes in fill and justify.
  377.     
  378.     68: Fix crash when execute string empty.
  379.     
  380.     69: Fix problem with cursor position on VMS.
  381.     
  382.     70: Make terminal input use DOS under MS/DOS.
  383.     
  384.     71: Undo edit 60.
  385.     
  386.     72: Skip lines starting with ; in command files.
  387.     
  388.     73: Overstrike mode.
  389.     
  390.     74: Status line on bottom.
  391.     
  392.     75: Minimize screen updates with substitute.
  393.     
  394.     76: Fix access vialoation bug under VMS.
  395.     
  396.     77: Several changes to cursor control code unde VMS.
  397.     
  398.     78: Remove fancy update code under VMS.
  399.     
  400.     79: Fix scroll problem under VMS when changing from 2 to
  401.         1 window.
  402.         
  403.     80:    Make  execution of learned keys repeatable.    New 
  404.         commands,  :OE  and  :OM  to  output error message ot 
  405.         status message on the message line.
  406.  
  407.              Changes from 2.0 to 2.1
  408.  
  409.     81: Make top line bold.
  410.  
  411.     82: Fix multinational character set bugs.
  412.  
  413.     83: More multinational bug fixes
  414.  
  415.     84: Even more multinational fixes
  416.  
  417.     85: Don't set screen width twice
  418.  
  419.     86: More multinational stuff
  420.  
  421.         87: Always expand tabs when input
  422.  
  423.         88: Reset width and keypad to original mode upon exit under
  424.             VMS
  425.  
  426.         90: Bug in center line in replace mode
  427.  
  428.         91: Don't let information overwrite error messages
  429.         
  430.         92: Change default output when saving to named file
  431.  
  432.         93: Implement absolute line and char entities (@AL, @AC)
  433.  
  434.     94: Command to show column (:SC) and display column when changing
  435.         rulers under VMS
  436.  
  437.     95: New command :GR to read ruler file given in count. Also
  438.         a fix to reading a count where a count of 0 was not passed
  439.  
  440.     96: Acknowledge input to prompt by moving cursor.
  441.  
  442.     97: Make command execution and init file execution equivalent
  443.         ALSO ? AND ! PROCESSING IS NOW DONE ON COMMAND FILES
  444.  
  445.     98: IBM PC conversion
  446.  
  447.     99:   New  command  :PD  inserts  today's date.  $<Count> 
  448.         defines a default count.
  449.  
  450.     100: Fixes to the IBM AT version.
  451.  
  452.     101:   Implemented  the  -R switch that forces a CR to be 
  453.         the last character.
  454.  
  455.     102: Allow multinational characters to be Gold'ed
  456.  
  457.     103: LK250 support with manual switch to DEC mode
  458.         Cursor position after undeleted text
  459.