Google
 

Trailing-Edge - PDP-10 Archives - decuslib20-04 - decus/20-0135/03/vided.add
There are 2 other files named vided.add in the archive. Click here to see a list.
Jacob Palme 1978-01-29  Revised: 1979-03-18

ADDITIONS TO VIDED IN FEBRUARY - MARCH 1979 (TO VERSION 4A)

     The algorithm for the warning message when pages are too long is
     improved for files with extensions beginning with ".VI". For such
     files, lines beginning with ".L" and ".U" are only counted as half
     lines, and lines beginning with ".+", ".&" or "._" are not counted
     as all. This corresponds to VIDEDP postprocessing.

     The &I-command works in a new, more natural manner for terminals
     accepting "Insert-character"-codes: at present Volker 414H and
     Elite 3025.

     The function keys PF1-PF8 on Volker 414H and Elite 3025 now
     correspond to eight common VIDED commands.

     A new command &-X to move to the first written position of a line.

     Negative argument allowed to the &Z-command for backward scrolling.
     Works especially nice for terminals with built-in backward
     scrolling: at present Volker 414H and Elite 3025.

     Better protection against line numbers which are not monotonously
     increasing for line numbered files.


IMPROVEMENTS IN VIDED MADE IN DECEMBER 1978 - JANUARY 1979 (TO VERSION 3F)

     Built-in knowledge has been added to VIDED for terminals of the
     models Digital VT100, ADM 3A and Volker-Craig 414H (similar to
     Hazeltine 1510). For the Volker-Craig 414H, VIDED uses the Insert
     Line and Delete Line control codes to improve speed. The keyboard
     keys for Insert Line, Delete Line, Insert Character and Delete
     Character can also be used.

     /AUTOBACKUP:20 (automatic file backup for every 20 lines written)
     is now default in VIDED. To get no automatic file backup, write
     /AUTOBACKUP:0.

     VIDED now assumes /SWEDISH (Swedish language texts) for files
     with the extension .SWE or .VIS.

     A new VIDED command &TC will remove one single tabulator setting
     at the cursor column.


ADDITIONS TO VIDED 1978-10-29

  &nPT (PAGE TOP) COMMAND AND &nPE (PAGE END) COMMAND

     The "PT" command can be used to find the top of a certain page, and
     the "PE" to find the end of a certain page.
   > IF  no argument is given ("&PT" or "&PE") then the top or bottom of
     the current page is found.
   > If  the  argument  is an unsigned integer, then the top of the page
     with that number, counted from the beginning of the file, is found.
     Example: "&5PT" will find the top of page 5.
   > If  the  argument  is  a signed integer, then the n:th page counted
     from the current page is found. Example: "&+5PT" will find the  top
     of the 5th next page, "&-5PT" will find the top of the page 5 pages
     before the current page.

  &P (NEXT PAGE) COMMAND

     This  is  a  short form for the "&+1PT" command, that is to move to
     the top of the next page.

  &PF (PAGE AT END OF FILE) COMMAND

     This command will find the end of the last page of the file.

  &FB (FILE BACKUP) COMMAND
     This  command  will  create a backup copy of the text you have just
     edited, and then return you to the  point  where  you  exited  from
     VIDED.  If  the computer is unreliable, this command should be used
     at least every 15th minute to avoid information losses.

     The  first backup file in each VIDED session is given the same file
     name as the input file, but with the first letter in the  extension
     changed to Q. Later backup files will have the two first letters of
     their extension changed to QQ.

     Example:  If the input file is FILE.EXT, then the first backup file
     will have the file name FILE.QXT and later backup files during  the
     same VIDED session will have the file name FILE.QQT.

     Note:  The  "&PE" and "&PT" commands will also create a new backup,
     if used to move backwards to previous pages in the edited file.

NOTE ON SYLLABLE-DIVIDED WORDS

     If  a filling or justifying command is used on a text which already
     has been divided, that is contains lines ending with a  dash,  then
     VIDED  will  ask  you what do do with each such dash. Three courses
     are open to you:

     COMMAND    ACTION
     R(emove)   Remove the dash from the text (default action).
     K(eep)     Keep the dash as a connector like the dash in "DEC-10".
     S(plit)    Put a space after the dash like in "pre- and post-
                processing".
                                   PAGE 2

NEW FEATURES OF VIDED 2D, 1978-05-14:

     VIDED can now handle Volker D404 terminals. Terminal model
     is indicated to VIDED by a textual terminal model number
     instead of a number below 100. The present terminal model
     numbers accepted are the text not in parenthesis below:

     Input terminal type: (Infoton) vista (or vistar) sattelite,
     (DEC) vt52, Minitec, Teletec, (Tandberg) TDV 2000, (Elite)
     2500, 1520, 1521, 3025, (Beehive) B100, (CDC) S713-10, (Volker)
     D404, (Some other) display terminal(s).

     New switches to VIDED in the command or the SWITCH.INI file
     are /DCA to get direct cursor addressing, /-DCA to avoid
     direct cursor addressing, /ALF for a terminal with built-in
     auto-lf for carriage returns (will probably not work).


