


VED(1L)              Schily's USER COMMANDS               VED(1L)



NNNNAAAAMMMMEEEE
     ved - visual editor (screen-oriented)

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     vvvveeeedddd [ _o_p_t_i_o_n_s ] [ _f_i_l_e_n_a_m_e ... ]

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     VVVVeeeedddd (visual editor) is a small and very fast screen-oriented
     editor that implements a user interface somewhere between vvvviiii
     and eeeemmmmaaaaccccssss.  It is powerful and easy to learn, it has no lim-
     itations  on line length and the type of characters that may
     appear in a file.  It has almost no limitations on file size
     (see NNNNOOOOTTTTEEEESSSS section below).

     To use vvvveeeedddd to edit a file for the first time, call  vvvveeeedddd  and
     specify  the name of the file you want to edit.  If you edit
     a file for the second time, vvvveeeedddd will place you at  the  same
     cursor  position  that  was  used the last time when editing
     this file.  If you do not specify  a  file  name,  vvvveeeedddd  will
     assume  that  you  want  to edit the last file you edited in
     your current directory. The cursor  position  in  this  case
     again  will be the same as with the last editing session for
     this file.


OOOOPPPPTTTTIIIIOOOONNNNSSSS
     ----vvvv, ----vvvveeeeddddhhhheeeellllpppp
          An editing session is started with  the  on-line  help.
          This is done in read-only mode.

     ----rrrr, ----rrrreeeeaaaaddddoooonnnnllllyyyy
          In this mode, you may edit  the  content  of  the  edit
          buffer  but you are not allowed to write back the modi-
          fied buffer by using the quit command  of  the  editor.
          If  you  use  this  option more than once, the readonly
          value is incremented.  If ----rrrreeeeaaaaddddoooonnnnllllyyyy is  used  twice  or
          more,  you  are not allowed to write the file back even
          in quit force mode.

     bbbb====#, bbbbuuuuffffffffeeeerrrrssss====#
          By default vvvveeeedddd uses 10 in-core  buffers,  each  in-core
          buffer  takes 8 kB (the actual values that are compiled
          into vvvveeeedddd may be retrieved by calling vvvveeeedddd ----hhhheeeellllpppp).  Files
          that are bigger than the total amount of in-core buffer
          space are edited by using the swap file of vvvveeeedddd.  If you
          specify  a  number that is higher than the default, you
          will need more space  in  memory  but  the  speed  will
          slightly increase.

     ----nnnn, ----nnnnoooobbbbaaaakkkk
          Don't create _f_i_l_e_n_a_m_e._b_a_k when writing  back  the  file
          using the quit command of the editor.  Note that if you



Joerg Schilling       Last change: 00/12/27                     1






VED(1L)              Schily's USER COMMANDS               VED(1L)



          use this option you will still break  hard  links.   If
          you  like  to  write into the original file, you should
          better use the 'W' command when you quit vvvveeeedddd.

     ----eeee, ----eeeeddddttttmmmmpppp
          Don't write to the file ....vvvveeeeddddttttmmmmpppp._u_i_d....   (  vvvveeeedddd  normally
          stores  the  names  and  cursor  positions  of files in
          ....vvvveeeeddddttttmmmmpppp._u_i_d )

     ----rrrraaaawwww8888
          Do not expand 8-bit characters. Note that vvvveeeedddd  will  by
          default  not  expand  8-bit  characters that seem to be
          printable.  If this option is ised,  the  expansion  of
          8-bit characters is turned off unconditionally.

     ----ddddoooossss  Map new-line  to  carriage-return  new-line  and  hide
          carriage-return  characters  that are directly followed
          by a new-line.  If you type in a new line this  results
          in  inserting  a carriage-return new-line pair.  But as
          vvvveeeedddd is acting binary transparent, reading in files that
          do  not  follow  DOS newline conventions will not cause
          the content of the file to be  automatically  converted
          to use DOS new-lines.

     ssss====_s_e_a_r_c_h _s_t_r_i_n_g
          Start editing session with search to _s_e_a_r_c_h_s_t_r.

     ----ttttaaaagggg  First filename is really a ctag.

     wwwwrrrraaaappppmmmmaaaarrrrggggiiiinnnn====#
          Set default wrap margin  to  #.   The  wrap  margin  is
          counted from the end of a terminal line.

     ----RRRR, ----RRRReeeeccccoooovvvveeeerrrr
          Recover Session from specified filename.  vvvveeeedddd generates
          a  file  _v_e_d_P._x_x_x_x  in  the /_t_m_p directory in which all
          action of the user is stored during the session.   This
          file must be used as the only argument to vvvveeeedddd when run-
          ning a recover session.


TTTTHHHHEEEE SSSSTTTTAAAATTTTUUUUSSSS LLLLIIIINNNNEEEE
     The first (top) line of  the  screen  is  reserved  for  vvvveeeedddd
     status  information.  The  status  line is divided into five
     fields.  The fields are (from left to right):

     IIIInnnnffffoooo////IIIInnnnppppuuuutttt
          The first field is used to display  informational  mes-
          sages  and  to  fetch additional input that is required
          for some commands.  Each command that  needs  confirma-
          tion  requests input from this field.  The size of this
          field defaults to 1/4th of the length of  a  line.   It



Joerg Schilling       Last change: 00/12/27                     2






VED(1L)              Schily's USER COMMANDS               VED(1L)



          may use more if needed.

     NNNNuuuummmmbbbbeeeerrrr
          The second field contains the  current  multiplier  for
          the next command.  The current multiplier is reset to 1
          after each command, it may be set to a different  value
          by  the  user (See NNNNUUUUMMMMBBBBEEEERRRRSSSS section below).  This multi-
          plier will be referred to as _n_u_m_b_e_r  in  the  following
          text.   The size of this field is fixed to 1/8th of the
          length of a line.

     TTTTaaaakkkkeeeebbbbuuuuffff
          The third field contains is the name of the actual take
          buffer.  The name of this buffer defaults to ddddeeeeffffaaaauuuulllltttt on
          startup. It may be changed by the user.   The  size  of
          this field is fixed to 1/4th of the length of a line.

     FFFFiiiilllleeeennnnaaaammmmeeee
          The fourth field usually displays the current filename.
          The  size of this field defaults to 1/4th of the length
          of a line.  It may use up more if needed and  no  error
          text is displayed.  It may be hidden for some time if a
          long error message is displayed.

     EEEErrrrrrrroooorrrr tttteeeexxxxtttt
          The fifth field is used to display all  error  messages
          and warnings.  The size of this field defaults to 1/4th
          of the length of a line.  If needed,  it  may  use  the
          space of the filename field too.


BBBBAAAASSSSIIIICCCC CCCCOOOOMMMMMMMMAAAANNNNDDDD FFFFOOOORRRRMMMMAAAATTTT
     VVVVeeeedddd does not distinguish between  _c_o_m_m_a_n_d  _m_o_d_e  and  _i_n_s_e_r_t
     _m_o_d_e.   All  non  control  characters  are  treated as input
     (which should be inserted into the file buffer) unless  they
     are prefixed by some commands that need arguments.

     All basic vvvveeeedddd commands  are  control  characters  or  escape
     sequences.   To  enter  a control character, use the ccccoooonnnnttttrrrroooollll
     key like the sssshhhhiiiifffftttt key together with  a  character  key;  to
     enter  an  escape  sequence, press the <<<<EEEESSSSCCCC>>>> key followed by
     another key.

     In the following description, ^^^^ represents the  control  key
     and  <<<<EEEESSSSCCCC>>>>  the  escape  key (which is identical to pressing
     ^^^^[[[[).  <<<<AAAALLLLTTTT>>>> has a similar usage as <<<<EEEESSSSCCCC>>>> but different mean-
     ing  in vvvveeeedddd and represents the combination ^^^^]]]].  The combina-
     tion  ^^^^_c_h_a_r  is  a  single  keystroke,  while  <<<<EEEESSSSCCCC>>>>_c_h_a_r  or
     <<<<AAAALLLLTTTT>>>>_c_h_a_r  are two keystrokes. If the command takes an argu-
     ment, the argument is  terminated  with  a  carriage  return
     <<<<CCCCRRRR>>>>.




Joerg Schilling       Last change: 00/12/27                     3






VED(1L)              Schily's USER COMMANDS               VED(1L)



     A command may be modified in four ways:

     EEEEssssccccaaaappppeeee ccccoooommmmmmmmaaaannnnddddssss
          Typing the <<<<EEEESSSSCCCC>>>> key (or ^^^^[[[[) before  the  command  will
          modify it to an alternate form, usually a related func-
          tion.

     AAAAlllltttt ccccoooommmmmmmmaaaannnnddddssss
          Typing the AAAALLLLTTTT key ( ^^^^]]]] ) before the command, inserts a
          mark (with a few exceptions) in the text usually at the
          current cursor position. You can  precede  any  command
          that moves the cursor with the AAAALLLLTTTT key and vvvveeeedddd sets the
          mark before moving the cursor.

     EEEExxxxtttteeeennnnddddeeeedddd ccccoooommmmmmmmaaaannnnddddssss
          Typing a ^^^^XXXX before another command enters the  extended
          mode.  The  extended  mode just enters another level of
          commands.

     MMMMuuuullllttttiiiipppplllliiiieeeedddd eeeexxxxeeeeccccuuuuttttiiiioooonnnn
          Numbers  that  are  entered  by  typing  <<<<EEEESSSSCCCC>>>>####<<<<CCCCRRRR>>>>  (#
          represents  a  positive number) will set the multiplier
          to that number and display it in  the  status  line  of
          vvvveeeedddd.   If a number greater than oooonnnneeee is entered before a
          command, that command is usually repeated _n_u_m_b_e_r times.
          Exceptions are some cursor movement commands where dif-
          ferent functions will be executed _n_u_m_b_e_r times  instead
          of  repeating  the  visible  basic functionality of the
          command.


CCCCUUUURRRRSSSSOOOORRRR MMMMOOOOVVVVEEEEMMMMEEEENNNNTTTT
     Like every editor, vvvveeeedddd has a typing  point,  called  ccccuuuurrrrssssoooorrrr,
     which  is  indicated  by the (in most cases) flashing bar or
     box (depending on your terminal/window type) on your screen.
     The  cursor indicates the point within the file buffer where
     the typed characters are going to. It is your current  place
     in  the  file  buffer.   The  commands  that move the cursor
     within the file buffer are explained in this section.

     CCCCuuuurrrrssssoooorrrr mmmmoooovvvveeeemmmmeeeennnntttt ccccoooommmmmmmmaaaannnndddd oooovvvveeeerrrrvvvviiiieeeewwww::::

KKKKeeeeyyyy         CCCCTTTTRRRRLLLL              EEEESSSSCCCC CCCCTTTTRRRRLLLL        AAAALLLLTTTT               AAAALLLLTTTT EEEESSSSCCCC
LLLLaaaabbbbeeeellll                                         set mark first    set mark first

