whitespaceCharMapping parameter

Use the whitespaceCharMapping parameter to set or query the whitespace to display character mapping table that will be used when showWhitespaceChar parameter is set to on.  All the whitespace characters in the view will be shown as the display character defined in this table.

NOTE:

1) Shift in and shift out characters are not controlled by this command. See the showSosi shiftInCharacter shiftOutCharacter parameters to configure how to display the shift in and shift out characters in the view.

2) When editing remote files of fixed record length, trailing whitespace characters are usually stripped upon file transfer. LPEX does not support simulating these whitespace character when editing such files.

3) Line feed is not supported to be displayed in LPEX.

Availability

query command
set command
current parameter
default parameter
install parameter

Scope

whitespaceCharMapping is scoped to the current view.
current.whitespaceCharMapping is scoped to the current view.
default.whitespaceCharMapping is globally scoped.
install.whitespaceCharMapping is globally scoped.

Syntax

query whitespaceCharMapping
set whitespaceCharMapping { default
                              | [ WhitespaceHexadecimalValue DisplayCharHexadecimalValue ] [...]
                              }
query current.whitespaceCharMapping
query default.whitespaceCharMapping
set default.whitespaceCharMapping { install
                                      | [ WhitespaceHexadecimalValue DisplayCharHexadecimalValue ] [...]
                                      }
query install.whitespaceCharMapping 

Parameters

default If you specify the default parameter for the set whitespaceCharMapping parameter, the current view will use the value of default.whitespaceCharMapping as the whitespace to display character mapping table.
[ WhitespaceHexadecimalValue DisplayCharHexadecimalValue ] [...] If you specify a mapping list of whitespace to display character for the set whitespaceCharMapping parameter, the current view will use that mapping list to replace all the whitespace characters with the display character when the showWhitespaceChar parameter is set to on.

Only the following whitespace characters are supported to be displayed:
Whitespace Character Name Hexadecimal Value
Null0x00
Start Of Heading0x01
Start Of Text0x02
End Of Text0x03
End Of Transmission0x04
Enquiry0x05
Acknowledge0x06
Bell0x07
Backspace0x08
Horizontal Tabulation0x09
Vertical Tabulation0x0B
Form Feed0x0C
Carriage Return0x0D
Data Link Escape0x10
Device Control One0x11
Device Control Two0x12
Device Control Three0x13
Device Control Four0x14
Negative Acknowledge0x15
Synchronous Idle0x16
End Of Transmission Block0x17
Cancel0x18
End Of Medium0x19
Substitute0x1A
Escape0x1B
File Separator0x1C
Group Separator0x1D
Record Separator0x1E
Unit Separator0x1F
Space0x20

install If you specify the install parameter for the set default.whitespaceCharMapping command, all views with whitespaceCharMapping set to default will use the value of install.whitespaceCharMapping to determine which mapping list to be used when the showWhitespaceChar parameter is set to on.

Description

The query current.whitespaceCharMapping command returns a mapping list of whitespace to display characters that will be used in the current view when the showWhitespaceChar parameter is set to on.

Examples

query whitespaceCharMapping
set whitespaceCharMapping 0020 00B7 0009 00BB
query current.whitespaceCharMapping
query default.whitespaceCharMapping
set default.whitespaceCharMapping install
query install.whitespaceCharMapping 

Related reference
query command
set command
showWhitespaceChar parameter
showSosi parameter
shiftInCharacter parameter
shiftOutCharacter parameter