hostCharMapping parameter

Use the hostCharMapping parameter to set or query the host char to display character mapping table that will be used when showHostChar parameter is set to on.  All the host 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) Whitespace characters are not affected by this command.

Availability

query command
set command
current parameter
default parameter
install parameter

Scope

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

Syntax

query hostCharMapping [ .CodePage ]
set hostCharMapping  -cp  CodePage { default
                              | [ HostHexadecimalValue DisplayCharHexadecimalValue ] [...]
                              }
query current.hostCharMapping [ .CodePage ]
query default.hostCharMapping [ .CodePage ]
set default.hostCharMapping   -cp  CodePage { install
                                      | [ HostHexadecimalValue DisplayCharHexadecimalValue ] [...]
                                      }
query install.hostCharMapping [ .CodePage ]

Parameters

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

Description

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

Examples

query hostCharMapping
set hostCharMapping -cp IBM-977 0x345 0x066 0x123-0x234 0x066 -cp IBM-900 0xab-0xdd 0x066
set default.hostCharMapping -cp IBM-977 0x345 0x066 0x123-0x234 0x066 -cp IBM-900 0xab-0xdd 0x066
query default.hostCharMapping.ibm-977
set default.hostCharMapping -cp ibm-977 0x49-0x59 0x111
query current.hostCharMapping
query default.hostCharMapping
set default.hostCharMapping install
query install.hostCharMapping 

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