Edit User's Guide And Reference Manual - NonStopTools

1y ago
15 Views
2 Downloads
615.46 KB
363 Pages
Last View : 3d ago
Last Download : 3m ago
Upload by : Philip Renner
Transcription

Information Management Technology LibraryEDIT User’sGuide andReferenceManualAbstractPart NumberThis manual describes how to use the line editor (EDIT) and screen-mode editor (EDIT VS)provided with the EDIT program. It provides descriptions of the commands and their rangesand information on creating and using files. It also addresses error handling and page-modeediting.058061Tandem Computers Incorporated

Document HistoryNoteEditionPart NumberProduct Version OS VersionFirst EditionSecond Edition84082058061EDIT B30EDIT B30DateGUARDIAN 90 C00 November 1987GUARDIAN 90 C00 July 1991The second edition of this manual was reformatted in July 1991; no changes affectingproduct functionality were made to the manual content at that time.New editions incorporate any updates issued since the previous edition.CopyrightAll rights reserved. No part of this document may be reproduced in any form, includingphotocopying or translation to another language, without the prior written consent of TandemComputers Incorporated. Copyright 1991 Tandem Computers Incorporated.

ContentsWelcome to EDITxvNotation ConventionsSection 1xviiIntroduction to EDITThe EDIT Program 1-1Writing and Editing With EDIT 1-1Capabilities of the EDIT Program 1-2Creating an EDIT File1-3Using the Line Editor 1-5The EDIT Prompt 1-5The RETURN Key 1-5Line Numbers 1-7Typing Commands 1-8Correcting Mistyped Editor CommandsRanges 1-11Printable Characters 1-11Conversation With EDIT 1-12The EXIT Command: Leaving Your FileSection 21-91-16Adding and Displaying TextThe ADD Command: Adding Text to Your File2-1The LIST Command: Listing Lines in Your FileSpecifying Ranges 2-72-5058061 Tandem Computers Incorporatediii

ContentsSection 3Revising Text in Your FileEditing and Moving Your Text3-1The DELETE Command: Deleting Lines3-2The REPLACE Command: Replacing Lines of Text3-5The FIX Command: Modifying Text Lines 3-7Features of the FIX Command 3-7How to Edit With the FIX Command 3-8Using the Three FIX Subcommands 3-8Typing Several Subcommands on an Editing LineTerminating the FIX Command 3-103-10The CHANGE Command: Modifying Text Lines 3-11Using Keywords With the CHANGE Command 3-12The JOIN Command: Lengthening and Shortening LinesThe BREAK Command: Breaking Lines3-163-18The MOVE Command: Moving Lines of Text in Your FileThe NUMBER Command: Renumbering LinesRenumbering to Add More Lines 3-263-213-24The GET Command: Copying Another File to Your File 3-28Copying Part of a File Into Your File 3-28Copying All of a File Into Your File 3-29Copying Text to the Beginning or End of Your File 3-30Renumbering to Accommodate Added Lines 3-31Listing Your Files: The ?FILES Command 3-34The QUERY Command 3-34The PUT Command: Copying Your File Into a New FileCopying Part of Your File 3-35Copying All of Your File 3-35iv058061 Tandem Computers Incorporated3-35

ContentsSection 4EDIT Command SummaryRunning the EDIT Program 4-1Running the EDIT Program Interactively 4-1Typing Several Commands on One Line 4-4Running the EDIT Program Noninteractively 4-4The Keyword QUIET 4-9Introduction to Ranges4-11Editor Command Summary4-13ADD Command 4-15What to Enter 4-15How to Use ADD 4-16Examples 4-Adding Text to an Existing FileADD BLOCK Command4-174-23BREAK Command 4-24What to Enter 4-24How to Use BREAK 4-25Examples 4-26CHANGE Command 4-30What to Enter 4-30How to Use CHANGEExamples 4-324-32DELETE Command 4-40What to Enter 4-40Examples 4-41058061 Tandem Computers Incorporatedv

