File:  [MW Coherent from dump] / coherent / d / usr / bin / elvis / doc / index.doc
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:38 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

















                   @@@@@@@  @       @     @   @@@    @@@@@ 
                   @        @       @     @    @    @     @
                   @        @       @     @    @    @      
                   @@@@@    @       @     @    @     @@@@@ 
                   @        @        @   @     @          @
                   @        @         @ @      @    @     @
                   @@@@@@@  @@@@@@@    @      @@@    @@@@@ 

                             - a clone of vi/ex -
                                  version 1.4






















Author: Steve Kirkendall
        16820 SW Tallac Way
        Beaverton, OR 97007

E-Mail: [email protected]
or      ...uunet!tektronix!psueea!eecs!kirkenda

Phone:  (503) 642-9905














                          ---=: C O N T E N T S :=---



    1.  INTRODUCTION ................................................... 1-1
      1.1  Compiling ................................................... 1-1
      1.2  Overview of Elvis ........................................... 1-1

    2.  VISUAL MODE COMMANDS ........................................... 2-1
      2.1  Input Mode .................................................. 2-4
      2.2  Arrow keys in Input Mode .................................... 2-4
      2.3  Digraphs .................................................... 2-5
      2.4  Abbreviations ............................................... 2-5
      2.5  Auto-Indent ................................................. 2-5

    3.  COLON MODE COMMANDS ............................................ 3-1
      3.1  Line Specifiers ............................................. 3-2
      3.2  Text Entry Commands ......................................... 3-3
      3.3  Cut & Paste Commands ........................................ 3-3
      3.4  Display Text Commands ....................................... 3-3
      3.5  Global Operations Commands .................................. 3-4
      3.6  Line Editing Commands ....................................... 3-4
      3.7  Undo Command ................................................ 3-5
      3.8  Configuration & Status Commands ............................. 3-5
      3.9  Multiple File Commands ...................................... 3-6
      3.10  Switching Files ............................................ 3-7
      3.11  Working with a Compiler .................................... 3-7
      3.12  Exit Commands .............................................. 3-7
      3.13  File I/O Commands .......................................... 3-8
      3.14  Directory Commands ......................................... 3-8
      3.15  Debugging Commands ......................................... 3-8

    4.  REGULAR EXPRESSIONS ............................................ 4-1
      4.1  Syntax ...................................................... 4-1
      4.2  Options ..................................................... 4-1
      4.3  Substitutions ............................................... 4-1
      4.4  Examples .................................................... 4-2

    5.  OPTIONS ........................................................ 5-1
      5.1  AutoIndent .................................................. 5-2
      5.2  AutoPrint ................................................... 5-2
      5.3  AutoWrite ................................................... 5-2
      5.4  CC .......................................................... 5-2
      5.5  CharAttr .................................................... 5-2
      5.6  COlumns ..................................................... 5-3
      5.7  DIGraph ..................................................... 5-3
      5.8  DIRectory ................................................... 5-3
      5.9  EDcompatible ................................................ 5-3
      5.10  ErrorBells ................................................. 5-3
      5.11  ExRefresh .................................................. 5-3
      5.12  FlipCase ................................................... 5-4
      5.13  HideFormat ................................................. 5-4
      5.14  IgnoreCase ................................................. 5-4
      5.15  InputMode .................................................. 5-4
      5.16  KeyTime .................................................... 5-4
      5.17  KeywordPrg ................................................. 5-5
      5.18  LiNes ...................................................... 5-5
      5.19  LIst ....................................................... 5-5








      5.20  MAgic ...................................................... 5-6
      5.21  MaKe ....................................................... 5-6
      5.22  ModeLine ................................................... 5-6
      5.23  PAragraphs ................................................. 5-6
      5.24  ReadOnly ................................................... 5-6
      5.25  REport ..................................................... 5-7
      5.26  SCroll ..................................................... 5-7
      5.27  SEctions ................................................... 5-7
      5.28  SHell ...................................................... 5-7
      5.29  ShiftWidth ................................................. 5-7
      5.30  ShowMatch .................................................. 5-8
      5.31  ShowMoDe ................................................... 5-8
      5.32  SideScroll ................................................. 5-8
      5.33  SYnc ....................................................... 5-8
      5.34  TabStop .................................................... 5-8
      5.35  TErm ....................................................... 5-9
      5.36  VBell ...................................................... 5-9
      5.37  WArn ....................................................... 5-9
      5.38  WrapMargin ................................................. 5-9
      5.39  WrapScan ................................................... 5-9

    6.  CUT BUFFERS .................................................... 6-1
      6.1  Filling ..................................................... 6-1
      6.2  Pasting from a Cut Buffer ................................... 6-2
      6.3  Macros ...................................................... 6-2
      6.4  The Effect of Switching Files ............................... 6-3

    7.  DIFFERENCES BETWEEN ELVIS & BSD VI/EX .......................... 7-1
      7.1  Extensions .................................................. 7-1
      7.2  Omissions ................................................... 7-3

    8.  INTERNAL ....................................................... 8-1
      8.1  The temporary file .......................................... 8-1
      8.2  Implementation of Editing ................................... 8-1
      8.3  Marks and the Cursor ........................................ 8-2
      8.4  Colon Command Interpretation ................................ 8-2
      8.5  Screen Control .............................................. 8-2
      8.6  Portability ................................................. 8-3

    9.  CFLAGS ......................................................... 9-1

    10.  TERMCAP ....................................................... 10-1
      10.1  Required numeric fields .................................... 10-1
      10.2  Required string fields ..................................... 10-1
      10.3  Boolean fields ............................................. 10-1
      10.4  Optional string fields ..................................... 10-1
      10.5  Optional strings received from the keyboard ................ 10-1
      10.6  Optional fields that describe character attributes ......... 10-2
      10.7  Optional fields that affect the cursor's shape ............. 10-2
      10.8  An example ................................................. 10-2

    11.  ENVIRONMENT VARIABLES ......................................... 11-1
      11.1  TERM, TERMCAP .............................................. 11-1
      11.2  TMP, TEMP .................................................. 11-1
      11.3  EXINIT ..................................................... 11-1
      11.4  SHELL, COMSPEC ............................................. 11-1
      11.5  HOME ....................................................... 11-1









    12.  VERSIONS ...................................................... 12-1
      12.1  BSD UNIX ................................................... 12-1
      12.2  System-V UNIX .............................................. 12-1
      12.3  SCO Xenix .................................................. 12-2
      12.4  Minix ...................................................... 12-2
      12.5  Coherent ................................................... 12-2
      12.6  MS-DOS ..................................................... 12-3
      12.7  Atari TOS .................................................. 12-3
      12.8  OS9/68k .................................................... 12-4






















































unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.