Document revision date: 19 July 1999 | |
Previous | Contents | Index |
SET RIGHT MARGIN integer
integer
The column at which you want the right margin. The integer must be greater than the left margin (or greater than the sum of the left margin and the paragraph indent). If you do not specify a number, EVE prompts for one. Pressing the Return key or the Do key at the prompt without typing anything cancels the operation.The default right margin is one column less than the screen width. The width is 80 columns; the default right margin is then 79.
The SET RIGHT MARGIN command sets the right margin of the current buffer to the column you specify. Setting margins does not change existing lines but affects only new lines or text you reformat with CENTER LINE or FILL commands. When EVE wraps text automatically, or when you use FILL commands, no characters will go beyond the right margin.You can set different margins for each buffer you edit. To find out the current margins of the buffer, use the SHOW command.
You can also set the right margin and left margin by using the WPS Ruler key (GOLD-R).
If you want a particular right margin for all or most editing sessions, put the SET RIGHT MARGIN command in an initialization file (EVE$INIT.EVE). When you use that initialization file to invoke EVE, the setting then applies to the MAIN (or first) buffer and to an EVE system buffer named $DEFAULTS$, so that each buffer you create has the same left margin.
The SET WIDTH command makes the right margin of the $DEFAULTS$ buffer one column less than the width you specify but does not affect the margins of other existing buffers.
The following command sets the right margin to 65. To reformat existing text according to the new margin, use FILL commands.
Command: SET RIGHT MARGIN 65 |
SET SCROLL JUMP
The SET SCROLL JUMP command causes new text to be repainted in your window instead of scrolled into your window. SET SCROLL JUMP sets scrolling operations to first scroll the text that will remain in your window, leaving part of your window empty. The operation finishes by displaying the new text in the empty region in a single repaint operation. This makes for slightly faster scrolling than with SET SCROLL SMOOTH (which is the default) because only part of your window is scrolled.You can set scrolling behavior to jump or smooth regardless of your terminal scroll setting. For example, if you set your terminal to Smooth Scroll and use SET SCROLL JUMP, text slides smoothly out of the window (the effect of the terminal setting), and new text is repainted in one operation (the effect of SET SCROLL JUMP).
This setting has no effect if you use SET SCROLL OFF.
The setting applies in all your buffers. To save your setting for future editing sessions, use SAVE ATTRIBUTES to create a section file or to create or update a command file. For more information, read the online help topic on Attributes.
In DECwindows, you can toggle this setting as follows:
- Choose Global Attributes from the Options menu
- Click on the Set Scroll Jump button in the dialog box
The opposite setting (SET SCROLL SMOOTH) repaints new text, line by line, as it is brought into the window.
SET SCROLL MARGINS integer1[%] integer2[%]
integer1
The number of lines down from the top of a window at which you want scrolling to begin. You cannot overlap the bottom scroll margin (integer2). The default setting is 0. Scrolling starts when you move past the top of the window. If you do not specify a value, EVE prompts for one. Pressing the Return key or the Do key at the prompt without typing anything keeps the current value.integer2
The number of lines up from the bottom of a window at which you want scrolling to begin. You cannot overlap the top scroll margin (integer1). The default setting is 0. Scrolling starts when you move past the bottom of the window. If you do not specify a value, EVE prompts for one. Pressing Return or Do at the prompt without typing anything keeps the current value.%
Percent sign, specifying that scroll margins are percentages of the window height, rounded to the nearest line.
The SET SCROLL MARGINS command sets the top and bottom distances at which scrolling begins automatically as you move the cursor up and down. You specify the distances as numbers of lines or as percentages of the window size. Scroll margins apply to all windows in EVE. If you specify the scroll margins as numbers of lines, EVE converts them to percentages of the window size, so that if you resize the window (for example, by using SPLIT WINDOW), the scroll margins are proportional to the window size.Scroll margins apply in all buffers but are not saved in a section file or command file. To keep your settings for future editing sessions, put SET SCROLL MARGINS in an initialization file (EVE$INIT.EVE).
The following examples show how to use numbers of lines and percentages to set scroll.To set the scroll margins at two lines from the top and three lines from the bottom of the window, use the following command:
#1 |
---|
Command: SET SCROLL MARGINS 2 3 |
To set the scroll margins at 9 percent from the top and 14 percent from the bottom of the window, use the following command:
#2 |
---|
Command: SET SCROLL MARGINS 9% 14% |
With a 21-line window, the top scroll margin is 2 lines down and the bottom scroll margin is 3 lines up.
SET SCROLL OFF
The SET SCROLL OFF command disables scrolling of text as new text is brought into the window. With scrolling disabled, the window is repainted each time new text is brought into the window.The setting applies in all your buffers. To save your setting for future editing sessions, use SAVE ATTRIBUTES to create a section file or to create or update a command file. For more information, read the online help topic on Attributes.
In DECwindows, you can toggle this setting as follows:
- Choose Global Attributes from the Options menu
- Click on the Set Scroll Off button in the dialog box
The opposite setting (SET SCROLL ON) scrolls new text as it is brought into the window.
SET SCROLL ON
The SET SCROLL ON command enables scrolling of text as new text is brought into the window. With scrolling enabled, you cause new text to scroll into the window when you perform one of the following actions:
- Move to a position that is off screen by less than (approximately) one window's length. You move to that position by using navigation commands (FIND, MOVE BY PAGE, PREVIOUS SCREEN, and so on), by positioning with the mouse, or by using vertical scroll bars in DECwindows EVE.
- Move above the top scroll margin or below the bottom scroll margin in a window by using one of the previous methods.
- Erase, add, or format text that causes new text to be brought into the window.
This setting does not affect moving to a position off screen by more than (approximately) one window's length. In this case, the entire window is repainted with the new text.
The setting applies in all your buffers. To save your setting for future editing sessions, use SAVE ATTRIBUTES to create a section file or to create or update a command file. For more information, read the online help topic on Attributes.
In DECwindows, you can toggle this setting as follows:
- Choose Global Attributes from the Options menu
- Click on the Set Scroll On button in the dialog box
The opposite setting (SET SCROLL OFF) repaints the window each time a scroll would otherwise occur.
SET SCROLL SMOOTH
The SET SCROLL SMOOTH command causes each new line of text to scroll into your window. This makes for slightly slower scrolling than with SET SCROLL JUMP, which scrolls only part of your window before repainting all new text in one operation.This setting has no effect if you use SET SCROLL OFF.
The setting applies in all your buffers. To save your setting for future editing sessions, use SAVE ATTRIBUTES to create a section file or to create or update a command file. For more information, read the online help topic on Attributes.
In DECwindows, you can toggle this setting as follows:
- Choose Global Attributes from the Options menu
- Click on the Set Scroll Smooth button in the dialog box
SET SECTION FILE PROMPTING
The SET SECTION FILE PROMPTING command enables prompting for a section file in which to save attributes and other customizations. This is the default. When you use the SAVE ATTRIBUTES or SAVE SYSTEM ATTRIBUTES command or when you save attributes as part of exiting or quitting, EVE prompts you whether to save your customizations in a section file. The following table shows the effects of SET SECTION FILE PROMPTING, depending on whether you set a default section file for saving customizations.
Section File Settings Effects with SET SECTION
FILE PROMPTINGSET NODEFAULT SECTION FILE
(default)When you save attributes, EVE asks whether you want to save them in a section file. If you respond YES, EVE asks for the name of the section file. SET DEFAULT SECTION FILE When you save attributes, EVE asks whether you want to save them in a section file. If you respond YES, EVE saves them in your default section file. For more information, read the online help topic on Attributes.
SET SELECTION GRAB FOCUS
The SET SELECTION GRAB FOCUS command causes EVE to grab the Motif primary selection when you give EVE input focus. Using SET SELECTION GRAB FOCUS causes EVE to conform to the Motif Style Guide "focus-based" model for moving the primary selection among applications.When you create a primary selection in another application, EVE loses the primary selection. EVE saves the current selection and removes the highlighting from the selected text.
If SET SELECTION GRAB FOCUS is in effect, then when you give EVE the input focus, EVE grabs the primary selection and restores the selection, if any, that was active when it lost the primary selection.
The alternate behavior is to grab the primary selection only when you select text. See help on SET SELECTION GRAB SELECTION.
SET SELECTION GRAB SELECTION
The SET SELECTION GRAB SELECTION command causes EVE to grab the Motif primary selection when you select text. This is the default setting in the Motif DECwindows environment. Using SET SELECTION GRAB SELECTION causes EVE to conform to the Motif Style Guide "selection-based" model for moving the primary selection among applications.When you create a primary selection in another application, EVE loses the primary selection. EVE saves the current selection and removes the highlighting from the selected text.
If SET SELECTION GRAB SELECTION is in effect, then EVE grabs the primary selection only when you select text. To restore the saved selection, press Ctrl/Shift/Select (a key defined with the SET FUNCTION KEYS MOTIF command). The saved selection will be restored correctly only if the current position is the same as when EVE lost the primary selection.
The alternate behavior is to grab the primary selection when you give EVE the input focus. See help on SET SELECTION GRAB FOCUS.
SET TABS {AT integer1 [integer2...] |EVERY integer |INSERT |INVISIBLE |MOVEMENT |SPACES |VISIBLE}
AT integer1 [integer2...]
The column or columns at which you want a tab stop in the current buffer. The new tab stops are applied to any tab characters already in the buffer. Enter the numbers in ascending order, separated by spaces. If you do not specify a number, EVE prompts for one. Pressing the Return key or the Do key at the prompt without typing anything cancels the operation.EVERY integer
The interval for all tab stops in the current buffer. The new tab stops are applied to any tab characters already in the buffer. If you do not specify a number, EVE prompts for one. Pressing Return or Do at the prompt without typing anything cancels the operation. The default setting is EVERY 8; that is, tab stops are set at columns 9, 17, 25, 33, and so on.INSERT
Makes TAB insert a tab character, pushing the cursor and existing text to the next tab stop. The setting applies to all buffers. This is the default.INVISIBLE
Makes tab characters invisible, appearing as blank space. The setting applies to all buffers. This is the default.You can specify only one keyword per command. If you do not specify a keyword, EVE prompts for one. Pressing Return or Do at the prompt without typing anything cancels the operation.
MOVEMENT
Makes TAB move the cursor to the next tab stop, without inserting anything. The cursor stays on the current line and can move into the unused portion of the buffer, even if the cursor is set to bound. The setting applies to all buffers. This is useful for moving through tab-aligned text, such as tables and multicolumn lists.SPACES
Makes TAB insert the appropriate number of spaces, instead of a tab character, pushing the cursor and any existing text on the line to the next tab stop. The setting applies to all buffers but does not affect existing tabs; for example, it does not convert tab characters to spaces. This is useful for editing text to be printed or displayed on different devices because the spacing will be the same regardless of the tab stops set for the printer or display device.VISIBLE
Makes tab characters visible, appearing as a small HT (horizontal tab). The setting applies to all buffers. Visible tabs are an editing convenience only; the setting does not affect how tab characters appear when the text is printed.
The SET TABS command sets tab stops for the buffer (AT or EVERY), tab modes (INSERT, MOVEMENT, or SPACES), or the appearence of tab characters during editing (INVISIBLE or VISIBLE). Tab stops are buffer-specific settings; you can have different tab stops for each buffer. Changing the tab stops affects any tab characters already in the buffer. To find out the current tab stops of the buffer, use the SHOW command.You can also set tab stops by using the WPS Ruler key (GOLD R).
If you want particular tab stops for all or most editing sessions, put the SET TABS AT or SET TAB EVERY command in an initialization file (EVE$INIT.EVE). When you use that initialization file to invoke EVE, the settings then apply to the MAIN (or first) buffer and to an EVE system buffer named $DEFAULTS$ so that each buffer you create has the same tab stops.
Tab mode and visibility apply in all buffers. To save your settings (for example, if you always want tab characters visible), use SAVE ATTRIBUTES to create a section file or to create or update a command file. For more information, read the online help topic on Attributes.
Tab stops are not stored in the output file. Therefore, in printing or typing the file, tab-aligned text may not appear the same as during editing, depending on the tab stops set for the printer or display device. You may want to use the CONVERT TABS command to convert tab characters to spaces. For more information, see the description of the CONVERT TABS command.
To set tab stops at the specified columns in the current buffer, use the following command:
#1 |
---|
Command: SET TABS AT 6 11 20 36 |
This example changes any tab characters already in the buffer. After you use this command, any tab characters added after column 36 do not push existing text to the right because there is no tab stop after column 36.
To set the TAB function to insert spaces instead of a tab character and to make existing tab characters visible, use the following commands:
#2 |
---|
Command: SET TABS SPACES Command: SET TABS VISIBLE |
SET WIDTH integer
integer
The number of columns you want for the width of the display. Specifying either 132 or 80 changes the video font accordingly; other values do not affect the video font. If you do not specify a number, EVE prompts for one. Pressing the Return key or the Do key at the prompt without typing anything cancels the operation. The default width is the same as your terminal setting---usually, 80 columns.Do not use a width greater than 80 on VT100-series terminals without the advanced video option (AVO).
The SET WIDTH command sets the width of the EVE screen layout to the number of columns you specify. SET WIDTH does not affect how many characters you can put on a line (which is determined by the right margin), but only how many characters are visible.The width determines the default right margin, unless you specify otherwise by using the SET RIGHT MARGIN command. Thus, if you use a width of 120 columns, the default right margin is 119.
To find out the current width, use the SHOW command. Also, the horizontal length of the status line indicates the width of the window.
The width applies to all EVE windows and is a global setting, applying in all buffers; it is not saved in a section file or command file. To keep your setting for future editing sessions, put SET WIDTH in an initialization file (EVE$INIT.EVE).
SET WIDTH makes the right margin of the $DEFAULTS$ buffer one column less than the width. Buffers you create thereafter will have the same right margin as $DEFAULTS$. For example, the command SET WIDTH 132 makes the default right margin 131; the command SET WIDTH 80 makes the default right margin 79. This does not affect the right margin of other existing buffers but only those buffers you create after a SET WIDTH command.
SET WILDCARD VMS
The SET WILDCARD VMS command enables OpenVMS-style wildcards for the WILDCARD FIND command. This is the default setting on OpenVMS systems. OpenVMS-style wildcards (sometimes called metacharacters) include the percent sign (%) to match any single character on a line, the asterisk (*) to match any amount of text on a line, and the backslash (\) and right angle bracket (>) to match end-of-line. For a list of the available wildcards, use the SHOW WILDCARDS command or see Table 2-16.The setting applies to the WILDCARD FIND and SHOW WILDCARDS commands. It does not affect the wildcards you use to specify files with GET FILE, INCLUDE FILE, and so on.
Table 2-16 EVE OpenVMS-Style Wildcards Patterns Matches... % Any single character within a line. * Any amount of text within a line. ** Any amount of text, crossing lines. \< Start of a line. \> End of a line. \[abc] Any character in the specified set. For example, \[aeiou] is the set of all vowels. \[a--z] Any character in the specified range. For example, \[1--9] is the set of digits from 1 through 9. A hyphen (--) at the beginning or end of a set is treated as a literal character, not as a wildcard. \[~abc] Any character not in the specified set. For example, \[~aeiou] excludes all the vowels. A tilde (~) that is not the first character in the bracketed set is treated as a literal character, not as a wildcard. \[~a--z] Any character not in the specified range. For example, \[~1--9] excludes the digits from 1 through 9. \A Any alphabetic character, including supplementals. \D Any decimal digit. \F Any formatting character, such as BS , CR , FF , HT , LF , or VT . \L Any lowercase letter. Makes the entire search case exact. \N Any alphanumeric character (letter or digit). \O Any octal digit. \P Any punctuation character. \S Any symbol constituent (alphanumeric, dollar sign, or underscore). \U Any uppercase letter. Makes the entire search case exact. \W Any amount of white space---spaces, tabs, or up to one line break. \X Any hexadecimal digit. \^ Any control character. \+ Any character with bit 7 set. \. Repeats the previous pattern zero or more times, including the original. \: Repeats the previous pattern at least once, including the original; that is, it does not match a null occurrence. \ Quotes any of the following; that is, it treats the character as literal text, rather than as a wildcard:
* asterisk % percent sign [ left bracket ~ tilde \ backslash For example, to find an actual backslash, use \\; to find an actual percent sign, use \%.
The following commands enable OpenVMS-style wildcards and then find a string like bet or But at the end of a line:
Command: SET WILDCARD VMS Command: WILDCARD FIND b%t\> |
Previous Next Contents Index
privacy and legal statement 6021PRO_013.HTML