ContentsEXIT Command 4-44What to Enter 4-44How to Use EXIT 4-44Examples 4-44FIX Command 4-45What to Enter 4-45How to Use FIX 4-45Examples: Fixing a Text Line 4-48Fixing an Editor Command 4-56GET Command 4-58What to Enter 4-58Examples 4-61Tip 4-67IMAGE Command 4-68What to Enter 4-68How to Use IMAGE 4-70Examples 4-70JOIN Command 4-72What to Enter 4-72How to Use JOIN 4-73Example 4-73Tips 4-74LIST Command 4-75What to Enter 4-75How to Use LIST 4-76Examples 4-77Tip 4-79vi058061 Tandem Computers Incorporated

ContentsMOVE Command 4-80What to Enter 4-80Examples 4-81NUMBER Command 4-83What to Enter 4-83How to Use NUMBERExamples 4-854-84OBEY Command 4-87What to Enter 4-87How to Use OBEY 4-87Examples 4-89PUT Command 4-92What to Enter 4-92How to Use PUT 4-93Examples 4-94QUERY Command 4-97What to Enter 4-97How to Use QUERYExamples 4-984-97REPLACE Command 4-100What to Enter 4-100How to Use REPLACE 4-101Examples: Using the REPLACE Command Explicitly 4-102Examples: Using the REPLACE Command Implicitly 4-104REPLACE BLOCK Command4-105SET Command 4-106What to Enter 4-106Examples 4-110Tip 4-114058061 Tandem Computers Incorporatedvii

ContentsTEDIT Command 4-115What to Enter 4-115How to Use TEDIT 4-116Examples 4-117Tips 4-117XEQ Command4-118ENV Command 4-119What to Enter 4-119Example 4-119FILES Command 4-120What to Enter 4-120Examples 4-121?SYSTEM Command 4-122What to Enter 4-122?VOLUME Command 4-123What to Enter 4-123Example 4-123Section 5Range SummaryIntroduction to Ranges5-1Line-Range Parameter 5-9Syntax of the Line-Range ParameterExamples 5-105-9Line-Range-List Parameter 5-14Syntax of the Line-Range-List Parameter 5-14How to Use the Line-Range-List Parameter 5-14Examples 5-15viii058061 Tandem Computers Incorporated

ContentsString-Range Parameter 5-18Syntax of the String-Range Parameter 5-18How to Use the String-Range Parameter 5-20Examples 5-22String-Range-List Parameter 5-25Syntax of the String-Range-List Parameter5-25Column-Range Parameter 5-27Syntax of the Column-Range Parameter 5-27How to Use the Column-Range Parameter 5-28Column-Range-List Parameter 5-30Syntax of the Column-Range-List ParameterOrdinal-Range Parameter 5-32Syntax of the Ordinal-Range ParameterExamples 5-345-305-32Ordinal-Range-List Parameter 5-37Syntax of the Ordinal-Range-List ParameterExamples 5-375-37Range-Specifier Parameter 5-41Syntax of the Range-Specifier Parameter 5-41How to Use the Range-Specifier Parameter 5-42Examples 5-43058061 Tandem Computers Incorporatedix

ContentsSection 6Handling Your EDIT FilesCreating a Backup Copy of Your EDIT File6-2EDIT Files 6-3How EDIT Files Are Named 6-3Line Numbers in EDIT Files 6-4Text Lines and Printable Characters 6-6Continuation Lines in the EDIT ProgramCompressing Space in an EDIT FileAppendix AEDIT Error MessagesEDIT Error MessagesAppendix BA-1EDIT Error Recovery ProcedureError Recovery B-1Recovery Procedurex058061 Tandem Computers IncorporatedB-26-86-7

ContentsAppendix CPage Mode EditingIntroduction to EDIT VS C-1What Is Screen Editing? C-1Relationship Between the Line Editor and the Screen EditorEDIT VS and Your Terminal C-6Starting EDIT VSC-8Using the Cursor Control and Editing KeysMoving the Cursor C-9Adding Text to a New File C-10Correcting Typing Errors C-10Exiting EDIT VSC-9C-13Entering EDIT VS to Edit an Existing FileEditing With the Numbered Function KeysEDIT VS TemplateC-5C-14C-15C-17EDIT VS Function Key Summary C-19F1 (PREVIOUS PAGE) C-19F2 (NEXT PAGE) C-19F3 (BACK EIGHT LINES) C-19F4 (FORWARD EIGHT LINES) C-19F5 (INSERT BLANK LINE) C-19F6 (DELETE AND SAVE LINE) C-19F7 (RETRIEVE LINE) C-20F8 (COPY AND SAVE LINE) C-20F9 (BREAK LINE) C-20F10 (JOIN LINE) C-20F11 (MARK PAGE OR RETURN) C-21F12 (FIND STRING) C-21F13 (MENU) C-22058061 Tandem Computers Incorporatedxi