||||<<<<----     AAAA   start of line     start of para   start of line     start of para
FFFF2222      BBBB   go to beginning   go to bottom    go to beginning   go to bottom
---->>>>||||     EEEE   end of line       end of para     end of line       end of para
---->>>>      FFFF   forward char      forward word    forward char      forward word
<<<<----      HHHH   back char         back word       back char         back word
||||vvvv       NNNN   down line         down para       down line         down para
||||^^^^       PPPP   up line           up para         up line           up para



Joerg Schilling       Last change: 00/12/27                     4






VED(1L)              Schily's USER COMMANDS               VED(1L)



     CCCCuuuurrrrssssoooorrrr mmmmoooovvvveeeemmmmeeeennnntttt ccccoooommmmmmmmaaaannnnddddssss iiiinnnn ddddeeeettttaaaaiiiillll::::

     ^^^^AAAA   moves the cursor to the beginning of the current  line.
          If  the cursor is already at the beginning, it will not
          move.

          If _n_u_m_b_e_r is greater than one, ^^^^AAAA moves the cursor that
          number  of characters from the beginning of the current
          line.

     <<<<EEEESSSSCCCC>>>>^^^^AAAA
          moves the cursor to the beginning of the current  para-
          graph.  If  the  cursor is already at the beginning, it
          will not move.

          If _n_u_m_b_e_r is greater than one, <<<<EEEESSSSCCCC>>>>^^^^AAAA moves the cursor
          that  number of words from the beginning of the current
          paragraph.

     <<<<AAAALLLLTTTT>>>>^^^^AAAA
          inserts the mark at the current cursor position  before
          moving the cursor to the beginning of the current line.
          If the cursor is already at the beginning, it will  not
          move, but vvvveeeedddd will still inserts the mark.

          If _n_u_m_b_e_r is greater  than  one,  <<<<AAAALLLLTTTT>>>>^^^^AAAA  inserts  the
          mark,  then  moves the cursor that number of characters
          from the beginning of the current line.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^AAAA
          inserts the mark at the current cursor position  before
          moving the cursor to the beginning of the current para-
          graph. If the cursor is already at  the  beginning,  it
          will not move, but vvvveeeedddd will still inserts the mark.

          If _n_u_m_b_e_r is greater than one, <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^AAAA inserts the
          mark,  then  moves the cursor that number of words from
          the beginning of the current paragraph.

     ^^^^BBBB   moves the cursor to the beginning of the file.  If  the
          cursor is already at the beginning of the file, it will
          not move.

          If _n_u_m_b_e_r is greater than one, ^^^^BBBB moves the cursor that
          number of lines from the beginning of the file.

     <<<<EEEESSSSCCCC>>>>^^^^BBBB
          moves the cursor to the end of the file. If the  cursor
          is already at the end of the file, it will not move.

          If _n_u_m_b_e_r is greater than one, <<<<EEEESSSSCCCC>>>>^^^^BBBB moves the cursor
          that number of lines from the end of the file.



Joerg Schilling       Last change: 00/12/27                     5






VED(1L)              Schily's USER COMMANDS               VED(1L)



     <<<<AAAALLLLTTTT>>>>^^^^BBBB
          inserts the mark at the current cursor position  before
          moving  the cursor to the beginning of the file. If the
          cursor is already at the beginning of the file, it will
          not move, but vvvveeeedddd still inserts the mark.

          If _n_u_m_b_e_r is greater  than  one,  <<<<AAAALLLLTTTT>>>>^^^^BBBB  inserts  the
          mark,  then  moves the cursor that number of lines from
          the beginning of the file.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^BBBB
          inserts the mark at the current cursor position  before
          moving the cursor to the end of the file. If the cursor
          is already at the end of the file, it  will  not  move,
          but vvvveeeedddd still inserts the mark.

          If _n_u_m_b_e_r is greater than one, <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^BBBB inserts the
          mark,  then  moves the cursor that number of lines from
          the end of the file.

     ^^^^EEEE   moves the cursor to the end of the current line. If the
          cursor  is  already at the end of the line, it will not
          move. The last character on the line is  the  invisible
          ASCII  newline  character NL; when the cursor is at the
          end of the line, it is not on a visible character.

          If _n_u_m_b_e_r is greater than one, ^^^^EEEE moves the cursor that
          number of characters from the end of the current line.

     <<<<EEEESSSSCCCC>>>>^^^^EEEE
          moves the cursor to the end of the  current  paragraph.
          If the cursor is already at the end, it will not move.

          If _n_u_m_b_e_r is greater than one, <<<<EEEESSSSCCCC>>>>^^^^EEEE moves the cursor
          that  number of words from the end of the current para-
          graph.

     <<<<AAAALLLLTTTT>>>>^^^^EEEE
          inserts the mark at the current cursor position  before
          moving  the  cursor  to the end of the current line. If
          the cursor is already at the end of the line,  it  will
          not move, but vvvveeeedddd still inserts the mark.

          If _n_u_m_b_e_r is greater  than  one,  <<<<AAAALLLLTTTT>>>>^^^^EEEE  inserts  the
          mark,  then  moves the cursor that number of characters
          from the end of the current line.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^EEEE
          inserts the mark at the current cursor position  before
          moving  the cursor to the end of the current paragraph.
          If the cursor is already at the end of  the  paragraph,
          it will not move, but vvvveeeedddd still inserts the mark.



Joerg Schilling       Last change: 00/12/27                     6






VED(1L)              Schily's USER COMMANDS               VED(1L)



          If _n_u_m_b_e_r is greater than one, <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^EEEE inserts the
          mark,  then  moves the cursor that number of words from
          the end of the current paragraph.

     ^^^^FFFF   moves the cursor one character position to the right.

          If _n_u_m_b_e_r is greater than one, ^^^^FFFF moves the cursor that
          number of characters to the right.

          Depending on  the  cursor  position,  with  or  without
          _n_u_m_b_e_r being greater than one, ^^^^FFFF could move the cursor
          down to the next line. If the cursor is at the  end  of
          the line, the cursor will move to the first position of
          the next line.

     <<<<EEEESSSSCCCC>>>>^^^^FFFF
          moves the cursor forward to the  first  letter  of  the
          next word.

          If _n_u_m_b_e_r is greater than one, <<<<EEEESSSSCCCC>>>>^^^^FFFF moves the cursor
          forward that number of words.

          Depending on the current cursor position and the  value
          of  _n_u_m_b_e_r,  <<<<EEEESSSSCCCC>>>>^^^^FFFF  might move the cursor down one or
          more lines.

     <<<<AAAALLLLTTTT>>>>^^^^FFFF
          inserts the mark at the current cursor position  before
          moving the cursor one character to the right.

          If _n_u_m_b_e_r is greater  than  one,  <<<<AAAALLLLTTTT>>>>^^^^FFFF  inserts  the
          mark,  then  moves the cursor that number of characters
          to the right.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^FFFF
          inserts the mark at the current cursor position  before
          moving the cursor to the first letter of the next word.

          If _n_u_m_b_e_r is greater than one, <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^FFFF inserts the
          mark, then moves the cursor that number of words to the
          right.

     ^^^^HHHH   moves the cursor one character position to the left.

          If _n_u_m_b_e_r is greater than one, ^^^^HHHH moves the cursor that
          number of characters to the left.

          Depending on the cursor position, ^^^^HHHH, with  or  without
          _n_u_m_b_e_r being greater than one, could move the cursor up
          to the previous line. If the cursor is at the beginning
          of  the line when you press ^^^^HHHH, the cursor will move to
          the last position of the previous line.



Joerg Schilling       Last change: 00/12/27                     7






VED(1L)              Schily's USER COMMANDS               VED(1L)



     <<<<EEEESSSSCCCC>>>>^^^^HHHH
          moves the cursor to the first letter of the  word  just
          prior to its current position.

          If _n_u_m_b_e_r is greater than one, <<<<EEEESSSSCCCC>>>>^^^^HHHH moves the cursor
          that  number  of  words  backwards.   Depending  on the
          current cursor position and the value  of  _n_u_m_b_e_r,  the
          cursor may move up one or more lines.

     <<<<AAAALLLLTTTT>>>>^^^^HHHH
          inserts the mark at the current cursor position  before
          moving the cursor one character position to the left.

          If _n_u_m_b_e_r is greater  than  one,  <<<<AAAALLLLTTTT>>>>^^^^HHHH  inserts  the
          mark,  then  moves the cursor that number of characters
          to the left.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^HHHH
          inserts the mark at the current cursor position  before
          moving  the  cursor to the first letter of the previous
          word.

          If _n_u_m_b_e_r is greater than one, <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^HHHH inserts the
          mark, then moves the cursor that number of words to the
          left.

     ^^^^NNNN   moves the cursor down one line  while  maintaining  its
          horizontal position. If the cursor is on the last char-
          acter of the last line when you press  ^^^^NNNN,  the  cursor
          will not move and you will hear a beep.

          If _n_u_m_b_e_r is greater than one, ^^^^NNNN moves the cursor down
          that  number  of  lines.  If _n_u_m_b_e_r is greater than the
          number lines remaining in the  file,  the  cursor  will
          stop moving at the end of the file.

     <<<<EEEESSSSCCCC>>>>^^^^NNNN
          moves the cursor to the beginning  of  the  next  para-
          graph.

          If _n_u_m_b_e_r is greater than one, <<<<EEEESSSSCCCC>>>>^^^^NNNN moves the cursor
          down that number of paragraphs.

     <<<<AAAALLLLTTTT>>>>^^^^NNNN
          inserts the mark at the current cursor position  before
          moving  the  cursor down one line. Note that the cursor
          maintains its horizontal position on the line; i.e., if
          the  cursor was on the fifth character of the line when
          you pressed <<<<AAAALLLLTTTT>>>>^^^^NNNN, it will move to the fifth  charac-
          ter of the line below.





Joerg Schilling       Last change: 00/12/27                     8






