IRIS DC1100 manual VI Visual Editor, Insert/Overtype Mode, Command Mode Entering Insert Mode

Page 55

VI (Visual) Editor

The vi is a text editor. It is small, powerful, and standard on most UNIX systems. The vi often frustrates new users with a unique distinction between its two modes: Command Mode and Insert/Overtype Mode. This distinction, although difficult to become accustomed to for many users, provides great power and ability to the editor. Insert/Overtype Mode is designed for inserting text only. All text manipulations and cursor moving should be done from with in Command Mode.

Entering the vi

#vi

#vi file1 file2 ...

#vi -r file #Recover file from crash

#vi +string file #Execute ex command "string"

#vi @rcfile #Read commands from rcfile

Insert/Overtype Mode

Insert/Overtype Mode is solely for entering text. To leave one of these two modes press the [ESC] key. if you wish to enter the ESC character or any other control character while in insert mode: type [CONTROL]-Vand then the control sequence. The only difference between Insert Mode and Overtype Mode is that characters are placed in front of the text after the cursor in Insert Mode; where as existing characters are overwritten in Overtype Mode.

Command Mode

Entering Insert Mode

ƒa -- append text, after the cursor

ƒi -- insert text, before the cursor

ƒR -- enter Overtype Mode

ƒA -- append text, after end of line

ƒI -- insert text, before first non-whitespace character

ƒo -- open new line below cursor in Insert Mode

ƒO -- open new line above cursor in Insert Mode

viSyntax

vicommands follow the general form:

n operator m object

which means:

Coaxial Networks, Inc.

Page 55 of 60

Image 55
Contents DC1100-UG Revision IrisThis page intentionally left blank Table of contents Coaxial Networks, Inc Table of Figures This page intentionally left blank Software License Copyright 2001-2005, Coaxial Networks, IncLimited Warranty General Provisions Coaxial Networks, Inc Key Benefits IntroductionPackage Contents Installation RequirementsIris Rear Panel Iris Rear Panel ConnectionsMounting the Iris Unit Iris Front PanelAttaching mounting braces for flat wall mount Mounting Flat on WallCoaxial Networks, Inc Checking Conditions Prior to System Startup SetupConnecting Your Iris DC1100 Configuring Your IRISDC1100Coaxial Cable Specifications Iris Connections with an external Upconverter Cable Network DiagramConnections Iris Connections with Integrated UpconverterConnections with an external Upconverter Iris Uplink ConnectionConfiguring Iris ConfigurationLogging into Iris Web Login Connecting using Web InterfaceIris Configuration Configuring TCP/IP parametersSave and reboot Configuring Iris in Router modeNetwork Setup Configuring Iris in Bridge modeBridge mode setup Bridge Mode Configuration Downstream RF Settings Configuring Downstream RF SettingsUpstream RF Settings Configuring Upstream RF SettingsClass of Service Creation Creating Class of Service ProfilesCoaxial Networks, Inc Enabling conditional access Controlling Cable Modem AccessAdding Cable Modems Cable Modem Subscription Saving Cable Modems ListCoaxial Networks, Inc Telnet to Iris Iris CLI interface using TelnetConnecting from the cable interface Connecting from serial consoleLogging Help commandPsid command Preg or preg verbose commandConfigcm command Pcpe commandCount command Shutdown command Rcount commandVer command Reboot commandUpcon command Coaxial Networks, Inc This page intentionally left blank Static IP Mapping Application NotesNetwork traffic between cable clients Allowing PPPoE traffic across IrisAssigning additional IP addresses to the uplink Interface Assigning a reserved IP address to the CPENtsc Channel Frequency Chart in MHz Docsis Channel Frequency ChartCoaxial Networks, Inc Coaxial Networks, Inc Coaxial Networks, Inc Channel Center Frequencies for Selected PAL Systems PAL Frequency Allocation EuroDOCSISChannel Center Frequencies for System G Hyperband Coaxial Networks, Inc Channel Center Frequencies for System G and D Agency Standards Regulatory ComplianceIetf Mibs SpecificationsEntering Insert/Overtype ModeCommand Mode Entering Insert Mode VI Visual EditorCoaxial Networks, Inc Miscellaneous Some commands are Ex Commands Ex syntaxFile Saving and Loading Vi environment variablesExamples