ContentsF14 (NO CHANGE) C-25F15 (END OF LINE) C-25F16 (TAB) C-25SF1 (FIRST PAGE) C-25SF2 (LAST PAGE) C-25SF3 (BACK ONE LINE) C-25SF4 (FORWARD ONE LINE) C-25SF5 (INSERT BLOCK) C-26SF6 (DELETE AND SAVE BLOCK) C-26SF7 (RETRIEVE BLOCK) C-26SF8 (COPY AND SAVE BLOCK) C-27SF9 (DEFINE BLOCK) C-27SF10 (GOTO MARKED PAGE 1) C-28SF11 (GOTO MARKED PAGE 2) C-28SF12 (INSERT COLUMN) C-28SF13 (COLUMN DELETE) C-28SF14 (RECOVER) C-28SF15 (SET SUPER SHIFT) C-28SF16 (EXIT) C-29EDIT Commands Requiring Full-Screen TerminalsADD BLOCK Command C-31What to Enter C-31How to Use ADD BLOCK C-32Tips C-36REPLACE BLOCK Command C-37What to Enter C-37How to Use REPLACE BLOCK C-38xii058061 Tandem Computers IncorporatedC-30

ContentsXEQ Command C-42What to Enter C-42How to Use XEQ C-42Appendix DEDIT VS Error MessagesAppendix E EDIT VS Error Recovery ProceduresEDIT VS Recovery FileE-2Recovery Procedures E-4Recovery Procedure ARecovery Procedure BRecovery Procedure CRecovery Procedure DRecovery Procedure ERecovery Procedure FRecovery Procedure GIndexE-4E-8E-9E-10E-10E-12E-14Index–1058061 Tandem Computers Incorporatedxiii

ContentsFiguresFigure 1-1.Line Editing With the EDIT ProgramFigure 4-1.Running the EDIT ProgramFigure 5-1.Concept of Ranges (Lines and Columns)Figure 6-1.Continuation Lines in EDITFigure C-1.Screen EditingFigure C-2.Relationship Between the Line Editor and the ScreenEditor C-5Figure C-3.The 6530 Terminal KeyboardFigure C-4.Operations of the EDIT VS Numbered Function KeysTables Table 4-1.xiv4-25-36-7C-3Common RangesC-74-12Table 4-2.Editor Command SummaryTable 5-1.Range Summary058061 Tandem Computers Incorporated1-65-64-13C-18

Welcome to EDITWhat This Manual The EDIT program provides two editors—EDIT, a line editor, and EDIT VS,Is About a screen editor. The emphasis of this manual is on EDIT. The manualintroduces you to the features and capabilities of EDIT, describes the manyEDIT commands and their ranges, and provides information on creatingand using EDIT files. For those users who wish to use EDIT VS, adescription of page mode editing follows the EDIT material.Who Should Use This manual assumes that you know how to:This ManualLog on to the Tandem systemStart EDIT from the application that is running on your terminalIf you need to know how to log on, read the appropriate paragraphs in theGUARDIAN 90 Operating System Utilities Reference Manual or ask aknowledgable person to help you.If there is an application running on your terminal and you do not knowhow to start the EDIT program from this application, ask a knowledgableperson to help you.The user’s guide sections in the beginning portion of the manual aredesigned to introduce new users to text editing and the more commonlyused commands of EDIT. Experienced users can read through theintroduction then move directly to the reference material discussing EDITcommands and ranges in Sections 4 and 5.How to UseThis ManualUse the Table of Contents and the Index to guide you to the appropriatesection or page number.Section 1, “Introduction to EDIT,” contains an overview of the EDITprogram including a description of the line editing concept, creating anEDIT file, how to use the line editor, typing EDIT commands, a briefexplanation of ranges, and how to exit the EDIT program.Section 2, “Adding and Displaying Text,” describes how to use the ADDand LIST commands to add and display the text in your file.058061 Tandem Computers Incorporatedxv

