SIREDIT parameter: Difference between revisions
Jump to navigation
Jump to search
m (moved SIREDIT Parameter to SIREDIT parameter) |
mNo edit summary |
||
Line 10: | Line 10: | ||
<dd>All | <dd>All | ||
<dt>Introduced | <dt>Introduced | ||
<dd>Before | <dd>Before <var class="product">Sirius Mods</var> 6.7 | ||
</dl> | </dl> | ||
==Description== | ==Description== | ||
This is a bitmask parameter that controls various enhancements to the Model 204 fullscreen | This is a bitmask parameter that controls various enhancements to the <var class="product">Model 204</var> fullscreen | ||
editor. The meaning of the bits are: | editor. The meaning of the bits are: | ||
<dl> | <dl> | ||
<dt>X'01' | <dt>X'01' | ||
<dd>Switch to *LOWER mode upon entry to the editor, and revert to prior setting | <dd>Switch to <var>*LOWER</var> mode upon entry to the editor, and revert to prior setting | ||
upon exit. This allows command mode to work in *UPPER mode so that | upon exit. This allows command mode to work in <var>*UPPER</var> mode so that | ||
commands are automatically uppercased, while allowing the editor to work in | commands are automatically uppercased, while allowing the editor to work in mixed-case mode. | ||
mixed-case mode. | |||
Since most Model 204 commands take entirely uppercase input, *UPPER mode | Since most <var class="product">Model 204</var> commands take entirely uppercase input, <var>*UPPER</var> mode | ||
is almost always preferable in command mode. On the other hand, most | is almost always preferable in command mode. On the other hand, most | ||
modern User Language programs use mixed case, so *LOWER mode is | modern <var class="product">User Language</var> programs use mixed case, so <var>*LOWER</var> mode is | ||
preferable inside the editor. The SIREDIT X'01' bit allows one to get the best of | preferable inside the editor. The <var>SIREDIT</var> X'01' bit allows one to get the best of | ||
both worlds with no effort. | both worlds with no effort. | ||
This bit has no effect if the user is already in *LOWER mode on entry to the | This bit has no effect if the user is already in <var>*LOWER</var> mode on entry to the editor. | ||
editor. | |||
<dt>X'02' | <dt>X'02' | ||
<dd> Change the LINEND character for the current procedure to carriage return | <dd> Change the <var>LINEND</var> character for the current procedure to carriage return | ||
(X'0D'). This allows procedures to include semicolons as data, and it also | (X'0D'). This allows procedures to include semicolons as data, and it also | ||
makes it easier to edit a procedure that has been uploaded from an HTML | makes it easier to edit a procedure that has been uploaded from an HTML | ||
Line 45: | Line 44: | ||
<dt>X'10' | <dt>X'10' | ||
<dd>Provide case-insensitive locate in non-DBCS environments. Thus, the editor | <dd>Provide case-insensitive locate in non-DBCS environments. Thus, the editor | ||
command will locate both of the following lines, regardless of the setting of *LOWER/*UPPER or the SIREDIT X'01' bit: | command will locate both of the following lines, regardless of the setting of <var>*LOWER/*UPPER</var> or the <var>SIREDIT</var> X'01' bit: | ||
<p class="code">This is sometimes hard to find due to mixed | |||
case, while “this is” is all lower case.</p> | |||
<dt>X'20' | <dt>X'20' | ||
<dd>Provide case-insensitive search strings for the replace command, while still retaining the case as entered on the replacement string, assuming that either *LOWER is in effect or the X'01' bit of SIREDIT is set. Under these conditions, and using the text from the previous example, the command: | <dd>Provide case-insensitive search strings for the replace command, while still retaining the case as entered on the replacement string, assuming that either <var>*LOWER</var> is in effect or the X'01' bit of <var>SIREDIT</var> is set. Under these conditions, and using the text from the previous example, the command: | ||
<p class="code">r/this is/This Is/* all</p> | |||
will change occurrences on both lines, resulting in: | will change occurrences on both lines, resulting in: | ||
<p class="code">This Is sometimes hard to find due to mixed | |||
case, while “This Is” is all lowercase. </p> | |||
</dl> | |||
==See also== | ==See also== | ||
<ul> | <ul> | ||
<li>In addition to the SIREDIT parameter, the <var class="product">Sirius Mods</var> provide some additional [[:Category:Editor_commands|fullscreen editor commands]]. | <li>In addition to the <var>SIREDIT</var> parameter, the <var class="product">Sirius Mods</var> provide some additional [[:Category:Editor_commands|fullscreen editor commands]]. | ||
</ul> | </ul> | ||
[[Category:User parameters]] | [[Category:User parameters]] | ||
[[Category:Parameters]] | [[Category:Parameters]] |
Revision as of 20:50, 13 March 2012
Summary
- Default value
- 0
- Parameter type
- User
- Where set
- User resettable
- Related products
- All
- Introduced
- Before Sirius Mods 6.7
Description
This is a bitmask parameter that controls various enhancements to the Model 204 fullscreen editor. The meaning of the bits are:
- X'01'
- Switch to *LOWER mode upon entry to the editor, and revert to prior setting upon exit. This allows command mode to work in *UPPER mode so that commands are automatically uppercased, while allowing the editor to work in mixed-case mode. Since most Model 204 commands take entirely uppercase input, *UPPER mode is almost always preferable in command mode. On the other hand, most modern User Language programs use mixed case, so *LOWER mode is preferable inside the editor. The SIREDIT X'01' bit allows one to get the best of both worlds with no effort. This bit has no effect if the user is already in *LOWER mode on entry to the editor.
- X'02'
- Change the LINEND character for the current procedure to carriage return (X'0D'). This allows procedures to include semicolons as data, and it also makes it easier to edit a procedure that has been uploaded from an HTML generator.
- X'04'
- Always force the current 3270 Mod 2 behavior (24 lines by eighty characters), even if the editor is invoked by a thread using a Mod 5 session. This bit takes precedence over the following bit.
- X'08'
- Allow Mod 5 sessions in DBCS environments. Ordinarily the widescreen (Mod 5) support is disabled under DBCS environments. When this bit is set, even DBCS sessions are eligible for widescreen support.
- X'10'
- Provide case-insensitive locate in non-DBCS environments. Thus, the editor
command will locate both of the following lines, regardless of the setting of *LOWER/*UPPER or the SIREDIT X'01' bit:
This is sometimes hard to find due to mixed case, while “this is” is all lower case.
- X'20'
- Provide case-insensitive search strings for the replace command, while still retaining the case as entered on the replacement string, assuming that either *LOWER is in effect or the X'01' bit of SIREDIT is set. Under these conditions, and using the text from the previous example, the command:
r/this is/This Is/* all
will change occurrences on both lines, resulting in:
This Is sometimes hard to find due to mixed case, while “This Is” is all lowercase.
See also
- In addition to the SIREDIT parameter, the Sirius Mods provide some additional fullscreen editor commands.