VED(1L)              Schily's USER COMMANDS               VED(1L)



          If _n_u_m_b_e_r is greater  than  one,  <<<<AAAALLLLTTTT>>>>^^^^NNNN  inserts  the
          mark, then moves the cursor down that number of lines.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^NNNN
          inserts the mark at the current cursor position  before
          moving  the  cursor  to the beginning of the next para-
          graph.

          If _n_u_m_b_e_r  is  greater  than  one,  <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^NNNN  first
          inserts  the  mark,  then  moves  the  cursor down that
          number of paragraphs.

     ^^^^PPPP   moves the cursor up one line while maintaining its hor-
          izontal position. If the cursor is on the first line of
          the file when you press ^^^^PPPP, the cursor  will  not  move
          and you will hear a beep.

          If _n_u_m_b_e_r is greater than one, ^^^^PPPP moves the  cursor  up
          that  number  of  lines.  If _n_u_m_b_e_r is greater than the
          number of lines between the cursor and the beginning of
          the  file, the cursor will stop moving at the beginning
          of the file.

     <<<<EEEESSSSCCCC>>>>^^^^PPPP
          moves the cursor to the beginning of the previous para-
          graph.

          If _n_u_m_b_e_r is greater than one, <<<<EEEESSSSCCCC>>>>^^^^PPPP moves the cursor
          that  number  of paragraphs prior to the cursor's posi-
          tion.

     <<<<AAAALLLLTTTT>>>>^^^^PPPP
          inserts the mark at the current cursor position  before
          moving  the  cursor  up  one line. Note that the cursor
          maintains its horizontal position on the line; i.e., if
          the  cursor was on the fifth character of the line when
          you pressed <<<<AAAALLLLTTTT>>>>^^^^PPPP, it will move to the fifth  charac-
          ter of the line above.

          If _n_u_m_b_e_r is greater  than  one,  <<<<AAAALLLLTTTT>>>>^^^^PPPP  inserts  the
          mark, then moves the cursor up that number of lines.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^PPPP
          inserts the mark at the current cursor position  before
          moving  the  cursor  to  the  beginning of the previous
          paragraph.

          If _n_u_m_b_e_r  is  greater  than  one,  <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^PPPP  first
          inserts  the mark, then moves the cursor up that number
          of paragraphs prior to its current position.





Joerg Schilling       Last change: 00/12/27                     9






VED(1L)              Schily's USER COMMANDS               VED(1L)



AAAADDDDDDDDIIIITTTTIIIIOOOONNNN////DDDDEEEELLLLEEEETTTTIIIIOOOONNNN
     All additions are always made at the place where the visible
     cursor is.

     All deletions are saved in two buffers: the  ffffoooorrrrwwwwaaaarrrrdddd  ddddeeeelllleeeetttteeee
     bbbbuuuuffffffffeeeerrrr  and  the bbbbaaaacccckkkkwwwwaaaarrrrddddssss ddddeeeelllleeeetttteeee bbbbuuuuffffffffeeeerrrr.  The characters in
     the backward delete buffer are saved  in  reverse  order  to
     allow to reinsert them in the correct order.  As long as you
     don't move the cursor and start deleting new text, the  con-
     tent  of  both,  the forward and the backwards delete buffer
     may be reinserted with the uuuunnnnddddoooo ddddeeeelllleeeetttteeee command. This  allows
     you to move text by deleting it and reinserting it after you
     moved the cursor to another position in the file


     AAAAddddddddiiiittttiiiioooonnnn////DDDDeeeelllleeeettttiiiioooonnnn ccccoooommmmmmmmaaaannnndddd oooovvvveeeerrrrvvvviiiieeeewwww::::

KKKKeeeeyyyy           CCCCTTTTRRRRLLLL              EEEESSSSCCCC CCCCTTTTRRRRLLLL       AAAALLLLTTTT              AAAALLLLTTTT EEEESSSSCCCC
LLLLaaaabbbbeeeellll                                          set mark first   set mark first

FFFF3333      DDDD     delete char       delete words   ~                ~
TTTTAAAABBBB     IIII     tab               ~              tab              ~
NNNNLLLL      JJJJ     insert new line   ~              jump to mark     switch mark
                                                                and cursor
FFFF4444      KKKK     kill line         kill para      kill selection   ~
CCCCRRRR      MMMM     insert new line   change modes   sets mark        ~
FFFF5555      OOOO     open line         ~              open line        ~
        ____     undo delete       ~              clear mark       ~
DDDDEEEELLLL     DDDDEEEELLLL   erase char        erase word     ~                ~


     AAAAddddddddiiiittttiiiioooonnnn////DDDDeeeelllleeeettttiiiioooonnnn ccccoooommmmmmmmaaaannnnddddssss iiiinnnn ddddeeeettttaaaaiiiillll::::

     ^^^^DDDD   erases the character at the cursor position.

          If _n_u_m_b_e_r is greater than one, ^^^^DDDD erases that number of
          characters to the right of the cursor.

     <<<<EEEESSSSCCCC>>>>^^^^DDDD
          erases the next  word.  A  word  is  defined  from  the
          current  cursor  position to the next blank or carriage
          return.

          If _n_u_m_b_e_r is greater  than  one,  <<<<EEEESSSSCCCC>>>>^^^^DDDD  erases  that
          number of words to the right of the cursor.

     ^^^^IIII   inserts a TTTTAAAABBBB character.

          If _n_u_m_b_e_r is greater than one, ^^^^IIII inserts  that  number
          of TTTTAAAABBBB characters.

     <<<<AAAALLLLTTTT>>>>^^^^IIII



Joerg Schilling       Last change: 00/12/27                    10






VED(1L)              Schily's USER COMMANDS               VED(1L)



          inserts the mark at the current cursor position  before
          inserting a TTTTAAAABBBB character.

          If _n_u_m_b_e_r is greater  than  one,  <<<<AAAALLLLTTTT>>>>^^^^IIII  inserts  the
          mark, then inserts that number of TTTTAAAABBBB characters.

     ^^^^JJJJ   inserts a nnnneeeewwww lllliiiinnnneeee at the current cursor  position  and
          moves the cursor to the beginning of the next line.

          If _n_u_m_b_e_r is greater than one, ^^^^JJJJ inserts  that  number
          of new lines.

     ^^^^KKKK   erases the current line. If the cursor  is  located  at
          the  beginning  of the line, the entire line is erased,
          including the carriage return at the end of  the  line.
          If  the cursor is located between the beginning and end
          of the line, everything right of the cursor is  erased,
          including  the  carriage return at the end of the line.
          You can use ^^^^KKKK to erase blank lines.

          If _n_u_m_b_e_r is greater than one, ^^^^KKKK erases that number of
          lines from the current cursor position.

     <<<<EEEESSSSCCCC>>>>^^^^KKKK
          erases from the current cursor position to the  end  of
          the  paragraph.  The end of a paragraph is indicated by
          two successive carriage returns--one at the end of  the
          last  line  and  one on the blank line that follows the
          paragraph.

          If _n_u_m_b_e_r is greater  than  one,  <<<<EEEESSSSCCCC>>>>^^^^KKKK  erases  that
          number of paragraphs.

     <<<<AAAALLLLTTTT>>>>^^^^KKKK
          erases text between the mark  and  the  current  cursor
          position. For instance, if the mark is in the middle of
          the file and the cursor is at the end, the last half of
          the file will be erased.

     ^^^^MMMM   inserts a nnnneeeewwww lllliiiinnnneeee at the current cursor  position  and
          moves the cursor to the beginning of the next line.

          If _n_u_m_b_e_r is greater than one, ^^^^MMMM inserts  that  number
          of new lines.

     ^^^^OOOO   inserts a nnnneeeewwww lllliiiinnnneeee at the current cursor position,  but
          does  not move the cursor. Any text to the right of the
          cursor moves down to start a new line.

          If _n_u_m_b_e_r is greater than one, ^^^^OOOO inserts  that  number
          of new lines without moving the cursor.




Joerg Schilling       Last change: 00/12/27                    11






VED(1L)              Schily's USER COMMANDS               VED(1L)



     <<<<AAAALLLLTTTT>>>>^^^^OOOO
          inserts a new  line  without  moving  the  cursor.   It
          inserts  the  mark  at  the beginning of the next (new)
          line.

          If _n_u_m_b_e_r is greater than  one,  <<<<AAAALLLLTTTT>>>>^^^^OOOO  inserts  that
          number  of  new  lines  without  moving the cursor.  It
          inserts the mark after the last new line.

     ^^^^DDDDEEEELLLLEEEETTTTEEEE
          erases the character to the left of  the  cursor.  This
          acts the same as using the DELETE key alone.

          If _n_u_m_b_e_r is greater  than  one,  ^^^^DDDDEEEELLLLEEEETTTTEEEE  erases  that
          number of characters to the left of the cursor.

     <<<<EEEESSSSCCCC>>>>^^^^DDDDEEEELLLLEEEETTTTEEEE
          erases the word to the left of the  cursor.  This  acts
          the same as using ^DELETE.

          If _n_u_m_b_e_r is greater than one, <<<<EEEESSSSCCCC>>>>^^^^DDDDEEEELLLLEEEETTTTEEEE erases that
          number of words to the left of the cursor.

     ^^^^____   reinserts the last deletion. The content of the ffffoooorrrrwwwwaaaarrrrdddd
          and bbbbaaaacccckkkkwwwwaaaarrrrdddd delete buffer is cleared after reinserting
          the deleted text.

     <<<<AAAALLLLTTTT>>>>^^^^____
          erases the mark.


CCCCUUUUTTTT////PPPPAAAASSSSTTTTEEEE
     These commands deal with the 'take' buffers. You can have up
     to 32 take buffers, each named as you choose when you use it
     for the first time.  The name appears on  the  status  (top)
     line  of the terminal screen following \\\\::::.  The default take
     buffer is "default".

     CCCCuuuutttt////PPPPaaaasssstttteeee ccccoooommmmmmmmaaaannnndddd oooovvvveeeerrrrvvvviiiieeeewwww::::

KKKKeeeeyyyy          CCCCTTTTRRRRLLLL             EEEESSSSCCCC CCCCTTTTRRRRLLLL          AAAALLLLTTTT              AAAALLLLTTTT EEEESSSSCCCC
LLLLaaaabbbbeeeellll                                           set mark first   set mark first

        TTTT    save line        save para         save selection   ~
             into paste buf   into paste buf    into paste buf   into paste buf
FFFF7777      VVVV    paste            paste and         replace select   replace select
                              clear paste buf   with paste buf   clear paste buf
        YYYY    save char        save word         ~                ~
             into paste buf   into paste buf
FFFF8888      \\\\    chng paste buf   clr paste buf     ~                ~





Joerg Schilling       Last change: 00/12/27                    12