Welcome to EDITHow to Use This ManualSection 3, “Revising Text in Your File,” describes how to use eight of themore commonly used EDIT commands for editing and formatting the textin your file.Section 4, “EDIT Command Summary,” describes each of the EDITcommands, providing the syntax description, a discussion of how thecommand is used, examples, and tips. In addition, this section explainshow to run the EDIT program interactively and noninteractively andprovides more information on range parameters.Section 5, “Range Summary,” details the concept of ranges in an EDITcommand, describes each of the nine range parameters, and providesexamples of each.Section 6, “Handling Your EDIT Files,” describes how to create a backupcopy of your EDIT file, how files are named, which characters are printable,and how to compress an EDIT file to maximize the space on the disk.Appendix A, “EDIT Error Messages,” lists the error messages you mightreceive while using EDIT, describes what they mean, and suggests how tocorrect the problem that generated the message.Appendix B, “EDIT Error Recovery Procedure,” guides you through therecovery procedure for EDIT.Appendix C, “Page Mode Editing,” describes the page mode editingoptions of the EDIT program—the EDIT VS program and EDIT commandsthat allow page mode editing from EDIT.Appendix D, “EDIT VS Error Messages,” lists the error messages you mightreceive while using EDIT VS, describes what they mean, and suggests howto correct the problem that generated the message.Appendix E, “EDIT VS Error Recovery Procedures,” guides you throughseveral recovery procedures for EDIT VS.xvi058061 Tandem Computers Incorporated

Welcome to EDITNotation ConventionsNotation Conventions You must enter commands in a certain form so that EDIT understandsthem. This form is called syntax—it explains how to enter a command.These conventions have been established for representing syntax to savespace and to avoid having to repeat a lot of information. Uppercase andlowercase letters may have specific meanings, and certain other symbols arealso used to explain how to enter the command. Spaces and commasseparate the parts of the commands (command name, options, andkeywords).Each command’s particular syntax is presented in Section 4, “EDITCommand Summary.” The syntax for the different range parameters ispresented in Section 5, “Range Summary.”058061 Tandem Computers Incorporatedxvii

Welcome to EDITNotation e letters represent keywords and reserved words: you canenter these items in any combination of uppercase or lowercaseletters. You can also abbreviate a keyword to its first letter.Lowercase italic letters represent variable items that you supply.lowercase italiclettersBrackets [ ]Braces { }Vertical line Ellipsis .Spaces“string”PunctuationxviiiBrackets enclose optional syntax items. A group of vertically aligneditems enclosed in brackets represents a list of selections from whichyou can choose one or none.Braces enclose required syntax items. A group of vertically aligneditems enclosed in braces represents a list of selections from whichyou must choose one.A vertical line separating items in a horizontally aligned list of options,enclosed in either braces or brackets, is an alternative to verticalalignment of the selections.An ellipsis immediately following a pair of brackets or bracesindicates that you can repeat the enclosed syntax items any numberof times.If two items are separated by a space, that space is requiredbetween the items. (But if either of the items is a punctuation symbol,such as a parenthesis or a comma, the space is optional.)A string is one or more characters enclosed in quotation marks. Thequotation marks are part of the symtax and must be included in thecommand line.Parentheses, commas, semicolons, and other symbols not describedabove must be entered precisely as shown.058061 Tandem Computers Incorporated

