Emulates terminals in bidirectional (BIDI) mode.
bterm [ -maps Map ] [ -help ] [ -keywords ] [ -nobidi ] [ -symmetric ] [ -autopush ] [ -or Orientation ] [ -text TextType ] [ -nss NumShape ] [ -csd CharShape ] [ -tail ] [ -nonulls ]
The bterm command emulates the IBM® 3151, VT220, HFT and other terminals. It operates in BIDI mode on ASCII terminals. This command creates a BIDI shell that can run any BIDI application. You cannot initiate the bterm command recursively from within itself.
The maps that determine the keyboard mapping and the symmetric swapping of characters are specified by the -maps flag. You can specify other BIDI behaviors using the flags available to the bterm command or by setting them in the defaults files. Such behaviors include the default text mode, the default screen orientation, the default mode of Arabic character shaping, the default shape of numerals, whether the Symmetric Swapping mode is enabled and whether the Autopush mode is enabled or not. The behaviors specified with flags take precedence over the behaviors set in the defaults files.
The default files are searched in the following order:
Item | Description |
---|---|
-autopush | Enables the Autopush mode in visual text mode. |
-csd CharShape | Specifies the shape of Arabic characters. The CharShape variable can be one of the following options:
|
-help | Lists the available parameters and their syntax. |
-keywords | Lists the keywords available in defaults file. |
-maps Map | Specifies the map used for keyboard mapping and symmetric
swapping of characters. Each language has a different map, and the
available options for the Map variable are in the /usr/lib/nls/bidi/maps directory. You must specify the environment variable BIDIPATH as follows:
|
-nobidi | Disables the BIDI mode. |
-nonulls | Initializes the screen with spaces instead of nulls. |
-nss NumShape | Specifies the shape of the numerals. Specify one of the following
options for the NumShape variable:
The default is bilingual. |
-or Orientation | Specifies screen orientation. The Orientation variable can be either LTR or RTL. The default is LTR. |
-symmetric | Enables the Symmetric Swapping mode. |
-tail | Writes the "seen," "sheen," "sad," and "dad" characters of the Arabic language in two cells instead of one cell. |
-text TextType | Specifies the type of data stream. The TextType variable can be either implicit or visual. The default is implicit. |
To change the BIDI settings using key combinations, press the Ctrl+X key sequence to enter a BIDI command mode. Any key you type after this key sequence is interpreted as a BIDI command. Invalid keys sound a beep and exit the BIDI command mode. The following keys are valid BIDI commands:
Key | Purpose |
---|---|
r | Reverses the screen orientation. |
n | Sets the language keyboard layer to National. |
l | Sets the language keyboard layer to Latin. |
a | Toggles the automatic shaping variable option of the Arabic characters (valid also for Implicit mode). |
t | Displays the status. |
space | Enters a required space (RSP). |
For implicit mode only:
Key | Purpose |
---|---|
c | Toggles the column heading mode. |
For visual mode only:
Key | Purpose |
---|---|
s | Initiates the Push mode. |
e | Terminates the End Push mode. |
p | Toggles the Autopush mode. |
f | Shapes Arabic characters in their final forms. |
i | Shapes Arabic characters in their initial forms. |
b | Shapes Arabic characters in the Passthru mode. |
o | Shapes Arabic characters in their isolated forms. |
m | Shapes Arabic characters in their middle forms. |
Use the following keywords to set the defaults for the bterm command.
Keywords | Value/Effect |
---|---|
fScrRev |
|
fRTL |
|
fLTR |
|
fPush |
|
fEndPush |
|
fAutoPush |
|
fASD |
|
fShapeIS |
|
fShapeIN |
|
fShapeM |
|
fShapeF |
|
textType |
|
orientation |
|
symmetric |
|
numShape |
|
charShape |
|
maps | Specifies the page code directory to be used for Keyboard. layering, input, output and symmetric character swapping. |
expandTail |
|
nobidi |
|
noNulls |
|