IRIS DC1100E manual Vi environment variables, File Saving and Loading

Page 59

ƒrefer to ex manual page for more commands

The vi environment variables

set

You can customize your environment with this command by typing set var=value, this will set the specified var to value for a scalar variable. For Boolean variables, use set var to set and set novar to unset. You can see which variables are set by just typing the set by itsself. You can see a list of all variables by typing set all. Some environment variables are specific to the ex editor and some are specific to the vi editor. I have included both.

Boolean variables:

ƒautoindent(ai) -- begin editing next line at same level of indent-ion as this one.

ƒautowrite(aw) -- write current buffer before leaving

ƒexrc(ex) -- tells vi/ex if it should read the .exrc file in the current directory.

ƒerrorbells -- editor sends a beep to the terminal when an incorrect

ƒignorecase(ic) -- ignore case of characters in searches.

ƒlist -- place a $ at the end of each line and a ^I on each tab.

ƒmagic -- allow ., [, and * to be interpreted as special characters in RE's.

ƒnumber(nu) -- number lines in left margin

ƒshowmatch(sm) -- when closing a paren., brace or bracket; move the visual cursor to opening item to check scope

ƒshowmode(smd) -- show type of insert mode

ƒwrapscan(ws) -- when searching and at bottom of file, continue searching from the top

ƒscalar variables:

ƒshiftwidth -- number of spaces to to insert on a shift operation

File Saving and Loading

ƒ:wq -- write file and quit

ƒ:w -- write file

ƒ:w file -- write to specified file

ƒ:w! -- overwrite existing file

ƒ:e file -- edit new file

ƒ:r file -- put contents of file

ƒ:q -- quit the editor

ƒ:q! -- force quit the editor, do not save changes

ƒ:x -- quit the editor, save file if it was modified

ƒZZ -- quit the editor, save file if it was modified

Coaxial Networks, Inc.

Page 59 of 60

Image 59
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 ConnectionLogging into Iris ConfigurationConfiguring 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 Adding Cable Modems Controlling Cable Modem AccessEnabling conditional access 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 commandCount command Pcpe commandConfigcm 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 Editor Coaxial Networks, Inc Miscellaneous Some commands are Ex Commands Ex syntaxFile Saving and Loading Vi environment variablesExamples