home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / EDITOR / ELVIS14D.ZIP / ELVIS.MAN < prev    next >
Encoding:
Text File  |  1990-09-21  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ELVIS(1)                 USER COMMANDS                   ELVIS(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      elvis, ex, vi, view, input - The editor
  10.  
  11. SYNOPSIS
  12.      elvis [flags] [+cmd] [files...]
  13.  
  14. DESCRIPTION
  15.      Elvis is a text editor which emulates vi/ex.
  16.  
  17.      On systems which pass the program name as an argument,  such
  18.      as  Unix  and  Minix,  you  may also install elvis under the
  19.      names "ex", "vi", "view", and "input".   These  extra  names
  20.      would  normally  be  links to elvis; see the "ln" shell com-
  21.      mand.
  22.  
  23.      When elvis is invoked as "vi", it behaves exactly as  though
  24.      it  was invoked as "elvis".  However, if you invoke elvis as
  25.      "view", then the readonly option is set as  though  you  had
  26.      given  it  the "-R" flag.  If you invoke elvis as "ex", then
  27.      elvis will start up in the colon command mode instead of the
  28.      visual  command  mode,  as  though you had given it the "-e"
  29.      flag.  If you invoke elvis as "input" or "edit", then  elvis
  30.      will  start  up  in  input mode, as though the "-i" flag was
  31.      given.
  32.  
  33. OPTIONS
  34.      -r   To the real vi, this flag means that  a  previous  edit
  35.           should  be  recovered.   Elvis,  though, has a separate
  36.           program, called virec(1), for recovering  files.   When
  37.           you  invoke  elvis  with -r, elvis will tell you to run
  38.           virec.
  39.  
  40.      -R   This sets the "readonly" option, so you won't  acciden-
  41.           tally overwrite a file.
  42.  
  43.      -t tag
  44.           This causes elvis to start editing at the given tag.
  45.  
  46.      -m [file]
  47.           Elvis will search through file for something that looks
  48.           like  an  error  message from a compiler.  It will then
  49.           begin editing the source file that  caused  the  error,
  50.           with the cursor sitting on the line where the error was
  51.           detected.  If you don't explicitly name  a  file,  then
  52.           "errlist" is assumed.
  53.  
  54.      -e   Elvis will start up in colon command mode.
  55.  
  56.      -v   Elvis will start up in visual command mode.
  57.  
  58.      -i   Elvis will start up in input mode.
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.0           Last change:                          1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ELVIS(1)                 USER COMMANDS                   ELVIS(1)
  71.  
  72.  
  73.  
  74.      +command
  75.           If you use the +command parameter, then after the first
  76.           file is loaded command is executed as an EX command.  A
  77.           typical example would be "elvis +237 foo", which  would
  78.           cause elvis to start editing foo and then move directly
  79.           to line 237.
  80.  
  81. FILES
  82.      /tmp/elv*
  83.           During editing, elvis stores text in a temporary  file.
  84.           For  UNIX, this file will usually be stored in the /tmp
  85.           directory, and  the  first  three  characters  will  be
  86.           "elv".   For  other systems, the temporary files may be
  87.           stored someplace else; see the version-specific section
  88.           of the documentation.
  89.  
  90.      tags This is the database used by the :tags command and  the
  91.           -t  option.  It is usually created by the ctags(1) pro-
  92.           gram.
  93.  
  94. SEE ALSO
  95.      ctags(1), ref(1), virec(1)
  96.  
  97.      Elvis - A Clone of Vi/Ex, the complete elvis documentation.
  98.  
  99. BUGS
  100.      There is no LISP support.  Certain other features are  miss-
  101.      ing, too.
  102.  
  103.      Auto-indent mode is not quite compatible with the  real  vi.
  104.      Among  other  things,  0^D  and  ^^D don't do what you might
  105.      expect.
  106.  
  107.      Long lines are displayed differently.   The  real  vi  wraps
  108.      long  lines  onto  multiple  rows  of  the screen, but elvis
  109.      scrolls sideways.
  110.  
  111. AUTHOR
  112.      Steve Kirkendall
  113.      kirkenda@cs.pdx.edu
  114.      ...uunet!tektronix!psueea!eecs!kirkenda
  115.  
  116.      Many other people have  worked  to  port  elvis  to  various
  117.      operating  systems.   To  see  who  deserves credit, run the
  118.      :version command from within elvis, or look in  the  system-
  119.      specific section of the complete documentation.
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sun Release 4.0           Last change:                          2
  130.  
  131.  
  132.  
  133.