Welcome to EDITWhat’s New in This ManualWhat’s New inThis ManualThis manual is an update of the previous EDIT Manual and includesinformation contained in the PS MAIL Extended-Editor User’s Guide for TTYTerminals. New or changed information includes:TEDIT, the new EDIT command that starts the TEDIT editing program.A new presentation of the range parameter material. The ranges havebeen reorganized into nine parameters, which are described in detail inSection 5.The various page mode editing options, which have been combinedand described in detail in Appendix C. These options include EDIT VS,the screen editing program, as well as three EDIT commands that areuseful to users having terminals with full-screen capabilities.A new presentation of the EDIT tutorial material. Sections 2 and 3present a condensed version that describes some of the more commonlyused EDIT commands.The error messages and recovery procedures, which have beenrearranged. Appendixes A and B describe error messages and therecovery procedure for EDIT, while those for EDIT VS are presented inAppendixes D and E.058061 Tandem Computers Incorporatedxix

Welcome to EDITWhere to Go for More InformationWhere to Go for The following manuals, also referenced in the text where appropriate,More Information provide supplementary information:The GUARDIAN 90 Operating System Utilities Reference Manual describesthe system software underlying the EDIT program.The PS TEXT EDIT and PS TEXT FORMAT User’s Guide and the PSTEXT EDIT Reference Manual describe the features and commands ofthe TEDIT editing program, which you can start from EDIT.To order copies of the manuals, contact your Tandem sales office.xx058061 Tandem Computers Incorporated

1 Introduction to EDITThe EDIT ProgramEDIT is a text editing program. A text editor is a tool that lets you use aterminal to write documents and store them on the computer. Dependingon your needs, the documents that you write might be businesscorrespondence, a letter, or an entire manual; more advanced uses of EDITmight be creating an OBEY file or the source text of a computer program.You use a terminal and EDIT to:Create an EDIT fileType a document in an EDIT fileMake changes and corrections to the document in the EDIT fileStart TEDIT (a more advanced Tandem editor) from a product thatstarts EDIT by defaultThe computer system stores the EDIT file on disk. At any time, the writercan use the text editor from any terminal connected to the computer systemto make changes and corrections to this EDIT file.Writing and EditingWith EDITWriting a document using EDIT is different from writing a document usinga typewriter and paper. With EDIT, editing what you write is easy:You can correct mistakes and make changes as you write.You can return to your document at any time to correct mistakes andmake changes.The editing you do can be as simple as correcting typing mistakes or assophisticated as moving lines of text from one document into another. Forexample, you can use EDIT to write the lines:He who whispers down a wellAbout the goods he has to sell,Will never reap the golden prizeLike him who learns to advertise.058061 Tandem Computers Incorporated1–1

Introduction to EDITCapabilities of the EDIT ProgramThen, at a later time, you can use EDIT to change these lines to:The codfish lays ten thousand eggs.The homely hen lays one.The codfish never cacklesTo tell you what she's done.And so we scorn the codfish,While the humble hen we prize,Which only goes to show youThat it pays to advertise.Capabilities of theEDIT ProgramEDIT makes it easy for you to:Create the EDIT file that will contain your documentAdd text to and delete text from the EDIT fileCorrect typing errorsRead through the text in the EDIT fileModify text in your fileMove text from one place to another in your fileBreak, lengthen, and shorten linesInsert text from another document into your fileCopy your text into another EDIT fileRenumber part or all of the lines in your fileSearch for a specific text stringStart TEDITMake global changes to the textView a listing of your filesThe EDIT program comprises two editors, a line editor (EDIT) and a screeneditor (EDIT VS, for virtual screen). The emphasis of this manual is onEDIT, which is described in Sections 1 through 6. If you want to learn moreabout EDIT VS, refer to the information in Appendix C.1–2058061 Tandem Computers Incorporated

Introduction to EDITCreating an EDIT FileCreating an EDIT FileTo begin writing a document, you must create an EDIT file to contain thetext of that document. You can do that in two steps: start the EDIT program,then create and name your EDIT file.1.Start the EDIT program at the command interpreter prompt. Thisprompt is the prompt displayed by the program that communicatesbetween your terminal and your computer system. If TACL (TandemAdvanced Command Language) is running on your system, thestandard prompt character is a number, followed by an angle bracket,and then a space (for example, 1 is your first prompt, 2 is the next one,and so on). Less commonly, a system running COMINT displays acolon as the command interpreter prompt.For the sake of simplicity, the TACL prompt represents the commandinterpreter prompt throughout this manual.You can type a command interpreter command at a TACL or COMINTprompt character to start any number of programs. Typing EDIT at thecommand interpreter prompt starts the EDIT program.2.Create and name the EDIT file when you start the EDIT program orwhen EDIT prompts you for a file name. For example, start the EDITprogram, then create and name an EDIT file at the same time by typing:2 EDIT POEMSEDIT responds with the question:TEXT EDITOR - T9601B30 - (08MAR87) WORK.FICTION.POEMS DOES NOT EXIST.SHALL I CREATE IT?Type:YES058061 Tandem Computers Incorporated1–3

