IE - The Reference Manual IE is a screen editor, based on single keystroke commands, and immediate entry of text. It is very simple to use, but can provide many advanced features. ! ! ! ! in FEATURE MODE, and occupy two character positions on the screen, but appear for editing purposes as one. Characters with the eighth bit set are displayed with a degrees sign before them, including control characters which then take up three character positions. Bugs: Long lines: The Delete Word and Change Text command do not update the long line marker correctly. If the cursor is on the last character of the line and text is inserted before it off the end of the line, the end of line marker is not inserted until the screen is refreshed. HT display: This does not interact well with the end of line marker, use shorter lines! !> ! ! ! ! can be used to override the default journal file name, see the section of Journalising for further details. !> ! can be used to override the default keyboard file. !> ! ! ! can be used to set up a value for the profile file. !> ! ! ! ! ! ! qualifier can be used to specify the terminals width. This is most useful when using an option like 132 columns on VT100oid terminals. On VAX/VMS the value given using SET TERMINAL/WIDTH= will be used by default. On the APM the operating system internal value is used, as is the screen height. This means that if the Level 1 graphics Visual 200 emulator is in use IE utilises all the available screen space. !> ! should be used. !> ! ! !> !> ! ! ! ! ! ! ! ! !> ! !> ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !> ! ! ! ! ! ! ) ) -> ( backwards [ -> ] ] -> [ backwards { -> } } -> { backwards < -> > > -> < backwards " -> " ' -> ' ` -> ` % -> % Notice that the single quotes do not match in pairs like `' as they would in true typography. Rather each kind matches the other as this makes more sense for programming language editing. !> !> ! ! ! ! ! ! ! ! ! ! ! ! !> ! ! ! ! ! ! ! ! ! ! !> !> ! ! ! ! !> ! ! ! ! ! ! ! ! !> ! ! ! !> ! ! ! ! House In this case the cursor would be positioned on the 'e'. This command has no effect if it appears at the start of the line, or one character in on the line. !> ! !> ! ! !> ! !): " appears. Pressing RETURN in response to this results in being loaded, where is the expanded version of the buffer name. If the buffer name is not a valid file name, however, the prompt is simply "File Name: " and pressing RETURN returns to the edit. Giving a file name results in that being loaded. If the given file does not appear a report is given and the prompt is reissued. To create an empty buffer use the system specific null device name as the file name. On VAX/VMS this is NL:, on the APM it is :N and on VAX/UNIX it is /dev/null. !> !): " will appear, where is the name of the file that the buffer was read from. If the buffer was created then the part in brackets is omitted. This is NOT the default file name for output as this might case accidental overwriting of files. If RETURN is pressed at this point the edit continues unaffected. If a valid file name is given, followed by RETURN the buffer will be writen to that file. On VAX/VMS systems all that is needed to write the buffer back to the source file is to give the file name [], which results in all the fields being filled in by default. !> ! !> ! command line qualifier. ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !> ! can be used at each edit. It overrides other methods. Note that /NOPROFILE can also be useful if there is a problem with the defined profile file. Logical Name: Defining the logical name IE_PROFILE to point to your profile file is a method that avoids typing it with every command. It is also independent of default directory. Default File: If a file called PROFILE.IE exists in the current default directory then this is used, unless either of the two previous methods have been employed. This is useful if you flit from directory to directory and perform different activities in each, for example programming and documenting. !> ! ! switch can be used to specify the profile for a one off edit. Default File: If a file called .IE_PROFILE exists in your working directory this is used. If not, then the file .IE_PROFILE in your login directory is used. !> !> ! can be used to specify a one off keyboard file usage. Logical Name: If you only ever use one terminal then the logical name IE_KEYBOARD can point to the keyboard file. If however you use different terminals a further mechanism is provided. IE uses the 3-L terminal type support to determine what model is in use. This is an extension to the existing VMS terminal types that allows "oid" terminals to be fully supported. For example a Visual 200 is a VT52oid terminal, so VMS believes that it is a VT52. Defining the logical TT_MAP_VT52 to be VISUAL200 tells IE that all VT52 terminals are in fact Visual 200s on this system. Similarly with TT_MAP_VT100 set to WY75. For standard DEC terminals, such as VT100s, no TT_MAP_ name is set up. To set up a keyboard file, the terminal map name is used in another logical name to point to the keyboard file. For the Visual 200 example the name would be IE_VISUAL200_KEYBOARD. The complete list is as follows: IE_VISUAL200_KEYBOARD IE_VISUAL55_KEYBOARD IE_WY75_KEYBOARD IE_VT100_KEYBOARD IE_VT220_KEYBOARD Default File: If the file KEYBOARD.KIE exists in the current directory then this is used. !> ! can be used to specify the keyboard file once. All subsequent edits will use this keyboard file. Default File: The file KEYBOARD.KIE in the current directory will be used, or if that does not exist the file KEYBOARD.KIE in the login directory. !> ! can be used to give a one off keyboard file setting. Environmental Variable: The environmental variable IE_KEYBOARD is the name of a directory which contains keyboards files called by the terminal mnemonic: V200, VT220, WY75 etc. !> !> ! can be used to specify a one off journal file. Before invoking the recover edit it is a good idea to copy the journal file to a safe place: $ COPY IE_JOURNAL;2 Safe_Directory:SAVED.IEJ It is very easy to make mistakes recovering edits! Notice that the ;2 is ESSENTIAL after the IE_JOURNAL in this copy statement Now use EXACTLY the same command line for the edit as before, except add the qualifier /RECOVER. A check is made to see if the source file, profile file and keyboard file are the same as before to prevent running the wrong journal on a file. If you do actually want to use a different configuration use the /IGNORE qualifier to do this. If the first recovery does not succeed for some reason, copy the saved journal back to the original site: $ COPY Safe_Directory:SAVED.IEJ IE_JOURNAL;2 and try again. You will probably have figured out what the difference was. !> ! can be used to change this. The new value will be used for each edit after the first automatically. Before invoking the recover edit it is a good idea to copy the journal file to a safe place: } T IE_JOURNAL/SAVED_JOURNAL It is very easy to make mistakes recovering edits! Now use EXACTLY the same command line for the edit as before, except add the qualifier -RECOVER. A check is made to see if the source file, profile file and keyboard file are the same as before to prevent running the wrong journal on a file. If you do actually want to use a different configuration use the -IGNORE qualifier to do this. If the first recover does have problems the copy the saved version back to the original file: } T SAVED_JOURNAL/IE_JOURNAL and try again - you will probably have worked out what was wrong last time. !> ! ! ! !> !> ! ! ! !> ! ! ! ! ! !> !