NEW FEATURES OF VIDED 1978-01-29:

     SUMMARY: The &W, &S and &N commands can now take a numerical
     argument for repeated word removals or searches.

     The &U, &D, &V, &J, &K, &G and &I commands can be applied with
     one operation on several successive lines using the new &*
     command. This can be very useful when handling multi-line
     tables and formulas.


NUMERICAL ARGUMENT TO THE &W, &S AND &N COMMANDS

  &nW COMMAND

     The &nW command will remove n previous words.
     Example, you have the text:

     This is a test text
                        ^

     And apply the command &3W, getting the result

     This is
            ^

  &nS COMMAND

     The &nS command will search for the n-th occurence
     of the search string. Example, you have the text:

     This is a test text.
     ^

     The VIDED command &3s & will find the third next space,
     giving:

     This is a test text.
               ^

  &nN COMMAND

     This is the same as &nS for the &N search command.

2.12 MULTI-LINE APPLICATION OF VIDED COMMANDS

     For the VIDED commands &U, &D, &V, &J, &K, &G and &I, preceding
     them with * will cause the commands to be repeated for several
     succeeding lines.

     Example, you have the text:

     =====  &4*2D will give you:  ===  while &4*2V    ==  ===
     = ^ =                        = =  will give you: =     =
     =   =                        = =                 =     =
     =====                        ===                 ==  ===

     You can either explicitly give a number in front of the *, or
     just write &* without any number. In the latter case, VIDED has
     two ways of deciding how many lines to apply the command to.
     The first rule is that a set of of lines all beginning with a
     dot will be regarded as a group to be treated:

     Example, you have the text:

.U            2    2
.U           a  + b
.    x = y + -------
.L        ^     z
.L

     The VIDED command &*5V will give you

.U                 2    2
.U                a  + b
.    x = y      + -------
.L        ^          z
.L

     Second example, given the text:

.U                  2    2
.U                 a  + b
.    x = y  + y  + -------
.L        1    2      z
.L        ^

     The VIDED command &*6D will give:

.U            2    2
.U           a  + b
.    x = y + -------
.L              z
.L

     Note that all the lines of the formula are shifted with
     only one VIDED command.

     The SUBSUP program will remove the ".U", "." and ".L" in front
     of the lines. SUBSUP will also give half line steps for lines
     preceded with .U and .L, provided that your printer understands
     the control code <ESC>U to give half a line step.

     If there is no such group with dots in the first column,
     the *-ed command will repeated on all lines left on the screen.

  &n*U COMMAND

     Example, you have the text:

     1976   1978   1979   1980   1981   1982   1983   1984
     ---------------------------^-------------------------
      100    150    200    300    300    340    450    120
      200    300    350    230    340    350    560    340
      400    450    700   1200   1345   2345   2380   4560

     The command &5*U will transform this text to:

                                 1981   1982   1983   1984
                                ^-------------------------
                                  300    340    450    120
                                  340    350    560    340
                                 1345   2345   2380   4560

  &n&K COMMAND

     With the same initial text as in the previous example,
     &5*K will get you:

     1976   1978   1979   1980
     ---------------------------
      100    150    200    300
      200    300    350    230
      400    450    700   1200

  &n&I COMMAND

     Given again the same initial text, the &5*i!& command
     will give you

     1976   1978   1979   1980  ! 1981   1982   1983   1984
     ---------------------------!--------------------------
      100    150    200    300  !  300    340    450    120
      200    300    350    230  !  340    350    560    340
      400    450    700   1200  ! 1345   2345   2380   4560

  &n&G COMMAND

     Assuming that Q-register X contains the single character !,
     &5*GX will with the same initial text give you:

     1976   1978   1979   1980  !1981   1982   1983   1984
     ---------------------------!-------------------------
      100    150    200    300  ! 300    340    450    120
      200    300    350    230  ! 340    350    560    340
      400    450    700   1200  !1345   2345   2380   4560

     The &nG COMMAND can be used to rapidly create a table.
     Example, assume you have the following text:

        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------

     If you put the last two lines of this text into a qregister
     "row" then the VIDED command &8*Grow can get you:

        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------

  &n*D AND &n*V commands

     The &n*D and &n*V commands can be used to shift part or whole
     of the screen contents to the left or right. Example, given:

^       -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------
        !       !       !       !       !       !       !
        -------------------------------------------------

     The VIDED command &7*8D will then move the box to the right:

-------------------------------------------------
!       !       !       !       !       !       !
-------------------------------------------------
!       !       !       !       !       !       !
-------------------------------------------------
!       !       !       !       !       !       !
-------------------------------------------------

     while &7*8V will give you:

                -------------------------------------------------
                !       !       !       !       !       !       !
                -------------------------------------------------
                !       !       !       !       !       !       !
                -------------------------------------------------
                !       !       !       !       !       !       !
                -------------------------------------------------
  &n*nJ COMMAND

     I am not sure of any useful application of this command.
     But here is an example of what might happen, given the
     text:

     This
^         text
               will
                    be
                       justified.

     &5*1J will convert this text to:

     This
     text
     will
     be
     justified.