Introduction to EDITCreating an EDIT Filein answer to the question “SHALL I CREATE IT?”. EDIT prints:CURRENT FILE IS WORK.FICTION.POEMS*You have started the EDIT program and created an EDIT file namedPOEMS, which will contain your document. You are now ready to typecommands at the prompt for the EDIT program, which is an asterisk (*).If you don’t provide a name of a file, EDIT either prompts you for thefile name as you begin editing or warns you that the file is undefined.For example, if you start EDIT and want to begin adding text:TEXT EDITOR - T9601B30 - (08MAR87)*add1Sing a song of sixpence,NAME THE NEW FILE:If you choose to provide the name of a file, answer the prompt bytyping the file name, press RETURN , and continue adding text to thenew file.If you do not name the file and simply press RETURN at the “NAMETHE NEW FILE” prompt, EDIT creates a temporary file and warns youthat the file is undefined. You can continue to add text to an undefinedfile, although EDIT can’t retrieve the text if you leave the file (and youdon’t save the text elsewhere). For more information about temporaryEDIT files, see “Adding Text to a New EDIT File” in the ADDcommand description in Section 4.Note1–4 WORK.FICTION.POEMS means there is a file named POEMS, in the subvolume namedFICTION, in the volume named WORK. The file named POEMS that you just created willhave the volume name of your current volume and the subvolume name of your currentsubvolume. For more information about file names, subvolume names, and volume names,see “How Files Are Named” in Section 6.058061 Tandem Computers Incorporated

Introduction to EDITThe RETURN KeyUsing the Line EditorYou can think of line editing as interactive—or conversational—editing.You and EDIT have a conversation about the lines of text in your file. Youcommunicate with EDIT by typing commands and text, then pressingRETURN . EDIT responds by doing what you tell it to and by displayingprompts at your terminal. Figure 1 illustrates the concept of line editingwith the EDIT program.The EDIT PromptOnce you have started the EDIT program from your command interpreterprompt, you’ll receive the EDIT prompt (an asterisk). You can type anyEDIT command at the asterisk. After typing a command line or a new lineof text, press RETURN to tell EDIT to execute what you have typed.The RETURN KeyThis manual presents examples that show how EDIT works. In many ofthem, an imaginary user types in commands or text in response to promptsor queries. As mentioned previously, you must press RETURN after you typea command line or line of text. Therefore, in the examples, there is animplicit RETURN at the end of each window of user input. For those caseswhen the user just needs to press RETURN , the boxed word RETURN is allthat appears beside the asterisk prompt.058061 Tandem Computers Incorporated1–5

Introduction to EDITThe RETURN KeyFigure 1-1. Line Editing With the EDIT ProgramEDITUserThe Line Editor prompts theuser that it is ready to edit a fileand prompts for a command.The User enters a command:The Line Editor goes back tothe file, finds the contents ofline number 3, and displays it."What's on line number 3?"Line 3 says:"And can't find them."The Line Editor thenprompts for a command.The User enters a command:The Line Editor goes back tothe file, finds line number 3,makes the requested change,and displays the line."Change 'can't' to'doesn't know where to'."Line 3 now says:"And doesn't knowwhere to find them."The Line Editor thenprompts for a command.The User enters a command:"I want to see my entire file."The Line Editor displays theentire contents of the file.Line 1 says: "Little Bo Peep"LIne 2 says: "Has lost her sheep"Line 3 says: "And doesn'tknow where to find them".1–6058061 Tandem Computers Incorporated

