|
|
1.1 ! root 1: ! 2: ! 3: ! 4: ! 5: ! 6: ! 7: ! 8: ! 9: ! 10: ! 11: ! 12: ! 13: ! 14: ! 15: ! 16: ! 17: @@@@@@@ @ @ @ @@@ @@@@@ ! 18: @ @ @ @ @ @ @ ! 19: @ @ @ @ @ @ ! 20: @@@@@ @ @ @ @ @@@@@ ! 21: @ @ @ @ @ @ ! 22: @ @ @ @ @ @ @ ! 23: @@@@@@@ @@@@@@@ @ @@@ @@@@@ ! 24: ! 25: - a clone of vi/ex - ! 26: version 1.4 ! 27: ! 28: ! 29: ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: Author: Steve Kirkendall ! 50: 16820 SW Tallac Way ! 51: Beaverton, OR 97007 ! 52: ! 53: E-Mail: [email protected] ! 54: or ...uunet!tektronix!psueea!eecs!kirkenda ! 55: ! 56: Phone: (503) 642-9905 ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: ! 65: ! 66: ! 67: ! 68: ! 69: ! 70: ! 71: ---=: C O N T E N T S :=--- ! 72: ! 73: ! 74: ! 75: 1. INTRODUCTION ................................................... 1-1 ! 76: 1.1 Compiling ................................................... 1-1 ! 77: 1.2 Overview of Elvis ........................................... 1-1 ! 78: ! 79: 2. VISUAL MODE COMMANDS ........................................... 2-1 ! 80: 2.1 Input Mode .................................................. 2-4 ! 81: 2.2 Arrow keys in Input Mode .................................... 2-4 ! 82: 2.3 Digraphs .................................................... 2-5 ! 83: 2.4 Abbreviations ............................................... 2-5 ! 84: 2.5 Auto-Indent ................................................. 2-5 ! 85: ! 86: 3. COLON MODE COMMANDS ............................................ 3-1 ! 87: 3.1 Line Specifiers ............................................. 3-2 ! 88: 3.2 Text Entry Commands ......................................... 3-3 ! 89: 3.3 Cut & Paste Commands ........................................ 3-3 ! 90: 3.4 Display Text Commands ....................................... 3-3 ! 91: 3.5 Global Operations Commands .................................. 3-4 ! 92: 3.6 Line Editing Commands ....................................... 3-4 ! 93: 3.7 Undo Command ................................................ 3-5 ! 94: 3.8 Configuration & Status Commands ............................. 3-5 ! 95: 3.9 Multiple File Commands ...................................... 3-6 ! 96: 3.10 Switching Files ............................................ 3-7 ! 97: 3.11 Working with a Compiler .................................... 3-7 ! 98: 3.12 Exit Commands .............................................. 3-7 ! 99: 3.13 File I/O Commands .......................................... 3-8 ! 100: 3.14 Directory Commands ......................................... 3-8 ! 101: 3.15 Debugging Commands ......................................... 3-8 ! 102: ! 103: 4. REGULAR EXPRESSIONS ............................................ 4-1 ! 104: 4.1 Syntax ...................................................... 4-1 ! 105: 4.2 Options ..................................................... 4-1 ! 106: 4.3 Substitutions ............................................... 4-1 ! 107: 4.4 Examples .................................................... 4-2 ! 108: ! 109: 5. OPTIONS ........................................................ 5-1 ! 110: 5.1 AutoIndent .................................................. 5-2 ! 111: 5.2 AutoPrint ................................................... 5-2 ! 112: 5.3 AutoWrite ................................................... 5-2 ! 113: 5.4 CC .......................................................... 5-2 ! 114: 5.5 CharAttr .................................................... 5-2 ! 115: 5.6 COlumns ..................................................... 5-3 ! 116: 5.7 DIGraph ..................................................... 5-3 ! 117: 5.8 DIRectory ................................................... 5-3 ! 118: 5.9 EDcompatible ................................................ 5-3 ! 119: 5.10 ErrorBells ................................................. 5-3 ! 120: 5.11 ExRefresh .................................................. 5-3 ! 121: 5.12 FlipCase ................................................... 5-4 ! 122: 5.13 HideFormat ................................................. 5-4 ! 123: 5.14 IgnoreCase ................................................. 5-4 ! 124: 5.15 InputMode .................................................. 5-4 ! 125: 5.16 KeyTime .................................................... 5-4 ! 126: 5.17 KeywordPrg ................................................. 5-5 ! 127: 5.18 LiNes ...................................................... 5-5 ! 128: 5.19 LIst ....................................................... 5-5 ! 129: ! 130: ! 131: ! 132: ! 133: ! 134: ! 135: ! 136: ! 137: 5.20 MAgic ...................................................... 5-6 ! 138: 5.21 MaKe ....................................................... 5-6 ! 139: 5.22 ModeLine ................................................... 5-6 ! 140: 5.23 PAragraphs ................................................. 5-6 ! 141: 5.24 ReadOnly ................................................... 5-6 ! 142: 5.25 REport ..................................................... 5-7 ! 143: 5.26 SCroll ..................................................... 5-7 ! 144: 5.27 SEctions ................................................... 5-7 ! 145: 5.28 SHell ...................................................... 5-7 ! 146: 5.29 ShiftWidth ................................................. 5-7 ! 147: 5.30 ShowMatch .................................................. 5-8 ! 148: 5.31 ShowMoDe ................................................... 5-8 ! 149: 5.32 SideScroll ................................................. 5-8 ! 150: 5.33 SYnc ....................................................... 5-8 ! 151: 5.34 TabStop .................................................... 5-8 ! 152: 5.35 TErm ....................................................... 5-9 ! 153: 5.36 VBell ...................................................... 5-9 ! 154: 5.37 WArn ....................................................... 5-9 ! 155: 5.38 WrapMargin ................................................. 5-9 ! 156: 5.39 WrapScan ................................................... 5-9 ! 157: ! 158: 6. CUT BUFFERS .................................................... 6-1 ! 159: 6.1 Filling ..................................................... 6-1 ! 160: 6.2 Pasting from a Cut Buffer ................................... 6-2 ! 161: 6.3 Macros ...................................................... 6-2 ! 162: 6.4 The Effect of Switching Files ............................... 6-3 ! 163: ! 164: 7. DIFFERENCES BETWEEN ELVIS & BSD VI/EX .......................... 7-1 ! 165: 7.1 Extensions .................................................. 7-1 ! 166: 7.2 Omissions ................................................... 7-3 ! 167: ! 168: 8. INTERNAL ....................................................... 8-1 ! 169: 8.1 The temporary file .......................................... 8-1 ! 170: 8.2 Implementation of Editing ................................... 8-1 ! 171: 8.3 Marks and the Cursor ........................................ 8-2 ! 172: 8.4 Colon Command Interpretation ................................ 8-2 ! 173: 8.5 Screen Control .............................................. 8-2 ! 174: 8.6 Portability ................................................. 8-3 ! 175: ! 176: 9. CFLAGS ......................................................... 9-1 ! 177: ! 178: 10. TERMCAP ....................................................... 10-1 ! 179: 10.1 Required numeric fields .................................... 10-1 ! 180: 10.2 Required string fields ..................................... 10-1 ! 181: 10.3 Boolean fields ............................................. 10-1 ! 182: 10.4 Optional string fields ..................................... 10-1 ! 183: 10.5 Optional strings received from the keyboard ................ 10-1 ! 184: 10.6 Optional fields that describe character attributes ......... 10-2 ! 185: 10.7 Optional fields that affect the cursor's shape ............. 10-2 ! 186: 10.8 An example ................................................. 10-2 ! 187: ! 188: 11. ENVIRONMENT VARIABLES ......................................... 11-1 ! 189: 11.1 TERM, TERMCAP .............................................. 11-1 ! 190: 11.2 TMP, TEMP .................................................. 11-1 ! 191: 11.3 EXINIT ..................................................... 11-1 ! 192: 11.4 SHELL, COMSPEC ............................................. 11-1 ! 193: 11.5 HOME ....................................................... 11-1 ! 194: ! 195: ! 196: ! 197: ! 198: ! 199: ! 200: ! 201: ! 202: ! 203: 12. VERSIONS ...................................................... 12-1 ! 204: 12.1 BSD UNIX ................................................... 12-1 ! 205: 12.2 System-V UNIX .............................................. 12-1 ! 206: 12.3 SCO Xenix .................................................. 12-2 ! 207: 12.4 Minix ...................................................... 12-2 ! 208: 12.5 Coherent ................................................... 12-2 ! 209: 12.6 MS-DOS ..................................................... 12-3 ! 210: 12.7 Atari TOS .................................................. 12-3 ! 211: 12.8 OS9/68k .................................................... 12-4 ! 212: ! 213: ! 214: ! 215: ! 216: ! 217: ! 218: ! 219: ! 220: ! 221: ! 222: ! 223: ! 224: ! 225: ! 226: ! 227: ! 228: ! 229: ! 230: ! 231: ! 232: ! 233: ! 234: ! 235: ! 236: ! 237: ! 238: ! 239: ! 240: ! 241: ! 242: ! 243: ! 244: ! 245: ! 246: ! 247: ! 248: ! 249: ! 250: ! 251: ! 252: ! 253: ! 254: ! 255: ! 256: ! 257: ! 258: ! 259: ! 260: ! 261: ! 262: ! 263: ! 264:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.