VED(1L)              Schily's USER COMMANDS               VED(1L)



     CCCCuuuutttt////PPPPaaaasssstttteeee ccccoooommmmmmmmaaaannnnddddssss iiiinnnn ddddeeeettttaaaaiiiillll::::

     ^^^^TTTT   removes a line from the file and puts it in the current
          take  buffer. The line is defined from the current cur-
          sor position to the next carriage return.

          If _n_u_m_b_e_r is greater than one, ^^^^TTTT removes  that  number
          of  lines  from  the  file and puts them in the current
          take buffer.

     <<<<EEEESSSSCCCC>>>>^^^^TTTT
          removes a paragraph from the file and puts  it  in  the
          current  take  buffer.  A paragraph is defined from the
          current cursor  position  to  two  successive  carriage
          returns--one at the end of the last line and one on the
          blank line that follows the paragraph.

          If _n_u_m_b_e_r is greater than  one,  <<<<EEEESSSSCCCC>>>>^^^^TTTT  removes  that
          number of paragraphs from the file and puts them in the
          current take buffer.

     <<<<AAAALLLLTTTT>>>>^^^^TTTT
          removes the selection (what lies between the  mark  and
          the cursor) and puts it in the current take buffer.

     ^^^^VVVV   pastes the contents of the current take buffer into the
          file  at  the  current cursor position. The take buffer
          will still contain a copy of the text.

     <<<<EEEESSSSCCCC>>>>^^^^VVVV
          pastes and clears the  contents  of  the  current  take
          buffer  into  the  file at the current cursor position.
          The take buffer will be empty.

     <<<<AAAALLLLTTTT>>>>^^^^VVVV
          replaces the selection (what lies between the mark  and
          the  cursor)  with  whatever  is  in  the  current take
          buffer.  The old content of the selection is lost.  The
          take buffer will still contain a copy of the text.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^VVVV
          replaces the selection (what lies between the mark  and
          the cursor) with whatever is in the current take buffer
          and clears the take buffer.  The  old  content  of  the
          selection is lost.  The take buffer will be empty.

     ^^^^YYYY   removes a character from the file and puts  it  in  the
          current  take buffer. The character at the current cur-
          sor position is the one taken.

          If _n_u_m_b_e_r is greater than one, ^^^^YYYY takes that number  of
          characters and puts them in the current buffer.



Joerg Schilling       Last change: 00/12/27                    13






VED(1L)              Schily's USER COMMANDS               VED(1L)



     <<<<EEEESSSSCCCC>>>>^^^^YYYY
          removes a word from the file and puts it in the current
          take buffer. A word consists of any characters from the
          current cursor position up to the next  blank  or  car-
          riage return.

          If _n_u_m_b_e_r is  greater  than  one,  <ESC>^Y  takes  that
          number of words and puts them in the current buffer.

     ^^^^\\\\   changes the current take buffer.

          On the information line you will see the  TTTTaaaakkkkeeee  BBBBuuuuffffffffeeeerrrr::::
          prompt.  Type  a  take buffer name and press the RETURN
          key.

          If you type a new name, a new take buffer  is  created.
          If  you  type  a  name you have already used during the
          current  editing  session,  you  can  reuse  that  take
          buffer.   The  take  buffer name is always displayed on
          the information line.

     <<<<EEEESSSSCCCC>>>>^^^^\\\\
          clears any text out of the current take buffer. On  the
          information  line  you will see the Buffer cleared mes-
          sage.


SSSSEEEEAAAARRRRCCCCHHHH
     SSSSeeeeaaaarrrrcccchhhh ccccoooommmmmmmmaaaannnndddd oooovvvveeeerrrrvvvviiiieeeewwww::::

KKKKeeeeyyyy         CCCCTTTTRRRRLLLL             EEEESSSSCCCC CCCCTTTTRRRRLLLL          AAAALLLLTTTT              AAAALLLLTTTT EEEESSSSCCCC
LLLLaaaabbbbeeeellll                                          set mark first   set mark first

FFFF9999      RRRR   forward search   reverse search    forward search   reverse search
FFFF11110000     ZZZZ   re-search        reverse re-srch   re-srch          reverse re-srch


     SSSSeeeeaaaarrrrcccchhhh ccccoooommmmmmmmaaaannnnddddssss iiiinnnn ddddeeeettttaaaaiiiillll::::

     ^^^^RRRR   searches forward in  a  file  for  the  specified  text
          string.

          On the information  line  you  will  see  the  ++++SSSSeeeeaaaarrrrcccchhhh::::
          prompt. Type the string you want to find. If the string
          exists between the cursor's current  position  and  the
          end of the file, vvvveeeedddd moves the cursor to that location.
          If vvvveeeedddd can not find the specified  string,  the  cursor
          does not move and you will hear a beep.

          If _n_u_m_b_e_r is greater than one, ^^^^RRRR finds  that  numbered
          occurrence of the string.




Joerg Schilling       Last change: 00/12/27                    14






VED(1L)              Schily's USER COMMANDS               VED(1L)



     <<<<EEEESSSSCCCC>>>>^^^^RRRR
          searches backwards in a file  for  the  specified  text
          string.

          On the information line you  will  see  the   ---- SSSSeeeeaaaarrrrcccchhhh::::
          prompt. Type the string you want to find. If the string
          exists between the cursor's current  position  and  the
          beginning  of  the  file,  vvvveeeedddd moves the cursor to that
          location. If vvvveeeedddd can not find the  string,  the  cursor
          does not move and you will hear a beep.

          If _n_u_m_b_e_r is greater than one, <<<<EEEESSSSCCCC>>>>^^^^RRRR finds that  num-
          bered occurrence of the string.

     <<<<AAAALLLLTTTT>>>>^^^^RRRR
          searches forward in  a  file  for  the  specified  text
          string.

          On the information  line  you  will  see  the  ++++SSSSeeeeaaaarrrrcccchhhh::::
          prompt. Type the string you want to find. When (and if)
          found, the mark is inserted at  the  beginning  of  the
          string  and  the cursor moves to the end of the string;
          the string is then considered selected. If vvvveeeedddd can  not
          find  the  string, the cursor does not move, no mark is
          inserted, and you will hear a beep.

          If _n_u_m_b_e_r is greater than one, <<<<AAAALLLLTTTT>>>>^^^^RRRR finds that  num-
          bered occurrence of the string.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^RRRR
          searches backwards in a file  for  the  specified  text
          string.

          On the information line you  will  see  the   ---- SSSSeeeeaaaarrrrcccchhhh::::
          prompt.  Type  the string you want to find. When found,
          the mark is inserted at the  beginning  of  the  search
          string  and  the cursor moves to the end of the string;
          the string is then considered selected. If vvvveeeedddd can  not
          find  the  string, the cursor does not move, no mark is
          inserted, and you will hear a beep.

          If _n_u_m_b_e_r is greater than one, <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^RRRR finds  that
          numbered occurrence of the string.

     ^^^^ZZZZ   re-searches for the last text string you asked  to  for
          with the ^^^^RRRR, <<<<EEEESSSSCCCC>>>>^^^^RRRR, <<<<AAAALLLLTTTT>>>>^^^^RRRR, or <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^RRRR command.
          If you already found one occurrence of the text string,
          ^^^^ZZZZ  will  find the next occurrence. If vvvveeeedddd can not find
          another occurrence, the cursor does not  move  and  you
          will hear a beep.





Joerg Schilling       Last change: 00/12/27                    15






VED(1L)              Schily's USER COMMANDS               VED(1L)



          If _n_u_m_b_e_r is greater than one, instance, ^^^^ZZZZ finds  that
          numbered occurrence of the string.

     <<<<EEEESSSSCCCC>>>>^^^^ZZZZ
          reverses direction and re-searches for  the  last  text
          string  you asked for with the ^^^^RRRR, <<<<EEEESSSSCCCC>>>>^^^^RRRR, <<<<AAAALLLLTTTT>>>>^^^^RRRR, or
          <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^RRRR  command.  If  you   already   found   one
          occurrence  of  the  text string, <<<<EEEESSSSCCCC>>>>^^^^ZZZZ will find the
          next, or previous, occurrence, depending on which  your
          direction.  For  instance,  if the original command was
          ^^^^RRRR, <<<<EEEESSSSCCCC>>>>^^^^ZZZZ will find the previous occurrence.  If  vvvveeeedddd
          can  not  find  another occurrence, the cursor does not
          move and you will hear a beep.

          If _n_u_m_b_e_r is greater than one, instance, <<<<EEEESSSSCCCC>>>>^^^^ZZZZ  finds
          that numbered occurrence of the string.

     <<<<AAAALLLLTTTT>>>>^^^^ZZZZ
          re-searches for the last text string you asked for with
          the  ^^^^RRRR,  <<<<EEEESSSSCCCC>>>>^^^^RRRR, <<<<AAAALLLLTTTT>>>>^^^^RRRR, or <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^RRRR command. If
          you already found one occurrence of  the  text  string,
          <<<<AAAALLLLTTTT>>>>^^^^ZZZZ  will find the next occurrence, set the mark at
          the beginning of it, and move the cursor to the end  of
          it.   This  occurrence of the string is then considered
          selected. If vvvveeeedddd can not find another  occurrence,  the
          cursor does not move, no mark is inserted, and you will
          hear a beep.

          If _n_u_m_b_e_r is greater than one, instance, <<<<AAAALLLLTTTT>>>>^^^^ZZZZ  finds
          that numbered occurrence of the search string, with the
          numbering beginning from the current  cursor  position.
          For   instance,   if   _n_u_m_b_e_r  is  4,  the  next  three
          occurrences are skipped and the mark is inserted at the
          beginning  of the fourth occurrence of the string. This
          happens regardless  of  how  many  occurrences  of  the
          string  have already been located, unless there are not
          that many occurrences of the string in the file.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^ZZZZ
          reverses direction and re-searches for  the  last  text
          string  you asked for with the ^^^^RRRR, <<<<EEEESSSSCCCC>>>>^^^^RRRR, <<<<AAAALLLLTTTT>>>>^^^^RRRR, or
          <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^RRRR  command.  If  you   already   found   one
          occurrence  of  the text string, <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^ZZZZ will find
          the next, or previous, occurrence,  depending  on  your
          direction.  For  instance,  if the original command was
          ^^^^RRRR, <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^ZZZZ will find the previous occurrence, set
          the mark at the beginning of it, and move the cursor to
          the end of it. This occurrence of the search string  is
          then considered selected.

          If _n_u_m_b_e_r is greater than one,  instance,  <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^ZZZZ
          finds  that  numbered  occurrence of the search string,



Joerg Schilling       Last change: 00/12/27                    16






VED(1L)              Schily's USER COMMANDS               VED(1L)



          with the numbering beginning from  the  current  cursor
          position.