Introduction to EDITLine NumbersWhen you simply press RETURN at the asterisk prompt (instead of enteringan editor command or text), EDIT responds by listing the next line of text inthe EDIT file. For example, if your EDIT file contains the lines:78910111213I am only one,But still I am one.I cannot do everything,But Still I can do somethingAnd Because I cannot do everythingI will not refuse to do the somethingthat I can do.then:Lists the text online number 7Lists the text online number 8Lists the text online number 9*LIST 77I am only one,* RETURN8But still I am one.* RETURN9I cannot do everything,*If you continue to press RETURN until EDIT returns just the asterisk, youhave arrived at the end of the file, and EDIT cannot find any more text linesto return.Line NumbersYou use EDIT to display, add text to, and change text in an EDIT file. EDITassigns a line number to each line of text that you add to an EDIT file andstores each line of text in numerical order within the EDIT file. Althoughyou can see the line numbers along the left margin of the screen (forexample, after you request a LIST command), the numbers are not part ofyour actual document.058061 Tandem Computers Incorporated1–7

Introduction to EDITTyping CommandsA line number can have from one to five digits, followed by a decimal pointand from one to three digits. Thus, your file can have line numbersanywhere from 0 to 99999.999. Some examples of line numbers used byEDIT are:The same as 3The same as 104.110.2854470.210003.00104.10As you use EDIT, you see the line numbers on your screen along with thetext they contain.Line numbers are important to the line editor, primarily because you oftenneed to use specific line numbers when you use editor commands. Whenyou type an editor command, you ask the EDIT program to “operate” onone or more lines of text in your EDIT file. These one or more lines areconsidered “the range” for that editor command and tell EDIT the lines oftext on which you want the EDIT command to operate. In the EDITprogram, you see the line numbers assigned to the text in your EDIT file soyou can easily use them when you need to include a range with an editorcommand.Ranges are discussed in more detail in Section 5.Typing Commands1–8You can type command names and keywords (words that modify the actionof a command) in any combination of uppercase and lowercase characters.Using the LIST command and the ALL keyword for an example, all thesefollowing commands are equivalent:*list all*lIsT aLl*List All*LIST ALL058061 Tandem Computers Incorporated

Introduction to EDITCorrecting Mistyped Editor CommandsYou can likewise abbreviate any command name and keyword to its firstletter. The following commands, for example, are all equivalent:*L A*La*l a*LIST ALLYou can also combine more than one command on a single command line.See Section 4, “Typing Several Commands on One Command Line,” formore information.Correcting Mistyped EditorCommandsOops. You notice amisspelling beforepressing RETURN .Back up to erase theerror, then retype thecommand.Commands can be short, like ADD 1, or quite long, like CHANGE ALL“OLD”NEW” NUM 2/25. If you notice a mistake before you press RETURN ,simply use the BACKSPACE key to back up to your mistake and retype theremainder of the line. For example:*NUMBR ALL*NUMB*NUMBER ALL*If you discover an error in a short command after pressingmay find retyping the command is easiest:Oops. You meant totype LIST.Retype the commandat the prompt.*KIST THERE*LIST5*RETURN, you5ERROR IS NO SUCH COMMAND5Fair is foul, and foul is fairIf, however, your command line is longer, you can use FC (FIXCOMMAND) to alter the last command line if it needs a change or acorrection. Using FC for this kind of error saves you from retyping thewhole command line. (See Section 4 for a detailed description of the FIXCOMMAND.)058061 Tandem Computers Incorporated1–9

