For most of your applications, you do not need to underscore or
overstrike characters or character strings. If you are using a
typewriter terminal and are typing files that use backspaces and
underscores, you should use either theIMAGE OFF or IMAGE CANON subcommands so that the editor handles the backspaces properly. IMAGE CANON is the default value for SCRIPT files. CANON means that regardless of how the characters are keyed in
(characters, backspaces, underscores), theeditor orders, or canonizes,
the characters in the file as: character-backspace-underscore,
character-backspace-underscore, and so on. If, for example, you want an
input line to look like:YOU could enter it as:
ABC, 3 backspaces, 3 underscores
- or -
3 underscores, 3 backspaces, ABC
A typewriter types out the line in the following order:
A backspace, underscore
B backspace, underscore
C backspace, underscore, which results in: If you need to modify a line that has backspaces, and you do not want
to rekey all of the characters, backspaces, and overstrike characters in
a CHANGE orREPLACE subcommand, you can use the ALTER subcommand to
alter all of the backspaces tosome other character and use a global
CHANGE command. For example, the following sequences shows how to
delete all of the backspace characters on a line:
AAAAAalter 16 + 1 *
+A_+A_+A_+A_+A
change /_+// 1 *
AAAAA
This technique may also be useful on a display terminal.SETTING TRUNCATION LIMITS Every CMS file that you edit has a truncation column setting: this
column represents the last character position in a record into which you
can enter data.When you try to input a record that is longer than the
truncation column, the record is truncated, and the editor sends you a
message telling you that it has been truncated.You can change the truncation column setting with the TRUNC subcommand. For example, if you are creating a file with a record length
of80 and wish to insert some records that do not extend beyond column 20, you could issue the subcommand:
trunc20 78 IBM VM/370 CMS User's Guide
overstrike characters or character strings. If you are using a
typewriter terminal and are typing files that use backspaces and
underscores, you should use either the
(characters, backspaces, underscores), the
the characters in the file as: character-backspace-underscore,
character-backspace-underscore, and so on. If, for example, you want an
input line to look like:
ABC, 3 backspaces, 3 underscores
- or -
3 underscores, 3 backspaces, ABC
A typewriter types out the line in the following order:
A backspace, underscore
B backspace, underscore
C backspace, underscore, which results in:
to rekey all of the characters, backspaces, and overstrike characters in
a CHANGE or
alter all of the backspaces to
CHANGE command. For example, the following sequences shows how to
delete all of the backspace characters on a line:
AAAAA
+A_+A_+A_+A_+A
change /_+// 1 *
AAAAA
This technique may also be useful on a display terminal.
column represents the last character position in a record into which you
can enter data.
truncation column, the record is truncated, and the editor sends you a
message telling you that it has been truncated.
of
trunc