EEEEXXXXIIIITTTTIIIINNNNGGGG////PPPPUUUUTTTTTTTTIIIINNNNGGGG
     ^^^^CCCC   The QUIT command ends the editing session.

          On the information line you will see the QQQQUUUUIIIITTTTTTTTIIIINNNNGGGG....  PPPPUUUUTTTT
          EEEEDDDDIIIITTTTSSSS???? ((((YYYY////WWWW////NNNN////FFFF////!!!!)))) prompt.

          Type YYYY  if you want to save  the  changes  made  during
                  this  editing session by creating a backup file
                  and creating a new file that holds the modified
                  content.   The  backup process is done the fol-
                  lowing way:

                  The current  backup  file  (if  there  is  one)
                  (called  _f_i_l_e_n_a_m_e.bak)  is deleted, the current
                  file is renamed to _f_i_l_e_n_a_m_e.bak, and a  version
                  of  the  file  containing  the  latest  changes
                  becomes _f_i_l_e_n_a_m_e.  If there is no _f_i_l_e_n_a_m_e.bak,
                  _f_i_l_e_n_a_m_e becomes _f_i_l_e_n_a_m_e.bak.

          Type WWWW  if you want to save  the  changes  made  during
                  this  editing  session  by directly writing the
                  new content into the old file.

          Type FFFF  if you want to ffffoooorrrrcccciiiibbbbllllyyyy save the  changes  made
                  during  this  editing  session.   This  command
                  works similar to the YYYY command,  but  vvvveeeedddd  will
                  ignore  the state of the ----rrrreeeeaaaaddddoooonnnnllllyyyy flag and the
                  access rights of the  file.   The  latter  will
                  allow  you  to  write  into files without write
                  permissions if you are super user.  For  execp-
                  tions  on  this  rule, see description of the ----
                  rrrreeeeaaaaddddoooonnnnllllyyyy ffffllllaaaagggg....

          Type !!!!  if you want to ffffoooorrrrcccciiiibbbbllllyyyy save the  changes  made
                  during this editing session by directly writing
                  the new content into the old file.

          Type NNNN  if you want to end the session but  don't  want
                  to save the changes.

          If you don't want to end  the  session,  type  anything
          except YYYY, WWWW, FFFF, !!!! or NNNN.

          If the file has been locked before by another edit ses-
          sion  or  if  the  file has been modified more recently
          than the copy that has been used for the  current  ses-
          sion,  you  will  not be allowed to save the file.  Use
          the force commands  (FFFF  or  !!!!)   or  write  back  using



Joerg Schilling       Last change: 00/12/27                    17






VED(1L)              Schily's USER COMMANDS               VED(1L)



          different file name.

     <<<<EEEESSSSCCCC>>>>^^^^CCCC
          The BACKUP command backs up the current file.

          On   the   information   line   you   will   see    the
          BBBBAAAACCCCKKKKUUUUPPPP????((((YYYY////WWWW////NNNN////FFFF////!!!!)))) prompt.

          If you enter one of the expected answers ( YYYY, WWWW,  !!!!  or
          NNNN)  The  same actions as with the QUIT command are per-
          formed except that the controls stays inside vvvveeeedddd  after
          the backup command has completed.

     ^^^^XXXX^^^^HHHH calls on-line help.

          On the information  line  you  will  see  the  HHHHEEEELLLLPPPP((((YYYY????))))
          prompt.  To  continue editing (and abort this command),
          type NNNN.  To see the help file, type YYYY.

     ^^^^XXXX^^^^ZZZZ suspends the current editing session.

          On the information line you will  see  the  SSSSUUUUSSSSPPPPEEEENNNNDDDDIIIINNNNGGGG....
          PPPPUUUUTTTT EEEEDDDDIIIITTTTSSSS???? ((((YYYY////WWWW////NNNN////FFFF////!!!!)))) prompt.

          Type YYYY  if you want the file to be backuped and updated
                  before  suspending  vvvveeeedddd.   See the QQQQUUUUIIIITTTT command
                  for a description of the backup process.

          Type WWWW  if you want the the file to be updated in place
                  before suspending vvvveeeedddd.

          Type FFFF  if you want file to be ffffoooorrrrcccciiiibbbbllllyyyy updated  before
                  suspending  vvvveeeedddd.  This command works similar to
                  the YYYY command, but vvvveeeedddd will ignore the state of
                  the ----rrrreeeeaaaaddddoooonnnnllllyyyy flag and the access rights of the
                  file.  The latter will allow you to write  into
                  files  without  write  permissions  if  you are
                  super user.  For execptions on this  rule,  see
                  description of the ----rrrreeeeaaaaddddoooonnnnllllyyyy ffffllllaaaagggg....

          Type !!!!  if you want file  to  be  ffffoooorrrrcccciiiibbbbllllyyyy  updated  in
                  place before suspending vvvveeeedddd.

          Type NNNN  if you want to suspend vvvveeeedddd but  don't  want  to
                  save the changes before.

          If you don't want to suspend vvvveeeedddd, type anything  except
          YYYY, WWWW, FFFF, !!!! or NNNN.

          If the file has been locked before by another edit ses-
          sion  or  if  the  file has been modified more recently
          than the copy  that  has  been  used  for  the  current



Joerg Schilling       Last change: 00/12/27                    18






VED(1L)              Schily's USER COMMANDS               VED(1L)



          session, you will not be allowed to save the file.  Use
          the force commands (FFFF or !!!!)  or write back  using  dif-
          ferent file name.

          When you are ready to continue editing, use the  ffffgggg  or
          rrrreeeessssuuuummmmeeee  command  of  your shell. You will return to the
          editing session. The cursor will be in the  same  place
          it  was  when  you suspended the session, regardless of
          whether or not you saved your edits.


FFFFIIIILLLLEEEE CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
     ^^^^GGGG   lets you insert another  file  at  the  current  cursor
          position.

          On the information line you  will  see  the  GGGGeeeetttt  ffffrrrroooommmm::::
          prompt. Type a file name and press the RETURN key.

          You can insert files from the current working directory
          or  from  other directories (as long as you use a valid
          path name). The path name is subject of filename  glob-
          bing by your shell (e.g. wild cards are working as long
          as they expand to exactly one filename).

     <<<<EEEESSSSCCCC>>>>^^^^GGGG
          exits the current file and enters another file.

          On the information line you will  see  the  CCCChhhhaaaannnnggggeeee  ttttoooo::::
          prompt.  Type the name of the file you wish to edit and
          press the RETURN key.

          If the old file was modified, you will see the CCCCHHHHAAAANNNNGGGGIIIINNNNGGGG
          TTTTOOOO::::  _f_i_l_e_n_a_m_e.   PPPPUUUUTTTT  EEEEDDDDIIIITTTTSSSS????((((YYYY////WWWW////NNNN////FFFF////!!!!))))  prompt; if you
          want to save and backup the edits in the current file.

          Type YYYY  if you want the file to be backuped and updated
                  before changing the file.  See the QQQQUUUUIIIITTTT command
                  for a description of the backup process.

          Type WWWW  if you want the the file to be updated in place
                  before changing the file.

          Type FFFF  if you want file to be ffffoooorrrrcccciiiibbbbllllyyyy updated  before
                  changing  the file.  This command works similar
                  to the YYYY command, but vvvveeeedddd will ignore the state
                  of  the ----rrrreeeeaaaaddddoooonnnnllllyyyy flag and the access rights of
                  the file.  The latter will allow you  to  write
                  into files without write permissions if you are
                  super user.  For execptions on this  rule,  see
                  description of the ----rrrreeeeaaaaddddoooonnnnllllyyyy ffffllllaaaagggg....

          Type !!!!  if you want file  to  be  ffffoooorrrrcccciiiibbbbllllyyyy  updated  in



Joerg Schilling       Last change: 00/12/27                    19






VED(1L)              Schily's USER COMMANDS               VED(1L)



                  place before changing the file.

          Type NNNN  if you want to change the file but  don't  want
                  to save the changes before.

          If you don't want to change the edited file, type  any-
          thing except YYYY, WWWW, FFFF, !!!! or NNNN.

          If the file has been locked before by another edit ses-
          sion  or  if  the  file has been modified more recently
          than the copy that has been used for the  current  ses-
          sion,  you  will  not be allowed to save the file.  Use
          the force commands (FFFF or !!!!)  or write back  using  dif-
          ferent file name.

     ^^^^WWWW   writes a copy of the file you are editing to  the  file
          you specify.

          On the information line you  will  see  the  WWWWrrrriiiitttteeee  ttttoooo::::
          prompt.  Type  a file name and press the RETURN key. If
          the file exists, its contents are overwritten.  If  the
          file does not exist, it is created.

     <<<<EEEESSSSCCCC>>>>^^^^WWWW
          writes the contents of the current take buffer  to  the
          file you specify.

          On the information line you will see  the  \\\\  ttttoooo  ffffiiiilllleeee::::
          prompt.  Type  a file name and press the RETURN key. If
          the file exists, its contents are overwritten.  If  the
          file  does  not  exist,  it is created. The take buffer
          contents will remain intact.

     <<<<AAAALLLLTTTT>>>>^^^^WWWW
          writes a copy of the selection (what lies  between  the
          mark and the cursor) to the file you specify.

          On the information  line  you  will  see  the  SSSSeeeellll  ttttoooo::::
          prompt.  Type  a file name and press the RETURN key. If
          the file exists, its contents are overwritten.  If  the
          file does not exist, it is created.


NNNNUUUUMMMMBBBBEEEERRRRSSSS
     <<<<EEEESSSSCCCC>>>>####<<<<CCCCRRRR>>>>
          To enter a multiplier that only works for the next com-
          mand,  type  <<<<EEEESSSSCCCC>>>>,  enter  a number and then press the
          RETURN key.  If you entered a number by mistake, simply
          enter  <<<<EEEESSSSCCCC>>>>1111<<<<CCCCRRRR>>>>  to  reset the number to it's default
          value.

     ^^^^UUUU   multiplies  _n_u_m_b_e_r  by  the  multiplier.  The   default



Joerg Schilling       Last change: 00/12/27                    20






VED(1L)              Schily's USER COMMANDS               VED(1L)



          multiplier  is 4. Each time you press ^^^^UUUU _n_u_m_b_e_r changes
          to the next multiple of 4 (16, 16, 64, and so on).

     <<<<EEEESSSSCCCC>>>>^^^^UUUU
          changes the multiplier.

          The default multiplier is 4. If you  want  to  multiply
          _n_u_m_b_e_r  by  a  different  value,  use  <<<<EEEESSSSCCCC>>>>^^^^UUUU.  On the
          information line you will see the MMMMuuuulllltttt ==== prompt. Type a
          number and press the RETURN key.


MMMMIIIISSSSCCCCEEEELLLLLLLLAAAANNNNEEEEOOOOUUUUSSSS
     <<<<AAAALLLLTTTT>>>>^^^^GGGG
          lets you edit your editing macro  file  called  ....vvvveeeeddddmmmmaaaacccc
          (which  is located in your $_H_O_M_E directory).  It is the
          same as if you used ^^^^XXXX^^^^XXXX  to  execute  a  new  vvvveeeedddd  and
          answered  NNNN  to  the _p_u_t question. When you are through
          editing ....vvvveeeeddddmmmmaaaacccc, press ^C to continue editing the  file
          you  were  in  when you issued the <<<<AAAALLLLTTTT>>>>^^^^GGGG command; you
          will be asked whether or not you want to put the  edits
          from ....vvvveeeeddddmmmmaaaacccc before you return to the original file.

     <<<<AAAALLLLTTTT>>>>^^^^JJJJ
          moves the cursor to the mark.

          The current cursor position determines whether this  is
          a  forward  or  backward movement. For instance, if the
          mark is in the middle of the file and the cursor is  at
          the beginning, its a forward movement; if the cursor is
          at the end, its a backward movement.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^JJJJ
          switches the cursor and the mark.

     ^^^^LLLL   redisplays the current screenful of text. This is  use-
          ful  after  a  message  has  been sent to your terminal
          which may have overwritten some of the text.

     <<<<EEEESSSSCCCC>>>>^^^^LLLL
          adjusts the text displayed on the  terminal  screen  so
          that the line the cursor is on becomes the optimum line
          on the screen.  This usually is the center line of  the
          display  but it may be changed using the <<<<EEEESSSSCCCC>>>>::::sssseeeetttt oooopppptttt----
          lllliiiinnnneeee #### <<<<CCCCRRRR>>>> command.  This may involve displaying  dif-
          ferent  text, depending on where the cursor is when you
          use this command.

     <<<<AAAALLLLTTTT>>>>^^^^LLLL
          Adjusts the current Line of the Cursor to be the  first
          Line on Screen.




Joerg Schilling       Last change: 00/12/27                    21






VED(1L)              Schily's USER COMMANDS               VED(1L)



     <<<<EEEESSSSCCCC>>>>^^^^MMMM
          changes modes.

          On the information line you will  see  the  MMMMooooddddeeee????((((OOOORRRRVVVV8888))))
          prompt.  Type

          DDDD    to enable or disable DDDDOOOOSSSS mode.

          VVVV    for visible mode.

          OOOO    for overstrike mode.

          8888    to enable or disable rrrraaaawwww8888 mode.

          RRRR    to reset back to default mode.

          <<<<CCCCRRRR>>>> to list the current mode settings.

          If you type anything else, you will abort the command.

     <<<<AAAALLLLTTTT>>>>^^^^MMMM
          sets a mark at the current cursor position.


     <<<<EEEESSSSCCCC>>>>nnnn
          displays the next Page of file.

     <<<<EEEESSSSCCCC>>>>pppp
          displays the previous Page of file.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>nnnn
          Sets a Mark, then displays the next Page of file.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>pppp
          Sets a Mark, then displays the previous Page of file.

     ^^^^QQQQ   unfreezes the screen which was frozen by pressing ^^^^SSSS.

     ^^^^SSSS   freezes cursor and text movement on the screen. Use  ^^^^QQQQ
          to unfreeze it.

     ^^^^XXXX^^^^XXXX lets you execute a _s_h_e_l_l  command  without  terminating
          the editing session.

          Control temporarily returns to the Command  Interpreter
          while  the  command  is executed, then you can continue
          editing. For instance, if you want to read another file
          into  the  one you are editing but can not remember the
          file name, you can execute an ls command  to  find  its
          name.  When  you  type  ^^^^XXXX^^^^XXXX, you will see the EEEExxxxeeeeccccuuuutttteeee::::
          prompt on the information line. Type the  command  line
          and  press  the  RETURN  key.  If the file was modified



Joerg Schilling       Last change: 00/12/27                    22






VED(1L)              Schily's USER COMMANDS               VED(1L)



          before you called ^^^^XXXX^^^^XXXX, you will see the EEEEXXXXEEEECCCCUUUUTTTTIIIINNNNGGGG.... PPPPUUUUTTTT
          EEEEDDDDIIIITTTTSSSS???? ((((YYYY////WWWW////NNNN////FFFF////!!!!)))) prompt.

          Type YYYY  if you want the file to be backuped and updated
                  before  executing  the  command.   See the QQQQUUUUIIIITTTT
                  command for a description of  the  backup  pro-
                  cess.

          Type WWWW  if you want the the file to be updated in place
                  before executing the command.

          Type FFFF  if you want file to be ffffoooorrrrcccciiiibbbbllllyyyy updated  before
                  executing  the  command.   This  command  works
                  similar to the YYYY command, but vvvveeeedddd  will  ignore
                  the  state of the ----rrrreeeeaaaaddddoooonnnnllllyyyy flag and the access
                  rights of the file.  The latter will allow  you
                  to  write  into files without write permissions
                  if you are super user.  For execptions on  this
                  rule, see description of the ----rrrreeeeaaaaddddoooonnnnllllyyyy ffffllllaaaagggg....

          Type !!!!  if you want file  to  be  ffffoooorrrrcccciiiibbbbllllyyyy  updated  in
                  place before executing the command.

          Type NNNN  if you want to execute the  command  but  don't
                  want to save the changes before.

          If the file has been locked before by another edit ses-
          sion  or  if  the  file has been modified more recently
          than the copy that has been used for the  current  ses-
          sion,  you  will  not be allowed to save the file.  Use
          the force commands (FFFF or !!!!)  or write back  using  dif-
          ferent file name.

          In all cases, after returning  from  the  command,  the
          cursor  will be on the same place as it was before typ-
          ing ^^^^XXXX^^^^XXXX.

          Note that if the _s_h_e_l_l  command  you  want  to  execute
          requires  the  current  file  as an argument, you might
          need to update it. For instance, if you  the  file  you
          are  editing contains formatting commands that you want
          to test, you will need to update the file so  that  the
          version  of  the  file  you format and view is the most
          up-to-date one.

          To abort the command while you  can  see  the  EEEExxxxeeeeccccuuuutttteeee::::
          prompt,  do not type a command; simply press the RETURN
          key. If you had started to  type  a  command,  use  the
          DELETE  key to erase it; the field following the prompt
          must be blank. To abort the command while you  can  see
          the EEEEXXXXEEEECCCCUUUUTTTTIIIINNNNGGGG.... PPPPUUUUTTTT EEEEDDDDIIIITTTTSSSS???? ((((YYYY////WWWW////NNNN////FFFF////!!!!)))) prompt, type any-
          thing except YYYY, WWWW, FFFF, !!!! NNNN.



Joerg Schilling       Last change: 00/12/27                    23






VED(1L)              Schily's USER COMMANDS               VED(1L)



     <<<<EEEESSSSCCCC>>>>^^^^XXXX
          executes the contents of the current take buffer.

          You can type a _s_h_e_l_l command line in your file and then
          save  it in a take buffer (using the ^^^^TTTT, <<<<EEEESSSSCCCC>>>>^^^^TTTT, ^^^^YYYY or
          <<<<EEEESSSSCCCC>>>>^^^^YYYY commands).

          When you type <ESC>^X, you will see the EEEEXXXXEEEECCCCUUUUTTTTIIIINNNNGGGG....  PPPPUUUUTTTT
          EEEEDDDDIIIITTTTSSSS???? ((((YYYY////WWWW////NNNN////FFFF////!!!!)))) prompt on the information line.

          Type YYYY  if you want the file to be backuped and updated
                  before  executing  the  command.   See the QQQQUUUUIIIITTTT
                  command for a description of  the  backup  pro-
                  cess.

          Type WWWW  if you want the the file to be updated in place
                  before executing the command.

          Type FFFF  if you want file to be ffffoooorrrrcccciiiibbbbllllyyyy updated  before
                  executing  the  command.   This  command  works
                  similar to the YYYY command, but vvvveeeedddd  will  ignore
                  the  state of the ----rrrreeeeaaaaddddoooonnnnllllyyyy flag and the access
                  rights of the file.  The latter will allow  you
                  to  write  into files without write permissions
                  if you are super user.  For execptions on  this
                  rule, see description of the ----rrrreeeeaaaaddddoooonnnnllllyyyy ffffllllaaaagggg....

          Type !!!!  if you want file  to  be  ffffoooorrrrcccciiiibbbbllllyyyy  updated  in
                  place before executing the command.

          Type NNNN  if you want to execute the  command  but  don't
                  want to save the changes before.

          If you don't want to execute the command, type anything
          except YYYY, WWWW, FFFF, !!!! or NNNN.

          If the file has been locked before by another edit ses-
          sion  or  if  the  file has been modified more recently
          than the copy that has been used for the  current  ses-
          sion,  you  will  not be allowed to save the file.  Use
          the force commands (FFFF or !!!!)  or write back  using  dif-
          ferent file name.

     <<<<AAAALLLLTTTT>>>>^^^^XXXX
          executes the selection (what lies between the mark  and
          the cursor).

          You can type a _s_h_e_l_l command  line  in  your  file  and
          select it.

          When you type <<<<AAAALLLLTTTT>>>>^^^^XXXX, you will see the EEEEXXXXEEEECCCCUUUUTTTTIIIINNNNGGGG....  PPPPUUUUTTTT
          EEEEDDDDIIIITTTTSSSS???? ((((YYYY////WWWW////NNNN////FFFF////!!!!)))) prompt on the information line.



Joerg Schilling       Last change: 00/12/27                    24






VED(1L)              Schily's USER COMMANDS               VED(1L)



          Type YYYY  if you want the file to be backuped and updated
                  before  executing  the  command.   See the QQQQUUUUIIIITTTT
                  command for a description of  the  backup  pro-
                  cess.

          Type WWWW  if you want the the file to be updated in place
                  before executing the command.

          Type FFFF  if you want file to be ffffoooorrrrcccciiiibbbbllllyyyy updated  before
                  executing  the  command.   This  command  works
                  similar to the YYYY command, but vvvveeeedddd  will  ignore
                  the  state of the ----rrrreeeeaaaaddddoooonnnnllllyyyy flag and the access
                  rights of the file.  The latter will allow  you
                  to  write  into files without write permissions
                  if you are super user.  For execptions on  this
                  rule, see description of the ----rrrreeeeaaaaddddoooonnnnllllyyyy ffffllllaaaagggg....

          Type !!!!  if you want file  to  be  ffffoooorrrrcccciiiibbbbllllyyyy  updated  in
                  place before executing the command.

          Type NNNN  if you want to execute the  command  but  don't
                  want to save the changes before.

          If you don't want to execute the command, type anything
          except YYYY, WWWW, FFFF, !!!! or NNNN.

          If the file has been locked before by another edit ses-
          sion  or  if  the  file has been modified more recently
          than the copy that has been used for the  current  ses-
          sion,  you  will  not be allowed to save the file.  Use
          the force commands (FFFF or !!!!)  or write back  using  dif-
          ferent file name.

     ^^^^@@@@   indicates the current line number.  This  number  tells
          you  how  many lines exist between the beginning of the
          file and the current cursor position.

          On the information line you will see ++++LLLLiiiinnnneeee::::  _3_3_3  where
          _3_3_3 is the current line number.

     <<<<EEEESSSSCCCC>>>>^^^^@@@@
          indicates how many lines exist between the current cur-
          sor position and the end of the file.

          On the information line you will see ----LLLLiiiinnnneeee:::: _2_2 where _2_2
          is the number of lines remaining in the file.

     <<<<AAAALLLLTTTT>>>>^^^^@@@@
          indicates what line the mark is on, in relation to  the
          beginning of the file.





Joerg Schilling       Last change: 00/12/27                    25






VED(1L)              Schily's USER COMMANDS               VED(1L)



          On the information line you will see ++++LLLLiiiinnnneeee:::: _4_5 where _4_5
          is  the  positive  line  number  on  which  the mark is
          located.

          If there is no mark, you will see NNNNoooo mmmmaaaarrrrkkkk!!!! displayed on
          the far right of the information line.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^@@@@
          indicates what line the mark is on, in relation to  the
          end of the file.

          On the information line you will see ----LLLLiiiinnnneeee::::  _1_0_9  where
          _1_0_9  is  the  negative line number on which the mark is
          located.

          If there is no mark, you will see NNNNoooo mmmmaaaarrrrkkkk!!!! displayed on
          the far right of the information line.

     ^^^^[[[[   is the same as using the <<<<EEEESSSSCCCC>>>> key.

     ^^^^]]]]   is <<<<AAAALLLLTTTT>>>>.  Use this sequence of keystrokes to start  an
          AAAALLLLTTTT command.

     ^^^^XXXX   is the lead in character for an extended command.

     <<<<EEEESSSSCCCC>>>>^^^^]]]]
          is the same as using <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>.

     ^^^^^^^^   quotes the next character so that it is taken literally
          and  then  is  converted  to  a control character.  For
          instance, if you want to include a command in  a  macro
          definition, you must quote the keystroke sequence. Oth-
          erwise, the command will be executed rather than become
          part of your macro.

     <<<<EEEESSSSCCCC>>>>^^^^^^^^
          quotes the next character so that is becomes  a  8  bit
          character.

     <<<<AAAALLLLTTTT>>>>^^^^^^^^
          quotes the next character so that is becomes  a  8  bit
          control character.

     <<<<AAAALLLLTTTT>>>><<<<EEEESSSSCCCC>>>>^^^^^^^^
          quotes the next character so that you type it in  in  a
          hexadecimal notation.

     <<<<AAAALLLLTTTT>>>><<<<AAAALLLLTTTT>>>>
          goto tag that is a word  located  at  cursor  position.
          See FFFFIIIILLLLEEEESSSS section for more information on the ttttaaaagggg file.

     <<<<EEEESSSSCCCC>>>><<<<AAAALLLLTTTT>>>><<<<AAAALLLLTTTT>>>>



Joerg Schilling       Last change: 00/12/27                    26






VED(1L)              Schily's USER COMMANDS               VED(1L)



          pop the tag stack by one entry.  Every time you go to a
          tag,  the  old  location  is  puched  on top of the tag
          stack.

     <<<<EEEESSSSCCCC>>>>%%%%
          search for matching parenthesis.  If  this  command  is
          entered,  the  cursor  is  put  to the parenthesis that
          matches the parenthesis where the cursor  is  currently
          located.

     <<<<EEEESSSSCCCC>>>>****
          Execute temporary macro.  One temporary  macro  may  be
          set up using the command <<<<EEEESSSSCCCC>>>>::::mmmmaaaaccccrrrroooo command.

     <<<<EEEESSSSCCCC>>>>::::
          introduce a colon command.  See section CCCCOOOOLLLLOOOONNNN  CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
          for more information.


CCCCOOOOLLLLOOOONNNN CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
     Colon commands are introduced via <<<<EEEESSSSCCCC>>>>::::
     The command then may be entered on the (top) status line  of
     vvvveeeedddd.

     The colon commands are:

     bbbbaaaacccckkkkuuuupppp
          Backup current file. This command is the same  as  when
          <<<<EEEESSSSCCCC>>>>^^^^CCCC  is entered.  It may be needed if for some rea-
          son it it not possible to enter the interrupt character
          of the terminal driver.

     bbbbiiiinnnndddd Print the current command binding for vvvveeeedddd.  Later  ver-
          sions  of vvvveeeedddd may allow to modify the binding with this
          command.

     hhhheeeellllpppp print online help for available colon commands.

     mmmmaaaaccccrrrroooo _m_a_c_r_o _b_o_d_y
          set up a temporary  macro  that  may  be  executed  via
          <<<<EEEESSSSCCCC>>>>****

     mmmmaaaapppp

     mmmmaaaapppp _f_r_o_m-_s_t_r_i_n_g _t_o-_s_t_r_i_n_g
          The first form lists all currently active mappings, the
          second form sets up a new mapping.

     nnnneeeexxxxtttt switch to next file in file  list.   This  command  may
          only  be used if vvvveeeedddd has been called with more than one
          file argument.




Joerg Schilling       Last change: 00/12/27                    27






VED(1L)              Schily's USER COMMANDS               VED(1L)



     pppprrrreeeevvvv switch to previous file in file list.  This command may
          only  be used if vvvveeeedddd has been called with more than one
          file argument.

     qqqquuuuiiiitttt Quit vvvveeeedddd.  This command is  the  same  as  when  ^^^^CCCC  is
          entered.  It may be needed if for some reason it it not
          possible to enter the interrupt character of the termi-
          nal driver.

     sssseeeetttt

     sssseeeetttt _s_e_t-_v_a_r_i_a_b_l_e _s_e_t-_a_r_g_s
          The first form lists the current settings of  vvvveeeedddd,  the
          second  form sets a specific property of vvvveeeedddd.  The vai-
          ables that may be modified via the sssseeeetttt command are:

          aaaauuuuttttooooiiiinnnnddddeeeennnntttt
               If set, vvvveeeedddd activates the auto indent mode. Subse-
               quent  lines  will  be automatically indented with
               the same indent as the previous line.  Switch  off
               with <<<<EEEESSSSCCCC>>>>::::sssseeeetttt nnnnooooaaaauuuuttttooooiiiinnnnddddeeeennnntttt

          lllliiiinnnneeeelllleeeennnn _n_e_w-_l_i_n_e_l_e_n
               Set linelength that is used  as  base  for  screen
               updates.  This linenength usually is retrived from
               the terminal driver but may be modified manually.

          mmmmaaaaggggiiiicccc
               Switch to mmmmaaaaggggiiiicccc mode for pattern matching (this is
               the  default  when  vvvveeeedddd  has  been started). If in
               magic mode, matching is done using regular expres-
               sion  pattern matching.  This mode may be switched
               off with <<<<EEEESSSSCCCC>>>>::::sssseeeetttt  nnnnoooommmmaaaaggggiiiicccc.   If  mmmmaaaaggggiiiicccc  mode  is
               turned off, matching is done without using regular
               expression matching even if the  pattern  contains
               _m_a_g_i_c _c_h_a_r_a_c_t_e_r_s _f_o_r _p_a_t_t_e_r_n _m_a_t_c_h_i_n_g.

          mmmmaaaarrrrkkkkwwwwrrrraaaapppp
               Mark wrapped lines with a \ character at  the  end
               of  a  visible  terminal line (this is the default
               when vvvveeeedddd has been  started).   This  mode  may  be
               switched off with <<<<EEEESSSSCCCC>>>>::::sssseeeetttt nnnnoooommmmaaaarrrrkkkkwwwwrrrraaaapppp.

          ooooppppttttlllliiiinnnneeee _o_p_t-_l_i_n_e
               Set the _o_p_t_i_m_a_l _l_i_n_e.  This is the  line  (counted
               from  the top of the terminal) where the cursor is
               adjusted to when vvvveeeedddd does scrolling.  It is set by
               default  to the half of the number of lines of the
               terminal.

          ppppmmmmaaaarrrrggggiiiinnnn _p_a_g_e-_m_a_r_g_i_n
               Set the distance you  need  to  have  between  the



Joerg Schilling       Last change: 00/12/27                    28






VED(1L)              Schily's USER COMMANDS               VED(1L)



               cursoe and the upper or lower border of the termi-
               nal. If you cross this border, vvvveeeedddd will  start  to
               scroll  and adjust the cursor to the optimal line.
               It is set by default to 0 and allows to place  the
               cursor to any visible line on the screen.

          ppppssssiiiizzzzeeee _p_a_g_e-_s_i_z_e
               Set pagesize that  is  used  as  base  for  screen
               updates.   This  pagesize usually is retrived from
               the terminal driver but may be modified manually.

          ttttaaaabbbbssssttttoooopppp _t_a_b-_w_i_d_t_h
               Set the size of a visible  tab  chacaracter.  This
               width is set to 8 by default.

          ttttaaaagggglllleeeennnnggggtttthhhh _t_a_g-_l_e_n-_v_a_l_u_e
               Set the number of characters that are used to com-
               pare a tag name with a tag label in the ttttaaaaggggssss file.
               If it is set to 0 (the default), vvvveeeedddd compares  the
               complete tag length.

          ttttaaaaggggssss _t_a_g-_f_i_l_e-_l_i_s_t
               Set the list if files that is searched when  look-
               ing  for  a  tag  data base.  The tag file list is
               separated by blanks and by default set to

               _t_a_g_s .. /_u_s_r/_l_i_b/_t_a_g_s

               This means that vvvveeeedddd will first  look  for  a  file
               ttttaaaaggggssss  in the current directory, then search up for
               (directory by directory until the  root  directors
               is  reached) a file ttttaaaaggggssss and last it vill look for
               a file ////uuuussssrrrr////lllliiiibbbb////ttttaaaaggggssss.

          wwwwrrrraaaappppmmmmaaaarrrrggggiiiinnnn _w_r_a_p-_m_a_r_g_i_n
               If wwwwrrrraaaappppmmmmaaaaggggiiiinnnn is set, vvvveeeedddd will activate  the  auto-
               warp  mode.  In auto-wrap mode, vvvveeeedddd will automati-
               cally insert a new-line before a word if the  cur-
               sor  is less than _w_r_a_p-_m_a_g_i_n from the right termi-
               nal border.

     ssssuuuubbbbssssttttiiiittttuuuutttteeee /_o_l_d/_n_e_w/
          Substitute pattern _o_l_d by _n_e_w.   The  pattern  _n_e_w  may
          contain an & for the _o_l_d string.

     ttttaaaagggg _t_a_g-_n_a_m_e
          goto tag named _t_a_g-_n_a_m_e.  See FFFFIIIILLLLEEEESSSS  section  for  more
          information on the ttttaaaagggg file.


MMMMAAAACCCCRRRROOOOSSSS
     You may create macros in  vvvveeeedddd  that  are  a  combination  of



Joerg Schilling       Last change: 00/12/27                    29






VED(1L)              Schily's USER COMMANDS               VED(1L)



     different  vvvveeeedddd  basic commands.  To create a macro, you need
     to edit the file ....vvvveeeeddddmmmmaaaacccc in your home directory.  You may do
     this  bey either explicitly typing _v_e_d ~/._v_e_d_m_a_c or by using
     the built in vvvveeeedddd command <<<<AAAALLLLTTTT>>>>^^^^GGGG.

     The file ~~~~////....vvvveeeeddddmmmmaaaacccc contains a number of lines, each holds  a
     macro definition like this:

     LLLL::::////****^^^^[[[[77774444^^^^MMMM----****////:::: CCCCoooommmmmmmmeeeennnntttt LLLLiiiinnnneeee

     Each macro definition has three fields:

     nnnnaaaammmmeeee The name of the macro. In our case, the name is  simply
          LLLL and the macro may executed by typing <<<<EEEESSSSCCCC>>>>LLLL.

     ffffuuuunnnnccccttttiiiioooonnnn
          The implementation of the macro. In our case the  func-
          tion  contains  ////****^^^^[[[[77774444^^^^MMMM----****////  and  will draw a C-comment
          line that contains 74 '-' chars as body.

     ccccoooommmmmmmmeeeennnntttt
          A comment for better understanding of the  macro  file.
          The comment is ignored.

     The fields are separated by a colon.

     Macros may be combined to form new macros.   They  also  may
     recursively  call  each  other  and  you may set _n_u_m_b_e_r to a
     value greater than one to execute a macro  more  than  once.
     There  is  currently  no  way to execute a macro in a condi-
     tional way.


MMMMAAAAPPPPPPPPIIIINNNNGGGGSSSS
     You may create mappings in vvvveeeedddd that contain arbitrary  char-
     acter  sequences.  To create a mapping, you need to edit the
     file ....vvvveeeeddddmmmmaaaapppp in your home directory.

     The file ~~~~////....vvvveeeeddddmmmmaaaapppp contains a number of lines, each holds  a
     map definition like this:

     \\\\EEEE[[[[111199993333zzzz::::^^^^CCCC::::QQQQuuuuiiiitttt EEEEddddiiiittttoooorrrr  ((((LLLL2222))))

     Each map definition has three fields:

     ffffrrrroooommmm The from string (left hand side) of  the  map.  In  our
          case,  the  name  is  the sequence \\\\EEEE[[[[111199993333zzzz which is the
          output of the L2 function key on a Sun keyboard.  Every
          time  when  you  type the character sequence \\\\EEEE[[[[111199993333zzzz or
          hit a function key that emits this character  sequence,
          it  will  replaced by the the replacement string before
          the input is read by vvvveeeedddd....



Joerg Schilling       Last change: 00/12/27                    30






VED(1L)              Schily's USER COMMANDS               VED(1L)



     rrrreeeeppppllllaaaacccceeeemmmmeeeennnntttt
          The replacement (right hand size or to string)  of  the
          macro.  In our case the map expands to ^^^^CCCC and will quit
          vvvveeeedddd.

     ccccoooommmmmmmmeeeennnntttt
          A comment for better understanding of the map file. The
          comment is ignored.

     The fields are separated by a colon.  The text in the  macro
     file  is  fed  through  ttttddddeeeeccccooooddddeeee(((())))  to  allow the same escape
     sequences as you may have in the termcap file.


EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
     SSSSHHHHEEEELLLLLLLL
          For the shell to use for shell  command  escapes,  file
          name globbing and similar.

     HHHHOOOOMMMMEEEE To find  the  private  files  ~~~~////....vvvveeeeddddmmmmaaaacccc  ~~~~////....vvvveeeeddddmmmmaaaapppp  and
          ~~~~////....tttteeeerrrrmmmmccccaaaapppp

     TTTTEEEERRRRMMMM This

     TTTTEEEERRRRMMMMCCCCAAAAPPPP

     TTTTEEEERRRRMMMMPPPPAAAATTTTHHHH

     PPPPAAAATTTTHHHH The environment variable PPPPAAAATTTTHHHH is used to find  the  on-
          line help file of vvvveeeedddd.

     SSSSLLLLAAAASSSSHHHH
          If the environment variable SSSSLLLLAAAASSSSHHHH is set to  'off',  no
          slashes are accepted in filenames.

     VVVVEEEEDDDD____FFFFTTTTMMMMPPPPDDDDIIIIRRRR
          Fast tmp directory.  The directory where the  vvvveeeedddd  swap
          file  vvvveeeeddddFFFF...._p_r_o_c_e_s_s_i_d  is stored.  If VVVVEEEEDDDD____FFFFTTTTMMMMPPPPDDDDIIIIRRRR is not
          specified, the swap file  will  usually  be  stored  in
          /tmp/.

     VVVVEEEEDDDD____TTTTMMMMPPPPDDDDIIIIRRRR
          General tmp directory.  The directory where all vvvveeeedddd tmp
          files  except the swap file are stored.  If VVVVEEEEDDDD____FFFFTTTTMMMMPPPPDDDDIIIIRRRR
          is not defined but VVVVEEEEDDDD____TTTTMMMMPPPPDDDDIIIIRRRR is defined, all  vvvveeeedddd  tmp
          files   will   be   placed  into  this  directory.   If
          VVVVEEEEDDDD____TTTTMMMMPPPPDDDDIIIIRRRR is not specified, the other  ved  tmp  files
          will usually be stored in /var/tmp/.

     VVVVEEEEDDDD____SSSSTTTTAAAATTTTIIIISSSSTTTTIIIICCCCSSSS
          If set and vvvveeeedddd has been compiled with  statistics  sup-
          port,  vvvveeeedddd  will print statistic information at the end



Joerg Schilling       Last change: 00/12/27                    31






VED(1L)              Schily's USER COMMANDS               VED(1L)



          of a session.


FFFFIIIILLLLEEEESSSS
     ////eeeettttcccc////tttteeeerrrrmmmmccccaaaapppp
          The system's terminal capabilities database.

     ~~~~////....tttteeeerrrrmmmmccccaaaapppp
          The private terminal capabilities database.

     ~~~~////....vvvveeeeddddmmmmaaaacccc
          Contains private macro definitions.

     ~~~~////....vvvveeeeddddmmmmaaaapppp
          Contains private mappings.

     ~~~~////....vvvveeeeddddttttmmmmpppp...._u_i_d
          Contains the names of the files  that  have  been  edit
          from  the current directory as well as the cursor posi-
          tion of the last visit.  VVVVeeeedddd also keeps  track  of  the
          last edited file.

     ttttaaaaggggssss This file contains a list of tags that tell vvvveeeedddd where a
          definition  for  a  tag  may be found. Tags may contain
          e.g. function names,  macro  names  and  typedefs.   By
          default, vvvveeeedddd looks for a ttttaaaagggg file in the current direc-
          tory and if not  found  in  all  directories  that  are
          closer  to  the  root  directory.  If a ttttaaaagggg file can be
          found in a directory closer to the root directory,  vvvveeeedddd
          will  modify  the file name from within the ttttaaaagggg file to
          reflect the directory distance to this ttttaaaagggg  file.  This
          property  is  unique  to vvvveeeedddd.  VVVVeeeedddd accepts ttttaaaagggg files in
          the same notation as vvvviiii.

     ////ttttmmmmpppp////vvvveeeeddddFFFF...._p_r_o_c_e_s_s_i_d
          The vvvveeeedddd swap file.

     ////vvvvaaaarrrr////ttttmmmmpppp////vvvveeeeddddBBBB...._p_r_o_c_e_s_s_i_d
          The vvvveeeedddd backward delete buffer.

     ////vvvvaaaarrrr////ttttmmmmpppp////vvvveeeeddddDDDD...._p_r_o_c_e_s_s_i_d
          The vvvveeeedddd forward delete buffer.

     ////vvvvaaaarrrr////ttttmmmmpppp////vvvveeeeddddTTTT...._p_r_o_c_e_s_s_i_d
          The current take buffer.

     ////vvvvaaaarrrr////ttttmmmmpppp////vvvveeeeddddTTTT_p_a_s_t_e_n_a_m_e._p_r_o_c_e_s_s_i_d
          One file for every named take buffer.

     ////vvvvaaaarrrr////ttttmmmmpppp////vvvveeeeddddPPPP...._p_r_o_c_e_s_s_i_d
          The vvvveeeedddd crash recovery protocol buffer.




Joerg Schilling       Last change: 00/12/27                    32






VED(1L)              Schily's USER COMMANDS               VED(1L)



     ////vvvvaaaarrrr////ttttmmmmpppp////vvvveeeeddddXXXX...._p_r_o_c_e_s_s_i_d
          The vvvveeeedddd shell command execute buffer.

     ............////mmmmaaaannnn////hhhheeeellllpppp////vvvveeeedddd....hhhheeeellllpppp
          The on-line help file is assumed  to  be  in  the  same
          directory tree as the vvvveeeedddd binary.


SSSSEEEEEEEE AAAALLLLSSSSOOOO
     cccchhhhaaaannnnggggeeee(1), mmmmaaaattttcccchhhh(1).

NNNNOOOOTTTTEEEESSSS
     To edit files greater than 2 GB, you  need  to  compile  vvvveeeedddd
     with large file support or create a 64 bit binary.

     Unlike vvvviiii, vvvveeeedddd is not based on a line  editor.  This  avoids
     annoying  bugs but may cause to irritate people who are used
     to work with vvvviiii.

     Since vvvveeeedddd uses a private implementation of the tttteeeerrrrmmmmccccaaaapppp  ter-
     minal independent screen package, vvvveeeedddd uses ////eeeettttcccc////tttteeeerrrrmmmmccccaaaapppp even
     on systems that usually emulate tttteeeerrrrmmmmccccaaaapppp with tttteeeerrrrmmmmiiiinnnnffffoooo.  This
     allows  to  use  the  portable  terminal  description on all
     operating systems. From my current point of view,  vvvveeeedddd  will
     never  switch  towards tttteeeerrrrmmmmiiiinnnnffffoooo.  Although tttteeeerrrrmmmmiiiinnnnffffoooo provides
     more functionality than tttteeeerrrrmmmmccccaaaapppp, it tends to be non-portable
     between different platforms.  While tttteeeerrrrmmmmccccaaaapppp allows to have a
     private terminal database in the NFS mounted home directory,
     this  tend  to  gives problems with tttteeeerrrrmmmmiiiinnnnffffoooo if a vendor did
     make private additions.  Because  tttteeeerrrrmmmmccccaaaapppp  explicitly  names
     all capabilities, there are less problems with private addi-
     tions; tttteeeerrrrmmmmiiiinnnnffffoooo only uses  an  array  index  to  identify  a
     specific  capability so this method only works if there is a
     global unique implementation.


     Make sure that the  TTTTEEEERRRRMMMM  environment  is  assigned  to  the
     correct terminal type.

     If the eighth bit of a character is "on", the tilde  charac-
     ter ~~~~ appears before characters, i.e., ~_C.


BBBBUUUUGGGGSSSS
     None currently known.



     AUTHOR
     Joerg Schilling
     Seestr. 110
     D-13353 Berlin



Joerg Schilling       Last change: 00/12/27                    33






VED(1L)              Schily's USER COMMANDS               VED(1L)



     Germany

     Mail bugs and suggestions to:

     sssscccchhhhiiiilllllllliiiinnnngggg@@@@ffffooookkkkuuuussss....ggggmmmmdddd....ddddeeee     or     jjjjssss@@@@ccccssss....ttttuuuu----bbbbeeeerrrrlllliiiinnnn....ddddeeee      or
     jjjjooooeeeerrrrgggg@@@@sssscccchhhhiiiillllyyyy....iiiissssddddnnnn....ccccssss....ttttuuuu----bbbbeeeerrrrlllliiiinnnn....ddddeeee

















































Joerg Schilling       Last change: 00/12/27                    34