Introduction to EDITRangesFor example, assume you have a file in your default subvolume calledMYPOEM. You type the command:*GET MPOEM 1/10 TO 40;LIST ALLand EDIT returns the error message:?:011FILE SYSTEM.USER.MPOEMCANNOT BE OPENEDbecause you don’t have a file named MPOEM.Type FC to tell EDIT to display the most recent command line for editing:*FC(COMMAND) GET MPOEM 1/10 TO 40;LIST ALL.The R, I, and D subcommands of FC work exactly the same when you’reediting a command line as they do when you’re editing a text line. Forexample:(COMMAND) GET MPOEM 1/10 TO 40;LIST ALL.iy(COMMAND) GET MYPOEM 1/10 TO 40;LIST ALL. RETURNPressing RETURN when you’ve finished editing causes EDIT to execute thecorrected command.Note1–10EDIT does not execute the command line after FC if you type two right slants (//) in columns1 and 2 after the FIX prompt (the 10 periods) and press RETURN058061 Tandem Computers Incorporated

Introduction to EDITA Conversation With EDITRangesFor many editor commands, EDIT operates on one or more lines of text inyour file. So, when you type many of the commands, you are actuallyspecifying both a command name and a range of text to be operated on. Arange is the one or more lines of text on which you want the command tooperate.You specify ranges in a variety of ways. The simplest ways are with a linenumber (for a single line) or two line numbers separated by a slash (for twoor more consecutive lines). You can specify a range of one or more columnswithin your file. You can also specify a range of lines that contains aparticular character string (a character string is a series of characters such asa word, a phrase, or a number enclosed in quotation marks).Ranges are an integral part of many editor commands. For moreinformation about ranges, see “Introduction to Ranges” in Section 4. For athorough discussion as

The EDIT program provides two editors—EDIT, a line editor, and EDIT VS, a screen editor. The emphasis of this manual is on EDIT. The manual introduces you to the features and capabilities of EDIT, describes the many EDIT commands and their ranges, and provides information on creating and using EDIT files. For those users who wish to use EDIT .

Related Documents:

84. Verne, Jules.- Journey to the Centre of the Earth . Edit. Oxford. 85. Vicary, Tim.- The Elephant Man . Edit. Oxford Bookworms 1 86. Vicary, Tim.- Justice . Edit. Oxford Bookworms 3 87. Vicary, Tim.- Chemical Secret. Edit. Oxford Bookworms 3. 88. Vicary, Tim.- Skyjack!. Edit. Oxford Bookworms 3. 89. Viney, Peter.- Strawberry and the Sensations. Edit. Oxford. 90.

The PS TEXT EDIT and PS TEXT FORMAT User's Guide is a task-oriented, step-by-step guide to using TEDIT and TFORM. The PS TEXT EDIT Reference Card gives you a handy summary of TEDIT functions and commands. The EDIT/VS to TEDIT Reference Card compares TEDIT functions to those of EDIT. The PS TEXT EDIT Independent Study Program (ISP) is a self-paced

Overwatch: Learning Patterns in Code Edit Sequences 139:3 (a) Edit suggestions based on spatial context (b) Edit suggestion using spatial and temporal contexts Fig. 1. Edits suggested by Visual Studio when the developer adds a property to a class input, Overwatch's problem is to find recurrent edit sequences and generalize them into Edit

S-Edit User Guide 7 1 Interface and Setup S-Edit is a fully hierarchical computer-aided schematic capture application for the logical design of integrated circuits. S-Edit contains integrated SPICE simulation and probing of simulation results, including voltages, currents, and noise parameters.

Entering a Retroactive Pay Historical Edit 12. Click the Save button to save this historical edit. After clicking the Save button, the timecard will appear. An additional row will have been added by CalTime on the date with the historical edit. In this example that is Friday 8/29. The line that is the historical edit will have a gray background .

2. In the new window under 'User ID', enter the last 8 numbers of the user's mobile number 3. Select the Group number to which you want to assign the new user 4. Press OK to save the information To edit user information 1. Highlight the user you wish to edit in the user list. 2. Click the 'Edit' icon [13] 3. Repeat steps #2-#4 in as in the .

2 Contents Introduction 4 Fleet Center 5 Fleets 5 Create fleet 5 Merge Fleets 5 Edit Fleets 7 Clone fleets 7 Delete fleet 8 Edit a user's permission for a fleet 9 Track fleets 9 Groups 10 Create group 10 Edit group 10 Delete group 11 Track group 11 Drivers 12 Create new driver profile 12 Edit driver profile 12 Clone driver profile 13

Double Concept Modal Modal Concept Examples Shall (1) Educated expression Offer Excuse me, I shall go now Shall I clean it? Shall (2) Contractual obligation The company shall pay on January 1st Could (1) Unreal Ability I could go if I had time Could (2) Past Ability She could play the piano(but she can’t anymore) Can (1) Present Ability We can speak English Can (2) Permission Can I have a candy?