home news blogs forums events research newsletter whitepapers careers


Network Computing Network Computing Powered by InformationWeek Business Technology Network
InformationWeek 500 Conference -- September 14-16, 2008 Registed Today!

IMMERSE YOURSELF:

SOA

  |

Data Center

  |

802.11n

  |

Data Privacy

  |
APO  |

Virtualization

  |

NAC

  |

Security

  |

Network Mgmt

  |

Enterprise Apps

  |

Storage & Servers




Creating and Editing Files: Listings

Table 1. A sampling of supported terminals

ID string Terminal type
2621, 2621b Hewlett-Packard 2621
hp2621, etc. 
2621p Hewlett-Packard 2621 with printer
912b, tv912b Televideo 912
950, tv950 Televideo 950
adm3a Lear Siegler ADM3a
c100 HDS Concept 100
h19, h19A Heathkit H19, H19 in ANSI-compatible mode
regent ADDS Regent series
tek, tek4012 Tektronix 4014 graphics terminal
vt100, vt100-w DEC VT100, VT100 in wide mode (132 columns)
vt132 DEC VT132
w50, w60, etc. Wyse models 50, 60, etc.

Listing 1. The appearance of the editor screen

Note: This figure shows only approximations of how the screens will look. The actual appearance is subject to variations in the settings of various editor variables, such as the window dimensions and on the type of terminal you are using.

A. This is how the screen appears following the initial append command:

"Work consists of whatever a
body is obliged to do...
Play consists of whatever a
body is not obliged to do."
Mark Twain
~
~
~
~
~

B. This is how the screen appears following the insert command:

FAMOUS QUOTATIONS
-----------------
"Work consists of whatever a
body is obliged to do...
Play consists of whatever a
body is not obliged to do."
Mark Twain
~
~
~
~

Table 2. Primary window and cursor-positioning commands

Command Description
G Go to a specified line in the editing buffer.
h, BACKSPACE Move to the previous character on the line.
j, ^N Move down one line (in same column if possible).
k, ^P Move up one line (in same column if possible).
l, SPACEBAR Move to the next character on the line.
RETURN, + Move to the beginning of the next line.
- Move to the beginning of the previous line.
^D Scroll down in the editing buffer.
^U Scroll up in the editing buffer.
^F Page forward in the editing buffer.
^B Page backward in the editing buffer.

Table 3. Essential actions and objects

A. Editor actions:

Action Description
c, cc Change the specified text. Enter replacement text
and terminate with <ESC>.
d, dd Delete the specified text. 
r Replace a single character. This command is 
self-completing (no terminating <ESC> needed).
R Replace mode (overtype). Terminate with <ESC>.
s Substitute for the specified text. Use a multiplier to 
specify the extent of the text deletion, and terminate
text input with <ESC>.
u Undo the previous action.
x Delete the character at the cursor and close up the line.
y Yank a copy of the specified text.
p, P Put the text from the unnamed buffer into the editing
P puts the text before the current 
character (or line), and p puts it after
. Repeat the previous command.

B. Basic text objects:

Object Description
^ The beginning of the current line.
$ The end of the current line.
w, W Beginning of the next word (W ignores
embedded punctuation).
b, B Beginning of the previous word (B
ignores embedded punctuation.
e, E End of the current word (E ignores
embedded punctuation).
(, ) Beginning of the previous (next) sentence.
{, } Beginning of the previous (next) paragraph.
[[, ]] Beginning of the previous (next) section.
Print This Page


e-mail Send as e-mail





Ready to take that job and shove it?

Function:

Keyword(s):

State:
SPONSOR
RECENT JOB POSTINGS
CAREER NEWS
Go beyond Google and get vertical. These specialized search sites will help you find the business information you need -- fast.

Ari Balogh was named to the post of chief technology officer as the companys for a "realignment" of employees.










InformationWeek U.S. IT Salary Survey 2008
Salaries for business technology professionals are falling. Here's what you need to know in order to make good hiring decisions and personal career choices. Download Today
 
ROLLING RIGHT ALONG
Follow key Network Computing Reviews from conception to completion. This Week: Holistic APM.



Network Computing Reports Emerging Enterprise Podcast Series: Secrets to Success








TechSearch


Microsite of the Week


Powerful Information at Your Fingertips



InformationWeek Business Technology Network
InformationWeekInformationWeek 500InformationWeek 500 ConferenceInformationWeek AnalyticsInformationWeek CIO
InformationWeek EventsInformationWeek ReportsInformationWeek MagazinebMightyByte and SwitchDark Reading
Digital LibraryIntelligent EnterpriseInternet EvolutionNetwork ComputingNo Jitter
space
Techweb Events Network
InteropVoiceConWeb 2.0 ExpoWeb 2.0 SummitEnterprise 2.0 ConferenceMobile Business ExpoSoftware ConferenceCSI - Computer Security Institute
Black HatGTECEnergy CampMashup CampStartup Camp
space
Light Reading Communications Network
Light ReadingLight Reading EuropeUnstrungLight Reading's Cable Digital NewsConstantinopleInternet Evolution
Heavy ReadingLight Reading Live!Light Reading InsiderEthernet ExpoOptical ExpoTeleco TVTower Technology Summit
space
Financial Technology Network
Advanced TradingBank Systems & TechnologyInsurance & TechnologyWall Street & TechnologyAccelerating Wall StreetBank Systems & Technology Executive SummitBuyside Trading SummitInsurance & Technology Executive Summit
space
Microsoft Technology Network
MSDN MagazineTechNetThe Architecture Journal
space
App Infrastructure   |   Messaging & Collaboration   |   Network & Systems Mgmt   |   Network Infrastructure   |   Security  |   Storage & Servers   |   Wireless   |   Enterprise Apps
About Us  |  Contact Us  |  Site Map  |  Technology Marketing Solutions  |   Briefing Centers
Copyright © 2008  United Business Media LLC  |  Privacy Statement  |  Terms of Service  |  Your California Privacy Rights