ameer

101
ﺃﻣﲑ٤٢٠ AMEER 420 ARABIC SUPPLEMENT GUIDE

Upload: abrkarmi

Post on 17-Oct-2014

67 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: ameer

٤٢٠أمري

AMEER 420

ARABIC SUPPLEMENT GUIDE

Page 2: ameer

Copyright © SEDCO 1993, 1999. All Rights Reserved.

You may not reproduce, transmit, transcribe, store in a retrieval system, or translate

into any language or computer language, in any form or by any means, any part of this document without the express written permission of SEDCO.

Trademarks AMEER a registered trademark of International Systems & Electronic Development

(SEDCO). IBM is a registered trademark of International Business Machines Corporation. IBM AS/400 is a trademark of International Business Machines Corporation. DEC is a registered trademark of Digital Equipment Corporation. VT420 is a trademark of Digital Equipment Corporation. DG is a registered trademark of DATA General Corporation. D217 is a trademark of DATA General Corporation.

Disclaimer SEDCO makes no representation or warranties regarding the contents

of this document. We reserve the right to revise this document or make changes of the products described within it at any time without notice and without obligation to notify any person of such revision or change.

Page 3: ameer

iii

Overview This Arabic supplement manual contains the basic information necessary to setup, and operate the AMEER 420 terminal in Arabic mode.

Chapter 1 Introduction.

Chapter 2 Discusses in detail the Arabization features and concepts implemented in the AMEER 420 terminal and how these features could be used in the development of Arabized computer applications.

Chapter 3 Introduces the Arabic setup mode and some of the changes you can make to the terminal's Arabic parameters.

Chapter 4 Describes the keyboard operation.

Chapter 5 Outlines the functionality of the terminal in Arabic mode with regards to printing features, dual session operations, defining your own Arabic code page and the terminal's operation under certain modes.

Chapter 6 Explains the off-line Arabic utility which includes the line language definitions and printer port control.

The appendices contain technical reference material and summary of available Arabic escape sequences.

Page 4: ameer

iv

Conventions The Manual adheres to the following style conventions:

Key Names

The name of keys on the keyboard are boxed, for example:

Return

Setup Mode Names

The terminal's setup parameters are referred to in the text by names that describe their function. These names don't appear on the menus in setup mode, which simply display the current setting for each parameter.

Related Publications

The following related publication could be ordered from Sedco: • The WY-285/ES Programmer's Guide contains detailed information on how

to take advantage of the terminal's programmable features in computer applications.

For availability, pricing, and ordering information contact your sales representative.

Page 5: ameer

v

Table of Contents

Chapter 1 Introduction 1-1 The Terminal in Arabic Mode Chapter 2 Arabization Concepts and Features 2-1 Language Modes 2-3 Insertion 2-3 Arabization Mechanism 2-5 7-Bit with Switching Codes 2-6 Balanced Insertion Field 2-6 Swapping Line Language 2-7 7-Bit with Escape Sequence 2-9 8-Bit without Neutrals 2-9 8-Bit with Neutrals 2-11 8-Bit with Neutrals and Language Space 2-12 Numeric Handling 2-17 Arabic Characters Display 2-19 Other Arabic Features Chapter 3 Arabic Setup 3-2 Table 3-1 Language Menu 3-6 Table 3-2 Fonts Submenu (Language Menu) 3-7 Table 3-3 Fkeys, Definitions Submenu(Keyboard Menu) 3-8 Table 3-4 Printer Menu Chapter 4 Keyboard 4-1 Language Function Keystrokes 4-5 D217 Keyboard 4-7 Arrow Keys

Page 6: ameer

Table of Contents

vi

Chapter 5 Arabic Mode Operation 5-1 Arabic Code Pages 5-3 User Defined Code 5-6 Arabic Printing 5-7 Dual Session Mode 5-7 Built-in Demo 5-8 IBM AS/400 Arabization Chapter 6 Off-Line Utility 6-1 Line Setting Utility 6-7 Printer Utility Appendix A Code Pages Appendix B Bilingual Keyboard Layout Appendix C Bilingual Escape Sequence Summary

Page 7: ameer

1-1

Chapter 1

Introduction The AMEER 420 is an intelligent bilingual Arabic/Latin terminal, which meets all the Arabic user needs. It provides a transparent Arabization solution, which allows the use of Latin software to handle Arabic and Latin data without the need to modify the packages. Therefore, the latest sophisticated packages can run bilingually immediately. The terminal has many new features, which makes it a unique product:

• Supports 23 different Arabic code pages and standards. • Contains many Arabic fonts with the capability of simultaneous display

of two fonts. • Comprehensive menu driven setup facility. Built-in Arabization for

slave printer. • Dual session and dual host capability. • User definable Arabic character set facility.

We recommend that you read this entire manual in order to get optimum usage of the terminal's features.

The Terminal in Arabic Mode The transparent Arabization solution used in the AMEER 420 terminal implies that all the features detailed in the WYSE WY-285 User's Guide are still functional. However, new features and modifications were implemented in the terminal. These features and modifications are outlined in this section:

Page 8: ameer

Chapter 1 Introduction

1-2

1. Data General D217 personality:

In addition to the DEC and WYSE personalities present in the terminal, Sedco has added a new personality: Data General D217 in native-mode. When operating under D217 personality, the terminal provides full compatibility with Sedco's previously Arabized D2xx terminals, and also provides all the Arabic features that are present in the terminal. To set the terminal's session in D217 mode, the following setup parameters must be selected:

General Menu

• Personality: D217 mode. • User-Preferred Supplement Set: UPSS ISO Latin-1. • Terminal ID: ID matches personality or D200 ID.

Display Menu Line Autowrap: Autowrap.

2. Copy and Paste:

With the addition of the Arabic features, the cut and paste feature now allows up to 4 lines of 132 columns text at any one time to be copied and pasted to another area of the same session or to the other session.

3. Setup Language:

The setup and status line messages are only displayed in English.

Page 9: ameer

Chapter 1 Introduction

1-3

4. Page Format:

The number of pages of display memory are modified to the following:

Single Session Mode

Pages Lines/Page 5 24 4 25 3 36 2 48 1 72

Dual Session Mode

Pages Lines/Page 2 24 1 25 1 36

Page 10: ameer

Chapter 1 Introduction

1-4

Notes

Page 11: ameer

2-1

Chapter 2

Arabization Concepts and Features This chapter describes the Arabization mechanism and features that are present in the AMEER 420 terminal; and also provides the Arabic software developers with escape sequences and hints on how to make optimum usage of the terminal's features.

Language Modes The language mode defines the presentation direction and the initial language of the text. The language mode could be Arabic or Latin. When the terminal is in Arabic mode the presentation direction is set from right to left and initial text is Arabic; while in Latin mode the presentation direction is set from left to right and the initial text is Latin. The terminal language mode depends on the mode of the screen, the line, and the keyboard. By default, all of them are of the same language. However, situations may arise in which the three parts could differ. The following sections describe the behavior of the terminal's three parts based on the language selected: Screen Mode

The screen mode is used to set the presentation direction of the terminal. The effects of the screen mode on the terminal in Arabic and Latin are outlined in the following table:

Page 12: ameer

Chapter 2 Arabization Concepts and Features

2-2

Arabic Latin Presentation Direction Right to Left Left to Right Initial active position Right margin Left margin Language Arabic Latin

The screen mode could be set to Arabic or Latin from the language menu in the setup mode or by escape sequences as shown in the table below.

<ESC> [1;0~ OR <ESC> 2 OR <ESC> %1

Set Latin presentation direction

<ESC> [1;1~ OR <ESC> 1 OR <ESC> %0

Set Arabic presentation direction

Line Mode

The line mode acts in a similar manner to the screen mode, but it only affects one line on the screen. The line mode is initially the same as the screen mode, but it could be changed by the swap line effect. This effect causes the line language to swap to the opposite language starting at the opposite margin. The effects of the line mode on the terminal in Arabic and Latin are outlined in the following table:

Arabic Latin Presentation Direction Right to Left Left to Right Initial active position Rightmost position Leftmost position Language Arabic Latin

Page 13: ameer

Chapter 2 Arabization Concepts and Features

2-3

Keyboard Mode

The keyboard mode defines the language of the characters entered from the keyboard. This can be set from the keyboard, or by sending the following escape sequences:

<ESC> [2;1~ Set the keyboard mode to Arabic <ESC> [2;0~ Set the keyboard mode to Latin

Insertion

Insertion fields are strings of text of the language opposite to the line language. Once an insertion is initiated it causes text to slide away from the starting insertion position. The sliding process ensures that text is entered in its natural order. After insertion is terminated, the line mode language resumes immediately. Some applications or systems may bilingually process the text internally before it is sent to the terminal, in which case the insertion fields are preprocessed. In order to allow for such situations the insertion sliding could be disabled to ensure proper display of text. This could be set from the language menu in setup mode, or by sending the following escape sequences:

<ESC> [7;0~ Disable insertion sliding <ESC> [7;1~ Enable insertion sliding

Page 14: ameer

Chapter 2 Arabization Concepts and Features

2-4

Arabization Mechanism This section describes the mechanism present in the terminal for the presentation of Latin and Arabic characters. The coding environments present are 7-bit or 8-bit. The 7-bit coding environment is based on using the 7-bit codes to represent both Arabic and Latin characters. Thus, a code may represent a Latin character in the Latin context, and an Arabic character in the Arabic context. In order to select the desired context, two mechanisms are introduced: switching codes (SWC) or escape sequences. The 8-bit coding environment is based on using the 8th bit of a character to define its type (0 for Latin, 1 for Arabic). Three mechanisms are introduced to operate under 8-bit coding: Without neutrals, With neutrals, and With neutrals and language space. The coding environment could be selected from the language menu in the setup mode or by using the following escape sequences:

<ESC> [5;0~ Set 7-bit coding environment <ESC> [5;1~ Set 8-bit coding environment

The following sections describe the available Arabization mechanisms:

Page 15: ameer

Chapter 2 Arabization Concepts and Features

2-5

7-Bit with Switching Codes Switching codes (SWC) characters are graphic characters that are used to switch from one language to the other, there are four SWC characters in this mode: - Start Arabic insertion code. - End Arabic insertion code. - Start Latin insertion code. - End Latin insertion code. The SWC characters are displayed as space. The 7-bit with switching code mode could be selected from the language menu in setup mode or by sending the following escape sequences:

<ESC> [5;0~ Set 7-bit coding environment <ESC> [12;1~ Select 7-bit switching code

By default, every Arabic code page has its default SWC characters. However, in some cases the user might need to change the SWC characters. The terminal allows these default characters to be changed by entering the switching code submenu present in the language menu in setup mode or by sending the following escape sequences (<SWC>: new SWC character):

<ESC> 61 <SWC> Define start Arabic insertion code <ESC> 62 <SWC> Define end Arabic insertion code <ESC> 63 <SWC> Define start Latin insertion code <ESC> 64 <SWC> Define end Latin insertion code

Page 16: ameer

Chapter 2 Arabization Concepts and Features

2-6

Balanced Insertion Field Some graphics characters used by applications, programming languages or operating systems may conflict with SWC characters. In such situations, if the user wishes to maintain the SWC without changes, a balancing scheme is introduced to solve this problem. Using this scheme, an insertion field must be explicitly delimited by start of insertion and end of insertion SWC. If this condition is not met, the SWC characters are considered as normal graphic characters and are displayed in their graphical representation. This feature could be selected from the language menu in the setup mode or by sending the following escape sequences:

<ESC> [28;0~ Select Normal Insertion Fields <ESC> [28;1~ Select Balanced Insertion Fields

Swapping Line Language

Swap is the switching from the line language mode to the opposite language mode within the given line. There are two methods for swapping to occur: 1. Single Character Swap:

Some Arabic code pages define a character for swapping the line to Latin mode and another character for swapping the line to Arabic mode.

2- Double Character Swap:

In this case swapping occurs if a pair of consecutive identical start of insertion SWC characters is encountered. When this occurs the effect of the swap depends on the swapping mode selected:

Page 17: ameer

Chapter 2 Arabization Concepts and Features

2-7

2.1 Swap does not affect screen: In this mode when a swap occurs in a line, it only affects the given line.

2.2 Swap local after column 16: When a swap occurs in a line before

column 16 it changes the language mode of the default lines that are below the given line to the same language as the swap language; otherwise the swap does not affect other lines.

2.3 Swap not local after column 16: When a swap occurs in a line, it

changes the language mode of the default lines that are below the given line to the same language as the swap language, irrespective of the location of the swap in the given line. The swap mode could be selected from the language menu in the setup mode, or by sending the following escape sequences.

<ESC> 691 Swap local after column 16 <ESC> 692 Swap not local after column 16

7-Bit with Escape Sequences

Using this 7-bit Arabization mechanism, escape sequences are used to switch from one language to the other. This mode could be selected from the language menu in setup mode, or by sending the following escape sequences:

<ESC> [5;0~ Set 7-bit coding environment <ESC> [12;0~ Select 7-bit with Escape Sequence

Page 18: ameer

Chapter 2 Arabization Concepts and Features

2-8

The switching from one language to the opposite, is achieved by sending the following escape sequences:

<ESC> [90~ Start Arabic insertion <ESC> [91~ Set Arabic basic mode <ESC> [92~ Set Latin basic mode <ESC> [93~ Start Latin insertion <ESC> [94~ End insertion

In this mode the insertion escape sequence could also be generated from the keyboard as explained in the following table.

Keystroke Effect

Compose

لغة

عربي

In Latin screen mode, the start Arabic insertion sequence is generated. In Arabic screen mode, the end insertion sequence is generated.

Compose

لغة

Shiftالتيني

In Latin screen mode, the end insertion sequence is generated. In Arabic screen mode, the start Latin insertion is generated.

Compose

لغة

F20انهي

The end insertion sequence is always generated.

Page 19: ameer

Chapter 2 Arabization Concepts and Features

2-9

8-Bit without Neutrals The 8-Bit without neutral Arabization mechanism depends on using the 8th bit for defining the language of a character. (0 for Latin, 1 for Arabic). This rule applies to all characters, including space, numbers, punctuation marks and special symbols. Using this mode of operation, the insertion fields start and end are defined at the transition of the 8th bit. This mode could be selected from the language menu in setup mode or by sending the following escape sequences:

<ESC> [5;1~ Set 8-bit coding environment. <ESC> [16;0~ Select 8-bit without neutral.

8-Bit with Neutrals

Neutral Characters

Neutral characters are 7-bit characters (8th bit is 0) which could be considered as Latin or Arabic characters depending on the context in which they are displayed. These characters are defined in the following table:

<SPACE> ! " # $ % & ، ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ [ \ ] ^ _ ، {

| } ~

Page 20: ameer

Chapter 2 Arabization Concepts and Features

2-10

The 8-bit with neutral operating mode is based on 8-bit coding environment. This means that characters with 8th bit set are defined as Arabic. However, 7-bit characters (8-bit set to 0) could be neutral or Latin characters. Explicit Latin characters are in the range A-Z and a-z. Using this mode, the neutral characters behave in a manner that depends on the line language mode and the language of the characters surrounding them. The behavior depends on the following rules: 1- Outside an Insertion:

Neutral characters follow the language of the line mode. 2- At the edge of an insertion:

A string of neutrals follows the language of the line mode when surrounded by characters of different languages.

3- Inside an Insertion:

A string of neutrals surrounded by the same language on both sides adopts this language. This mode of operation could be selected from the language menu in the setup mode or by sending the following escape sequence:

<ESC> [5;1~ Set 8-bit coding environment <ESC> [16:1~ Select 8-bit with neutrals

Page 21: ameer

Chapter 2 Arabization Concepts and Features

2-11

8-Bit with Neutrals and Language Space This mode acts in a similar manner to 8-bit with neutrals mode with the exception of space handling: - Neutral space characters take on the line mode language so that multiple

strings of insertion text are displayed in the line order. - When in an insertion field, the space generated from the keyboard is Code

A0 Hex. This ensures that the insertion field will always be displayed in its natural order when the line language is changed.

This mode could be selected from the language menu in setup mode or by sending the following escape sequences:

<ESC> [5;1~ Set 8-bit coding environment <ESC> [16;2~ Select 8-bit with neutrals and language space

Page 22: ameer

Chapter 2 Arabization Concepts and Features

2-12

Numeric Handling This section describes the behavior of Numeric data in Arabic context. Numeric Shapes

The numeric characters: the ten digits, the decimal point, and the comma could be displayed in any one of the two shapes outlined in the following table:

Style Digits Decimal Point Comma Arabic 0123456789 "." "," Hindu ٠١٢٣٤٥٦٧٨٩ "," "،"

The shape of the numeral character displayed depends on the setup selected. There are four possible combinations of numeric display. They are outlined in the following table:

Numeric Mode Shape in Latin Field Shape in Arabic Field Mixed Numerals Arabic Hindu Latin only Numerals Arabic Arabic Arabic only Numerals Hindu Hindu Reversed Numerals Hindu Arabic

Page 23: ameer

Chapter 2 Arabization Concepts and Features

2-13

The required displayed shape could be selected from the fonts submenu in the language menu in setup mode, or by sending the following the escape sequences:

<ESC> [21;1~ OR <ESC> 661

Mixed Numerals

<ESC> [21;0~ OR <ESC> 662

Latin only numerals

<ESC> [21;3~ OR <ESC> 663

Arabic only numerals

<ESC> [21;2~ Reversed Numerals Numeric Sliding

The numeric characters are displayed from left to right in Arabic and Latin modes. In Arabic mode, this direction is opposite to the presentation direction. Thus, numbers will slide away from their entry point. This is called numeric sliding. This process ensures proper display of data sent from computers to the terminal. However, some users require numbers to appear as in Arabic typewriters. In such cases numeric sliding must be disabled. Numeric sliding mode could be selected from the language menu in setup mode, or by sending the following escape sequences:

<ESC> [6;0~ Disable Numeric Sliding <ESC> [6;1~ Enable Numeric Sliding

Page 24: ameer

Chapter 2 Arabization Concepts and Features

2-14

Arithmetic Operators

The four operators +-*/ can be made to behave either like numerals or like Alphabets. For example, while in an Arabic field, pressing the three keys -, ١ and ٢ in that order will show two different results according to the selection. If the numeric option is selected, the screen will show -١٢ while if the Alphabetic option is selected the screen will show ١٢ -. The required option could be selected from the language menu in setup mode or by sending the following escape sequences:

<ESC> [9;0~ Set + -*/ as Alphabets <ESC> [9;1~ Set + -*/ as Numbers

Decimal Point

In Latin, the period acts as decimal point and a sentence terminator. In Arabic, the period is used for both cases, but they behave differently. When used as a sentence terminator it appears as a dot ".". However when one period touches a numeric character it will be considered numeric and is displayed as a decimal separator ",". Therefore, to place a period after a number, a space should be inserted in between. Numeric Comma

In some applications large numbers are separated by commas, e.g. One million and eight hundred thousand is sometimes displayed as 1,800,000 in Latin mode. In Arabic, this is displayed as ٠٠٠،٨٠٠،١ . Thus a Latin comma is replaced by Arabic comma and is considered numeric. The Arabic comma is only considered a numeric character, if it is surrounded by Hindu numerals.

Page 25: ameer

Chapter 2 Arabization Concepts and Features

2-15

Numeric Field Justification (Numeric Space)

Due to the different orientation, Arabic text propagates on the screen from right to left. This causes a problem when trying to display a right justified numeric field by an application program. For example the following right justified numbers: 123 12 will be left justified in an Arabic field

١٢٣ ١٢

To solve this conflict, the program has to precede this numeric field by the Numeric Space. If for example, the left curly bracket code is selected as the numeric field justification code, then it should precede the numeric field as shown below: { 123 { 12 By doing this, right justification of the two numbers will be accomplished as shown below:

١٢٣ ١٢

The numeric space (numeric justification) code is user definable, it can be selected from the switching code submenu in the language menu in setup mode, or by sending the following escape sequence where n is the ASCII value for the numeric space:

<ESC> 65n Define Numeric Justification code n It should be pointed out that the Numeric justification behaves like a Numeric space when it touches a numeric character.

Page 26: ameer

Chapter 2 Arabization Concepts and Features

2-16

There are three methods for obtaining numeric field justification: 1. Single Numeric Space Mode:

Using this mode, the numeric justification field will end after the last numeric character is entered. Only spaces are allowed between the Numeric space and the first numeric character.

2. Balanced Numeric Space Mode:

Using this mode, the numeric space character should be entered again to end the numeric justification field. Thus, two numeric spaces are required to define a numeric justified field. All characters between the two numeric space characters slide like numbers.

3. SEDCO Single Numeric Space Mode:

This is similar to the Single Numeric space mode. However, any character between the numeric space and the first numeric character slides like numbers.

The required mode could be selected from the language menu in setup mode, or by sending the following escape sequences:

<ESC> [8;0~ Set Single Numeric Space Mode <ESC> [8;1 OR <ESC> 682

Set Balanced Numeric Space Mode

<ESC> [8;2~ OR <ESC> 681

Set Sedco Single Numeric Space Mode

The numeric space also behaves as a linking space. See Linking Space later at this chapter.

Page 27: ameer

Chapter 2 Arabization Concepts and Features

2-17

Blank Digit

The blank digit (BDG) provides a similar solution to single numeric space mode. It is a blank character that is available in certain code pages.

Arabic Characters Display This section describes selection of available Arabic fonts and some other particularities of the Arabic script. Fonts

The AMEER 420 provides the user with four selectable Arabic fonts, with the facility to display two fonts simultaneously. This feature allows the user to display titles and important information more clearly. The user has the ability to display one or two fonts on the same screen. The required setting could be selected from the fonts submenu in the language menu in setup mode. When the 1 Arabic font option is selected, only one font is displayed on the screen. The font style displayed will follow Font I Selected style. When the 2 Arabic fonts option is selected, two fonts could by displayed on the screen. In this case the Font 1 selected style will appear on the screen if the Arabic character's Bold attribute is not set; while the Font 2 selected style will appear on the screen if the Arabic character's Bold attribute is set. Font 1 and Font 2 could be any one of four different font styles available in the terminal. The required font style could be selected from the Fonts submenu in the language menu in setup mode or by sending the following escape sequences:

Page 28: ameer

Chapter 2 Arabization Concepts and Features

2-18

<ESC> [30;0~ Font 1 = HADITH <ESC> [30;1~ Font 1 = NASKH <ESC> [30;2~ Font 1 = KOFI <ESC> [30;3~ Font 1 = ASRI <ESC> [31;0~ Font 2 = HADITH <ESC> [31;1~ Font 2 = NASKH <ESC> [31;2~ Font 2 = KOFI <ESC> [31;3~ Font 2 = ASRI

There are eight wide characters: ف،ث،ت،ب،ض،ص،ش،س (Seen, Sheen, Sad, Dad, Ba, Ta, Tha, Fa). These characters could be displayed in one or two cells according to the user's selection: Expanded Tail

If a wide character is followed by a space, the appropriate tail replaces the space; otherwise the wide character will be displayed in one cell as in Compressed Tail. Compressed Tail

Wide characters are always displayed in a single cell. The required tail style could be selected from the fonts submenu in the language menu in setup mode, or by sending the following escape sequences:

<ESC> [14;0~ Select compressed tail style <ESC> [14;1~ Select expanded tail style

Lam-Alef Ligature

When an Alef character (ا، إ، أ، آ) follows a Lam (ل) the Lam and Alef fonts will be replaced by a pair of fonts especially designed for the ligature.

Page 29: ameer

Chapter 2 Arabization Concepts and Features

2-19

Hindu Two Digit

AMEER 420 offers a choice between two styles for the shape of Hindu digit two. Naskh and Reqaa depending on the font style selected. The required Two shape could be selected from the Fonts submenu in the language menu in setup mode, or by sending the following escape sequences:

<ESC> [22;0~ Select Naskh Hindu 2 shape <ESC> [22;1~ Select Reqaa Hindu 2 shape

Linking Space

The linking space forces adjacent letters to appear in their linking shape; the linking space also behaves as a numeric space.

Other Arabic Features Erase Character Handling

When clear or erase operations are performed on the screen the erased characters are replaced by a space. The user may not require this space to slide with text insertions. The space behavior is controlled by the type of ERASE characters selected. If ERASE characters are "BLANK" (20 Hex), they slide within an insertion not terminated by end of insertion code (open insertions). If ERASE characters are "EMPTY" (Null), they terminate open insertions. The ERASE character type could be selected from the language menu in setup mode or by sending the following escape sequences:

<ESC> [18;0~ Erase character = BLANK <ESC> [18;1~ Erase character = EMPTY

Page 30: ameer

Chapter 2 Arabization Concepts and Features

2-20

Column Heading Mode:

In order to facilitate multiple column display of text and numbers, such as with spreadsheet applications, the concept of Column Heading Mode is introduced. Column heading mode, when enabled, causes neutral space characters to take on the screen language so that multiple strings of insertion text are displayed in the screen order. This mode is effective when the Arabization mode is set to 8-bit with neutrals. The column heading mode could be enabled or disabled by sending the following escape sequences:

<ESC> [29;0~ Disable Column Heading Mode <ESC> [29;1~ Enable Column Heading Mode

Cursor Closure

Cursor Closure, when enabled, causes the cursor to act as end of an insertion. In 7-bit mode, this occurs when the cursor is in open insertion field (i.e. end of insertion SWC was not entered). In 8-bit mode, this occurs when the cursor is in open neutral insertion field (i.e. neutral characters were at the edge of an insertion). In such cases, the cursor acts as a language switch character or as a character of the keyboard mode. The cursor closure feature could be enabled or disabled from the language menu in setup mode or by sending the following escape sequences:

<ESC> [19;0~ Disable Cursor Closure <ESC> [19;1~ Enable Cursor Closure

Page 31: ameer

Chapter 2 Arabization Concepts and Features

2-21

Cursor Mode

The AMEER 420 provides two cursor modes: 1. Normal Cursor Mode:

Under this mode, the cursor follows the style selected from the display menu in setup mode.

2. Bilingual Cursor Mode:

The Bilingual Cursor Mode indicates the keyboard's language mode. If the cursor is Blink Underline, then this indicates that the keyboard mode is Latin. If the cursor is Steady Block, then this indicates that the keyboard mode is Arabic. The cursor mode required could be selected from the language menu in setup mode.

Arabization Enable/Disable

When Arabization is disabled, the terminal will work in Latin only mode. Under this mode all the Arabization features will be disabled. The Arabization/disable selection could be set by setting the code page to LATIN ONLY in the language menu in setup mode or by sending the following escape sequences:

<ESC> [0;0~ Enable Arabization <ESC>[0;1 OR <ESC>671

Disable Arabization

The Arabization setting (Enabled/Disabled) can also be done by the keyboard. This will be discussed in Chapter 4.

Page 32: ameer
Page 33: ameer

3-1

Chapter 3

Arabic Setup This chapter outlines the Arabic parameters in setup mode and lists the available options for each Arabic parameter. The Arabic setup entries are divided into two menus on the menu bar: 1. The Language Menu:

This menu contains all the Arabic parameter settings that are related to screen Arabization and host related features.

2. The Printer Menu:

In addition to the menu entries outlined in the WYSE WY-285 User's Guide, more entries are added for bilingual control of the printer port.

Tables 3-1 to 3-4 list the terminal's Arabic setup menus and explain the meanings of the parameter settings in each menu. Default settings are marked by an asterisk *.

Page 34: ameer

Chapter 3 Arabic Setup

3-2

Table 3-1 Language Menu Parameter Settings Definition

Font Display < Fonts > Displays a submenu (described in Table 3-2) that contains font-related entries and Numeric display selections.

Arabic Code Page Latin Only AMEER Data General Al-Arabi ASMO 449 Beehive Zentec ASMO 708 ASMO 449/Plus* DEC/8/ASMO Codar-UFD ARCII Comterm 341 Comterm 541 ASMO 708/Plus ADOS CP710 NCR-96

Code pages supported by AMEER 420.

NCR ASMO-708 HP Arabic-8 IBM NLS Nafitha Sakhr IBM/AS400 Arabic User Defined Code

Continued on next page

Page 35: ameer

Chapter 3 Arabic Setup

3-3

Parameter Settings Definition Arabic Operating Mode

7-bit Arabic Switching Codes*

Uses 7-bit with switching codes (SWC) to switch from one language to another.

7-bit Arabic with Escape Seq.

Uses 7-bit coding, and uses Escape Sequences to switch from one language to another.

8-bit Arabic without Neutrals

Uses 8-bit coding. Neutral characters in Arabic are coded with 8th bit on.

8-bit Arabic with Neutrals

Uses 8-bit coding. Neutral characters in Arabic are coded the same way as in Latin.

8-bit Arabic with Neutrals & Lang. SP

Uses 8-bit coding. Neutrals in Arabic are coded the same way as in Latin, but neutral space follows screen language and insertion space is encoded as A0 Hex for Arabic and Latin.

Switching Codes < Language Switching Codes >

Display a submenu for selecting the switching codes and Numeric space.

D217 On-line Line Utility

DG Line Setup By ^B*

Set Ctrl-B as command sequence to enter the On-Line line setting utility in D217 mode.

DG Line Setup by RS b

Set RS b command sequence to enter the On-Line setting utility in D217 mode.

Continued on next page

Page 36: ameer

Chapter 3 Arabic Setup

3-4

Parameter Settings Definition DG Line Setup by

RS G Set RS G command sequence to enter the On-Line setting utility in D217 mode.

Numeric Space Mode

Single Numeric Space Mode*

Space characters between numeric space and the first numeric field slide like numbers.

Balanced Numeric Space Mode

All characters between two numeric space characters slide like numbers.

SEDCO Single Numeric Space Mode

Any character between numeric space and the numeric field slides like numbers.

Swap Language Swap does not affect rows below*

A pair of consecutive SWC does not affect default lines below.

Swap local after column 16

A pair of consecutive SWC only affect default lines below if they are entered before column 16 of the line.

Swap not local after column 16

A pair of consecutive SWC only affect default lines below no matter where it is executed.

Switching Code Mode

Normal Insertion Fields*

A start of insertion SWC is sufficient to start in insertion field in 7-bit coding.

Balanced Insertion Fields

Both start and end of insertion SWC are required to define an insertion field.

Continued on next page

Page 37: ameer

Chapter 3 Arabic Setup

3-5

Parameter Settings Definition Mathematical Symbols

+-*/ Alpha * Defines +-*/ as alpha characters.

+-*/ Numeric Defines + -*/ as numeric characters.

Character Sliding Numbers and Insertion Slide *

Both numerals and insertion fields slide so that the first character entered slides away from the insertion point.

Only Insertions Slide

Numerals are entered like on a typewriter.

Only Numbers Slide Insertion sliding is disabled. Numerals are entered most significant first.

No Sliding Neither numerals nor insertions slide.

Screen Mode Latin Screen Mode* Set screen mode to Latin. Arabic Screen Mode Set screen mode to Arabic. Cursor Behavior Cursor Closure * Cursor acts as end of insertion

tentatively. No Cursor Closure Cursor does not affect

insertion. Erase Character Empty * Erased positions are filled with

Null character (0 Hex). Blank Erased positions are filled with

neutral space (20 Hex). Special Escape Sequences

Enable Arabic ESC 5,6,%0, %1,..*

Arabic escape sequences override DEC VT420 escape sequences.

Enable DEC VT420 ESC 5,6,%

DEC VT420 escape sequences override Arabic escape sequences.

Continued on next page

Page 38: ameer

Chapter 3 Arabic Setup

3-6

Parameter Settings Definition Cursor Style Bilingual Cursor * Sets cursor to blink line when

the keyboard mode is Latin and to steady block when the keyboard mode is Arabic.

Normal Cursor Cursor type is selected from Display Menu.

Table 3-2 Fonts Submenu (Language Menu) Parameter Settings Definition

Number of Displayed fonts

1 Arabic Font * Only one font is displayed.

2 Arabic Font Two fonts could be simultaneously displayed on the same screen.

Font 1 Type Hadith * Naskh Kofi Asri

Select type of first Arabic font.

Font 2 Type Hadith Naskh * Kofi Asri

Select Type of second Arabic font. The second Arabic font is displayed when 2 Arabic font parameter is selected and the BOLD attribute is enabled.

Wide Character Expand Tail* Displays ،ب، ض، ص، ش، ف، ث، ت characters in two cells if سthere is room.

Compress Tail Displays ،ب، ض، ص، ش، ف، ث، ت .characters in one cell always س

Continued on next page

Page 39: ameer

Chapter 3 Arabic Setup

3-7

Parameter Settings Definition Numbers Display Mixed Numerals * Display Arabic numerals in

Latin mode and Hindu numerals in Arabic mode.

Latin only Numerals Display Arabic numerals in Latin and Arabic modes.

Arabic only Numerals

Display Hindu numerals in Latin and Arabic modes.

Reversed Numerals Display Arabic numerals in Arabic mode and Hindu numerals in Latin mode.

Digit 2 Shape Naskh 2 *

Display Hindu 2 in the Naskh style.

Reqaa Reqaa 2 Display Hindu 2 in the Reqaa style.

The last two entries in the submenu FKeys, Definitions in the keyboard menu have been changed to the following:

Table 3-3 FKeys, Definitions Submenu (Keyboard Menu)

Parameter Setting Definition Angle Bracket key

< > key send \| The < > key is replaced by \| key.

-/ Keypad key -/ key sends - *

-/ keypad key sends -

-/ key sends / -/ keypad key sends /

Page 40: ameer

Chapter 3 Arabic Setup

3-8

The following entries are added at the bottom of the Printer Menu to control Arabic printing:

Table 3-4 Printer Menu Parameter Setting Definition

Bilingual Printing Bilingual Preparation Off *

Data is passed to the printer port without bilingual processing.

Bilingual Preparation On

Data passed to the printer port is bilingually processed.

Printing Direction Left --> Right* Left <-- Right

Define printing direction when Bilingual Preparation On is selected.

Arabic Right Margin

Right margin = 78 Right margin = 80* Right Margin = 132 Right Margin = 136

Set printer right margin when Bilingual Preparation On is selected.

External Bilingual Processing

Nadim Printer Arabization* Genicom Printer

Type of external Arabization connected to printer port. Effective when Bilingual Preparation Off is selected.

Page 41: ameer

4-1

Chapter 4

Keyboard This chapter describes the operation of the keyboard when Arabization is enabled; and outlines the modifications introduced for the D217 Mode. The AMEER 420 bilingual keyboard layout is compatible with the IBM Arabic keyboard layout. In addition, the keyboard contains many language keystrokes to facilitate bilingual (Arabic/Latin) data processing. The keyboard features discussed in the WYSE WY-285 User's Guide are all functional. To differentiate between the Arabic keystroke and the original

keystroke, a language key is introduced

Compose

لغة . This key is pressed when a language function is required.

Language Function Keystrokes

Compose

لغة

عربي

Sets the keyboard mode to ARABIC. The cursor changes to its Arabic shape (solid block), and Arabic characters will be selected at the keyboard. In 7-bit switching code mode, this keystroke generates the start of Arabic insertion SWC when the line mode is Latin. When the line mode is Arabic, it generates end of Latin insertion SWC.

Compose

لغة

Shiftالتيني

Sets the keyboard mode to LATIN. The cursor changes to Latin shape (blinking underline), and Latin characters will be selected at the keyboard. In 7-bit switching mode, this keystroke generates the start of Latin insertion SWC when the line mode is Arabic. When the line mode is Latin, it generates end of Arabic insertion SWC.

Page 42: ameer

Chapter 4 Keyboard

4-2

Compose

لغة

F20أنهي

Pressing this key generates the end of insertion code depending on the line mode. This key is disabled in 8-bit modes.

عربي

Return

This keystroke generates the codes necessary to swap the line mode to Arabic. The keyboard mode is also set to Arabic. When this keystroke is implemented, the cursor moves to the rightmost column (with Arabic shape) in the given line.

Shiftالتيني

Return

This keystroke generates the code necessary to swap the line mode to Latin. The keyboard mode is also set to Latin. When this keystroke is implemented, the cursor moves to the leftmost column (with Latin shape) in the given line.

Ctrl

عربي

Sets the screen and keyboard modes to Arabic, and sets the default lines to Arabic. This is a local function, no control characters are generated.

Ctrl

Shiftالتيني

Sets the screen and keyboard modes to Latin, and sets the default lines to Latin. This is a local function, no control characters are generated.

Compose

لغة

F17اعكس

This keystroke toggles the screen and keyboard modes. It also toggles the language mode of the default lines. With AMEER and Data General code pages this keystroke also toggles the language of the lines defined as Arabic or Latin only.

Ctrl

Compose

لغة

عربي

Same as

Compose

لغة

عربي

keystroke, but the codes are generated local to the terminal. The language switch command is not transmitted to the host computer.

Page 43: ameer

Chapter 4 Keyboard

4-3

Ctrl

Compose

لغة Shiftالتيني

Same as:

Compose

لغة

Shiftالتيني

keystroke, but the codes are generated local to the terminal. The language switch command is not transmitted to the host.

Compose

لغة Space

In Arabic keyboard mode, this keystroke generates a Numeric Space (Numeric Justification) character.

Shiftالتيني

Space

Keyboard generates Latin space character.

عربي

Space

Keyboard generates Arabic space character.

Ctrl

Space

This keystroke toggles the column heading mode setting.

Ctrl

Compose

لغة V }

ر

This combination toggles the visibility of SWC characters on the display.

Compose

لغة

PF3LatinLock

This combination toggles the Arabization mode between enabled and disabled.

Ctrl

Compose

لغة Same as

Compose

لغة

PF3LatinLock

Page 44: ameer

Chapter 4 Keyboard

4-4

A 'شـ

Ctrl

Compose

لغة Char

Char. is any ASCII key. This keystroke generates the Latin character independent of the keyboard mode.

Compose

لغة

PF4Sil

Swap

Pressing this keystroke initiates a silent swap function; it enables the user to select the alternate language for one character only.

Compose

لغة

F18اقلب

This keystroke toggles the language of the lines defined as Toggling lines. If Arabic to Latin and vice versa.

Compose

لغة

F19عرف

This keystroke enters the off-line utility, see chapter 6.

Compose

لغة

PF1Set D

Pressing this keystroke changes the default language settings of the whole screen to default lines. The screen and keyboard modes are set to Latin.

Compose

لغة

PF2Res D

This keystroke changes the lines of the whole screen to Latin. The screen and the keyboard modes are set to Latin.

Page 45: ameer

Chapter 4 Keyboard

4-5

D217 Keyboard When the terminal operates under D217 mode, F1-F5 are used as normal function keys. To overcome this problem the old features of the keys could be obtained by holding down the Alt/لغة with the required function key:

HOLD =

Compose

لغة

F1

PRINT =

Compose

لغة

F2

SETUP =

Compose

لغة

F3

SESSIONS =

Compose

لغة

F4

BREAK =

Compose

لغة

F5

In addition to the above, some D217 keys were introduced in place of the following:

Page 46: ameer

Chapter 4 Keyboard

4-6

Description in D217 keyboard

Find

= Carriage Return key

InsertHere

= PRINT Key

Re-move

= BREAK Key

Select

= ERASE Page Key

Prev

= Home Key

Next

= ERASE EOL key

PF1

= Cl Key

PF2

= C2 Key

Page 47: ameer

Chapter 4 Keyboard

4-7

PF3

= C3 Key

PF4

= C4 Key

Arrow Keys In Arabic screen mode, the escape sequences transmitted from the left and right arrow keys are reversed in order to maintain the natural order of cursor movement.

Page 48: ameer

Chapter 4 Keyboard

4-8

Notes

Page 49: ameer

5-1

Chapter 5

Arabic Mode Operation This chapter outlines the functionality of the terminal in Arabic mode with regards to Arabic code pages, user defined code page, printing features, and dual session operations.

Arabic Code Pages The AMEER 420 terminal supports many Arabic code pages. For Arabic operation an Arabic code page must be selected. If the code page is set to Latin Only, the Arabization features are disabled. The required code page could be selected from the language menu in setup mode or by sending the following escape sequence to select the active code page: <ESC> [25;Code~ Where Code defines the Arabic code page required:

Page 50: ameer

Chapter 5 Arabic Mode Operation

5-2

Code Name Code Name 0 Latin Only 64 Al-Arabi 1 AMEER 78 ASMO-708 2 Beehive 80 ADOS CP710 3 Zentec 81 IBM NLS

50 ARCII 82 Nafitha 51 ASMO 449 83 Sakhr 52 Codar-UFD 84 IBM/AS400 Arabic 54 Comterm 341 87 ASMO 708/Plus 55 Comterm 541 91 NCR-96 59 Data General 93 NCR ASMO-708 62 ASMO 449/PLUS 94 HP Arabic-8 63 DEC/8/ASMO 99 User Defined

In addition, using SEDCO old escape sequences the following code pages could be selected: <ESC> 67 n where n represents any one of the following code pages:

Code n Name 1 Latin Only 2 AMEER 3 Al Arabi 4 ASMO 449 5 ASMO 708 6 Data General

Page 51: ameer

Chapter 5 Arabic Mode Operation

5-3

User Defined Code Page The AMEER 420 allows the user to define his own code page. This feature is much needed when the user requires to define a code page, which contains all the Arabic codes that are required. Table 5-1 represents the Hypothetical code table, which is used to assign the location of each character in the user deemed code. By default, the user defined code page is mapped to the hypothetical code page. The user defined code page consists of 96 characters starting at location 20 Hex up to 7F Hex. This code is saved in the Non Volatile Ram (NVR) of the terminal. This means that if the power is switched off the user defined code page will not be lost. To reset the user defined code page to its default setting the following escape sequence must be sent from the host computer:

<ESC> [96~ Reset user code page to the hypothetical code page. To define a user code page, every entry in the required table that does not match the entry in the hypothetical table, must be assigned the hypothetical value. In addition, every entry in the user defined code page that is not used, must be assigned the < BS > (08 Hex) character.

Page 52: ameer

Chapter 5 Arabic Mode Operation

5-4

Hypothetical Code Page

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ @ ذ - 0

01 × ! ١ ف ر ء 1

02 ÷ " ٢ آ ق ز 2

03 « # ٣ أ ك س ` 3

04 » $ ٤ ؤ ل ش 4

05 £ % ٥ إ م ص NSP 5

06 µ & ٦ ءى ن ض , 6

07 ° ' ٧ ه ط ا / 7

08 ¤ ) ٨ 8 { و ظ ب

09 ( ٩ 9 < ى ع ة

0A * : ال ي غ ت 10

0B + ؛ [ ث } 11

0C ، \ ج < ¦ 12

0D آل - = ] ح { 13

0E أل ^ خ > . ~ 14

0F إل ؟ / - د

DEL 15

0 16 32 48 64 80 96 112

DEC

Page 53: ameer

Chapter 5 Arabic Mode Operation

5-5

The following escape sequence is used to define the user code page:

<ESC> [95~ <start character> <string> <BEL>

< start character > Character location in user code page from which the changes in the table starts. (code must be between 20 Hex - 7F Hex).

< string > ASCII characters representing the hypothetical code values.

< BEL > String terminator (07 Hex). Example:

To set the user defined code equal to Al-Arabi code page, the following escape sequences must be sent to the terminal: Step 1

Reset the user code page to the hypothetical code page: <ESC> [96~ Step 2

Set the location 60 Hex in the user defined code page to "،" character, which is located at position 73 Hex in the hypothetical code table: <ESC> [95~'s <BEL> Step 3

Define locations 73 Hex and 74 Hex as empty locations in the user defined code page: <ESC>[95~s<BS> <BS> <BEL>

Page 54: ameer

Chapter 5 Arabic Mode Operation

5-6

Step 4

Modify the user defined code page starting from location 76 Hex in order to include the "-", "-", "x", " < < ", and " > > " characters. These five characters are located at positions 60 Hex, 12 Hex, 11 Hex, 13 Hex and 14 Hex respectively in the hypothetical code page: <ESC>[95~v'<DC2> <DC1> <DC3> <DC4> <BEL> where <DC1> = 11 Hex <DC2> = 12 Hex <DC3> = 13 Hex <DC4> = 14 Hex Note that the above example of mapping the user defined code page to a known code page was only introduced to clarify the command. This means that using this method any required unknown code page could be implemented.

Arabic Printing The AMEER 420 controls the bilingual operation of a slave printer connected to the terminal. Printer Arabization:

The printer Arabization is most likely done through a Nadim printer adapter, or through an internal Sedco Arabization of the printer. The terminal does not Arabize the data passed to the printer port, it only sends the escape sequences to select the presentation direction required. This setting is obtained when the bilingual operation parameter in the printer menu in setup mode is disabled, and the required external Arabization method is selected (Nadim printer Arabization or Arabized Genicom printer).

Page 55: ameer

Chapter 5 Arabic Mode Operation

5-7

Dual Session Mode When the terminal is operating under Dual Session/Dual Host capability, all the dual session features detailed in the WYSE WY-285 User's Guide are functional. The dual host capability that is present in the AMEER 420 is based on the fact that each session setting is independent, which also applies to the Arabization. This means that different Arabization settings could be provided for each session. When using the terminal in dual session mode, the display memory update parameter in the General menu in setup mode must be set to NEVER UPDATE.

Built-in Demo The AMEER 420 has a built-in demo program that outlines and demonstrates the terminal's features. This program could be activated by sending the following escape sequence: <ESC> [97~ The program consists of several pages which outlines the terminal's features and displays its various fonts. To move from one page to another, press any key. Once the final page is reached, the demo repeats itself. To exit this program, press the ESC key

ESC

. This will reset the terminal to its power on state.

Page 56: ameer

Chapter 5 Arabic Mode Operation

5-8

IBM AS/400 Arabization When the terminal is to be used with IBM AS/400, the following setup parameters must be selected in order to obtain proper Arabic display: Code page = IBM AS/400 Arabic Operating mode = 8-bit without Neutrals. No character sliding Screen mode = Latin No cursor closure Erased character = Empty Expand Tail Mixed Numerals Normal Cursor It should be pointed out that once the IBM AS/400 Arabic code page is selected all the other parameters would be automatically selected. The following AS/400 keyboard functions are also implemented:

AS/400 Function AMEER 420 Keystroke Code Generated Latin On

Compose

لغة

Shiftالتيني

0B Hex

Arabic ON Compose

لغة

عربي

07 Hex

Reverse Compose

لغة

F20أنهي

16 Hex

Close Ctrl

18 Hex

Screen Reverse Ctrl

Nيآ

0E Hex

Page 57: ameer

6-1

Chapter 6

Off-Line Utility In the bilingual mode, the language of each line on the screen can be deemed to be Arabic, Latin or Default. Every time carriage return and line feed is executed, the cursor automatically stands at the leftmost column or at the rightmost column of the next line according to the language of that line. Therefore, if the default language was Latin, the cursor will be positioned at the leftmost column of the screen, where as if the default language was Arabic, the cursor would be positioned at the rightmost column of the screen. The AMEER 420 allows the user to change the line language setting either Off-Line or by sending escape sequences from the host. The offline utility also has bilingual menu commands to control a slave printer connected to the printer port.

The off-line utility can be activated from the keyboard

Compose

لغة

F19عرف

. Once this keystroke is pressed, the terminal displays the main menu of the off-line utility in place of the status line.

Page 58: ameer

Chapter 6 Off-Line Utility

6-2

From the main menu, the following are the valid keystrokes:

F1

Enter Line Setting Utility

F2

Enter Printer Utility

ESC

Exit off-line utility

Line Setting Utility Once the line setting utility is invoked, a column appears in the middle of the screen indicating the type of each displayed line in the screen. The possible displayed line types are: Default line:

By default, the default line follows the screen mode language. However, if swap is enabled, then the default line follows the language of the last effective swap before this line. Latin Line:

The line's language is Latin. Arabic Line:

The line's language is Arabic.

Page 59: ameer

Chapter 6 Off-Line Utility

6-3

Latin + Toggle:

The line language is Latin initially, however, if the toggle command is sent

from the host or from the keyboard (

Compose

لغة

F18اقلب

), the line's language toggles to Arabic. Arabic + Toggle:

The line language is Arabic initially. However, if the toggle command is sent

from the host or from the keyboard (

Compose

لغة

F18اقلب

) The line's language toggles to Latin. Default lines can not be defined as toggling lines. Saving and Restoring line settings:

The AMEER 420, allows the user to save line settings for the complete screen. This is helpful when running several applications each requiring different screen settings. The terminal allows five different settings to be saved at any one time. In addition, anyone of the five saved settings could be restored.

Page 60: ameer

Chapter 6 Off-Line Utility

6-4

Valid Keystrokes:

The following are the valid keystrokes in the line setting utility:

Keystroke Description

Move line cursor up one line.

Move line cursor down one line.

Aشـ

Set line language to Arabic.

Lمـ

Set line language to Latin.

Tلال

Set line to toggling type.

Dيـ

Set line language to default.

Space

Set line language to default.

F1

Restore first line setting saved.

F2

Restore second line setting saved.

F3

Restore third line setting saved.

Continued on next page

Page 61: ameer

Chapter 6 Off-Line Utility

6-5

Keystroke Description

F4

Restore fourth line setting saved.

F5

Restore fifth line setting saved.

Compose

لغة

F1

Save current line setting in Area 1.

Compose

لغة

F2

Save current line setting in Area 2.

Compose

لغة

F3

Save current line setting in Area 3.

Compose

لغة

F4

Save current line setting in Area 4.

Compose

لغة

F5

Save current line setting in Area 5.

Move to next help line.

Move to previous help line.

ESC

Exit line utility and return to main menu.

Page 62: ameer

Chapter 6 Off-Line Utility

6-6

The line settings could also be controlled from the host computer by sending the required escape sequence (LINE:row number):

<ESC> [60;LINE;0~ Set the language of the line to Default. <ESC> [60;LINE;1~ Set the language of the line to Latin. <ESC> [60;LINE;2~ Set the language of the line to Arabic. <ESC> 4 Set screen to default lines and screen mode to Latin. <ESC> 5 Set screen to Latin lines and screen mode to Latin. <ESC> 60 <String> Set the desired language for the lines of the page

displayed. The string is a combination of the set of valid codes that can be N byte long at maximum, where N is the number of rows in the active page. Each code in the string defines the language for one line, starting from the uppermost line. The valid codes are: L: Define line as Latin I: Define line as toggle and Latin A: Demo line as Arabic a: Define line as toggle and Arabic D: Define line as default X: Mark end of sequence if less than number of rows in the page

The line settings for the screen could be saved or restored from the host computer by sending the following escape sequences:

<ESC> [61;0~ Restore line settings from Area 1 <ESC> [61;1~ Restore line settings from Area 2 <ESC> [61;2~ Restore line settings from Area 3 <ESC> [61;3~ Restore line settings from Area 4 <ESC> [61;4~ Restore line settings from Area 5

Page 63: ameer

Chapter 6 Off-Line Utility

6-7

Printer Utility Once the printer utility is invoked, the printer command menu appears in place of the main menu line. This utility allows the user to enable/disable Arabization of the connected printer and defines the direction of printing. The utility is effective when bilingual preparation = off, in the printer menu in setup mode. This means that the printer Arabization is performed externally by NADIM bilingual adapter or by Genicom Arabized printer. The function keys F1-F4 generate escape sequences depending on the type of Arabization connected to the printer port. The valid keystrokes in the printer utility are:

F1

Sends escape sequences to setup the external Arabization device in order to match the terminal settings and enable its Arabization features.

F2

Sends escape sequences to disable the external Arabization features.

F3

Sends escape sequences to set the printing direction from right to left.

F4

Sends escape sequences to set the printing direction from left to right.

ESC

Exit Printer Utility and return to main menu.

Page 64: ameer

Chapter 6 Off-Line Utility

6-8

Notes

Page 65: ameer

A-1

Appendix A

Code Pages

This appendix lists the code pages supported by AMEER 420. Each cell of code page contains a single character. The communication code of the character is obtained by adding the two coordinates (in hexadecimal or decimal) of its cell.

Default Switching Codes

Code Page Start Arabic

Start Latin End Arabic

End Latin

AMEER ، ~ | |

Data General } ~ ~ } Al-Arabi | ~ ~ | ASMO 449 } { { } Beehive } { { } Zentec | ~ ~ | ASMO 449/PLUS

} { { }

Codar-UFD } { { } ARCII \ ~ ~ \ Comterm 341 | ~ ~ | Comterm 541 | ~ ~ | NCR-96 } { { } HP Arabic-8 } { { }

Page 66: ameer

Appendix A Code Pages

A-2

ASCII

HEX 00 10 20 30 40 50 60 70 00 0 @ P ` p 0

01 ! 1 A Q a q 1

02 " 2 B R b r 2

03 # 3 C S c s 3

04 $ 4 D T d t 4

05 % 5 E U e u 5

06 & 6 F V f v 6

07 ' 7 G W g w 7

08 ( 8 H X h x 8

09 ) 9 I Y i y 9

0A * : J Z j z 10

0B + ; K [ k { 11

0C , < L \ l ¦ 12

0D - = M ] m } 13

0E . > N ^ n ~ 14

0F / ? O o DEL 15

0 16 32 48 64 80 96 112 DEC

Page 67: ameer

Appendix A Code Pages

A-3

AMEER

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ @ ذ ` ، 0

01 ! ١ ف ر ء 1

02 " ٢ آ ق ز 2

03 # ٣ أ ك س ــ 3

04 $ ٤ ؤ ال ش 4

05 % ٥ إ ل ص 5

06 & ٦ ءى م ض 6

07 ' ٧ ن ط ا × 7

08 ) ٨ ه ظ ب ÷ 8

09 ( ٩ 9 و ع ة

0A * : 10 ى غ ت

0B + ؛ 11 { ي [ ث

0C ، \ ج < ¦ 12

0D - = ] ح { 13

0E . < خ ^ ~ 14

0F / ؟ - د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 68: ameer

Appendix A Code Pages

A-4

Data General

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ - ذ @ 0

01 ! ١ 1 ف ر ء

02 " ٢ آ ق ز 2

03 # ٣ أ ك س 3

04 $ ٤ 4 ال ش ؤ

05 % ٥ 5 ل ص إ

06 & ٦ ءى 6 م ض

07 ' ٧ 7 ن ط ا

08 ) ٨ ه ظ ب 8

09 ( ٩ 9 و ع ة

0A * : 10 ى غ ت

0B + ؛ 11 { ي [ ث

0C . \ ج < ¦ 12

0D - = ] ح { 13

0E ، < 14 ~ ^ خ

0F / ؟ د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 69: ameer

Appendix A Code Pages

A-5

Al-Arabi

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ 0 ` ذ @

01 ! ١ ف ر ء 1

02 " ٢ ق ز آ 2

03 # ٣ 3 ك س أ

04 $ ٤ 4 ل ش ؤ

05 % ٥ NSP 5 م ص إ

06 & ٦ ئ - ن ض 6

07 ' ٧ 7 ÷ ه ط ا

08 ) ٨ 8 × و ظ ب

09 ( ٩ 9 » ى ع ة

0A * : 10 « ي غ ت

0B + ؛ [ ث } 11

0C ، \ ج < ¦ 12

0D - = 13 } ] ح

0E . < خ ^ ~ 14

0F / ؟ د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 70: ameer

Appendix A Code Pages

A-6

ASMO 449

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ @ ذ - 0

01 ! ١ ف ر ء 1

02 " ٢ آ ق ز 2

03 # ٣ أ ك س 3

04 $ ٤ ؤ ل ش 4

05 % ٥ إ م ص 5

06 & ٦ ءى ن ض 6

07 ' ٧ ه ط ا 7

08 ) ٨ 8 و ظ ب

09 ( ٩ 9 ى ع ة

0A * : 10 ي غ ت

0B + ؛ [ ث } 11

0C ، \ ج < ¦ 12

0D - = ] ح { 13

0E . < خ ^ ~ 14

0F / ؟ - د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 71: ameer

Appendix A Code Pages

A-7

Beehive

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ ا ط 0

ظ ب ١ ! 01 1

2 ع ة ٢ " 02

3 غ ت ٣ # 03

4 ف ث ٤ $ 04

05 % 5 ق ج ٥

ء 06 6 ك ح ٦

٧ ؤ 07 7 ل خ

8 ال د ٨ ( 08

9 م ذ ٩ ) 09

0A * : 10 ن ر

0B + ءى 11 { ه ز

0C ، 12 ¦ و س >

0D - = 13 } ى ش

0E . 14 ~ ي ص <

0F / ؟ DEL 15 ـ ض

0 16 32 48 64 80 96 112 DEC

Page 72: ameer

Appendix A Code Pages

A-8

Zentec

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ 0 ع ت

01 ! ١ 1 غ ة

02 " ٢ 2 ف ث

03 ” ٣ 3 ق ج

04 \ ٤ 4 ك ح

05 % ٥ 5 آل خ

06 ، ٦ 6 أل د

07 ' ٧ ذ 7 إل

08 ( ٨ – 8 ال ر

09 ) ٩ 9 ل ز آ

0A * : 10 م س أ

0B + ؛ 11 { ن ش إ

0C . ء 12 ¦ ه ص ؤ

0D - = ءى 13 } و ض

0E , × 14 ~ ى ط ا

0F / ؟ DEL ي ظ ب 15

0 16 32 48 64 80 96 112 DEC

Page 73: ameer

Appendix A Code Pages

A-9

ASMO 708

HEX 00 10 20 30 40 50 60 70 00 ASP ذ – 0

ف ر ء 01 1

آ 02 ق ز 2

أ 03 3 ك س

ؤ $ 04 4 ل ش

إ 05 5 م ص

ءى 06 6 ن ض

ا 07 ه ط 7

8 و ظ ب 08

9 ى ع ة 09

0A 10 ي غ ت

0B ؛ ث 11

0C ، ج 12

0D - 13 ح

0E خ 14

0F ؟ د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 74: ameer

Appendix A Code Pages

A-10

ASMO 449/Plus

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ - ذ @ 0

01 ! ١ ف ر ء 1

02 " ٢ آ ق ز 2

03 # ٣ 3 ك س أ

04 $ ٤ 4 ل ش ؤ

05 % ٥ NSP 5 م ص إ

06 & ٦ ءى 6 ن ض

07 ' ٧ ا ه ط آل 7

08 ) ٨ أل و ظ ب 8

09 ( ٩ إل ى ع ة 9

0A * : ال ي غ ت 10

0B + ؛ [ ث } 11

0C ، \ ج < ¦ 12

0D - = 13 } ] ح

0E . ^ خ > ~ 14

0F / ؟ - د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 75: ameer

Appendix A Code Pages

A-11

DEC/8/ASMO

HEX 00 10 20 30 40 50 60 70 00 ( ٦ 0 ش

01 ASP * ءى ٧ 1 ل ص

02 ! + ٨ 2 م ض ا

03 " ، ٩ 3 ن ط ب

ه ظ ة : 04 4

؛ - # 05 5 و ع ت

6 ى غ ث < . 06

07 $ / = ي [ ج 7

08 % NSP 8 \ ح >

09 & ٠ ؟ 9 ] خ

0A ' ١ د @ ^ } 10

0B ) ٢ ء ذ ¦ 11

0C ٣ آ - ر { 12

0D ٤ أ 13 ~ ف ز

0E 14 ق ؤ

0F ٥ DEL 15 ك س إ

0 16 32 48 64 80 96 112 DEC

Page 76: ameer

Appendix A Code Pages

A-12

Codar-UFD

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ @ 0 ' ذ

ف ر ء ١ ! 01 1

ق ز آ ٢ " 02 2

أ ٣ # 03 3 ك س

4 ل ش ؤ ٤ $ 04

05 % 5 م ص إ ٥

06 ، ءى ٦ 6 ن ض

ö 7 ه ط ا ٧ ' 07

08 ) 8 × و ظ ب ٨

09 ( 9 » ى ع ة ٩

0A * : 10 « ي غ ت

0B + ؛ [ ث } 11

0C ، \ ج < ¦ 12

0D - = } ] ح 13

0E . < خ ^ 14

0F / ؟ د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 77: ameer

Appendix A Code Pages

A-13

ARCII

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ ء ذ ل 0

01 ! ١ ا - ال ر 1

02 " ٢ ا صـال ز 2

03 × ٣ / أ

أل 3

04 $ ٤ إل س إ 4

05 % ٥ آ آل ش 5

06 . ٦ ب 6 م ص

07 ÷ ٧ 7 ن ض <

08 ( ٨ ه ط ة 8

09 ) ٩ ظ ت 9 و

0A * : 10 ؤ ع ث

0B + ؛ 11 ى غ ج

0C ، 12 ي ف { >

0D - = ءى ق ح 13

0E ، \ ك خ < 14

0F / ؟ د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 78: ameer

Appendix A Code Pages

A-14

Comterm 341

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ @ ى د 0

01 ! 1 غ ذ - ١

2 ف ر ٢ " 02

3 ق ز ٣ # 03

ء ٤ $ 04 4 ك س

ا ٥ % 05 5 ال ش

أ ٦ & 06 أل ص 6

إ ٧ ' 07 آل ض 7

08 ( آ ٨ 8 ل ط

09 ) 9 م ظ ب ٩

0A * : 10 ن ع ت

0B + ؛ ه ] ة 11

0C ، \ ث > 12 ؤ

0D - = 13 و [ ج

0E . > ءى ~ ح 14

0F / ؟ DEL ي خ 15

0 16 32 48 64 80 96 112 DEC

Page 79: ameer

Appendix A Code Pages

A-15

Comterm 541

HEX 00 10 20 30 40 50 60 70 00 ASP د @ ٠ ى 0

ذ - ١ ! 01 غ 1

02 " ٢ ف ر 2

03 # ٣ ق ز 3

04 $ ٤ ء ك س 4

05 % ٥ ا ال ش 5

06 & ٦ أ أل ص 6

07 ' ٧ إ آل ض 7

08 ( ٨ آ 8 ل ط

09 ) ٩ ب 9 م ظ

0A * : ت ع ن 10

0B + ؛ ة ه ] 11

0C ، ث > \ ؤ 12

0D - = ج و [ 13

0E . > ح ءى ∽ 14

0F / ؟ خ ي DEL 15

0 16 32 48 64 80 96 112 DEC

Page 80: ameer

Appendix A Code Pages

A-16

ASMO 708/Plus

HEX 00 10 20 30 40 50 60 70 00 NBS 0 ذ

ف ر ء 01 1

ق ز آ 02 2

3 ك س أ 03

ل ش ؤ $ 04 BDG 4

NSP 5 م ص إ 05

ءى 06 6 ن ض

ا 07 ه ط آل 7

أل و ظ ب 08 8

إل ى ع ة 09 9

0A 10 ال ي غ ت

0B ؛ ث LSP 11

0C ، ج SLB 12

0D SHY ح ASP 13

0E خ SAB 14

0F ؟ د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 81: ameer

Appendix A Code Pages

A-17

ADOS CP710 Right

HEX 00 10 20 30 40 50 60 70 00 ASP À ╨ 0 غ ت

01 ¤ Á ╤ 1 ف ث

02 £ Â ╥ 2 ق ج

03 µ ³ Ã ╙ 3 ك ح

04 ° ´ Ä ╘ 4 ل خ

ء 05 µ Å ╒ 5 م د

آ 06 ¶ Æ ╓ 6 ن ذ

أ 07 · Ç ╫ ه ر 7

8 و ز ╪ È ¸ ؤ 08

9 ى س ┘ É ¹ إ 09

0A ءى º Ê ┌ 10 ي ش

0B ا » Ë █ ص - 11

0C ب ¼ Ì ▄ ض ð 12

0D ة ½ = 13 . ط ▌

0E « ¾ Î ▐ ظ Ü 14

0F » ¿ Ï ▀ 15 ع

0 16 32 48 64 80 96 112 DEC

Page 82: ameer

Appendix A Code Pages

A-18

NCR-96

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ 0 ط ح ا

01 ١ 1 ظ خ ا

02 ٢ 2 ل ع خ ب

؟ 03 ٣ 3 ال ع د ب

04 ، ٤ 4 ل ع ذ <

05 % ٥ 5 م ع ر <

06 - ٦ 6 م غ ز ت

07 ' ٧ 7 ن غ / ة

08 ( ٨ 8 ن غ س ت

09 ) ٩ 9 ه غ س ث

0A * آ 10 ه ف ش ث

0B + آ 11 ه ف ش ج

0C ، 12 و ق ص ج ؤ

0D - ءى 13 ى ق ص {

0E . ءى 14 ي ك ض {

0F ء DEL ك ض ح 15

0 16 32 48 64 80 96 112 DEC

Page 83: ameer

Appendix A Code Pages

A-19

NCR ASMO-708

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ - ذ 0

01 ١ ف ر ء 1

02 ٢ ق ز آ 2

03 ٣ 3 ك س أ

04 ¤ ٤ 4 ل ش ؤ

05 ٥ 5 م ص إ

06 ٦ ءى 6 ن ض

07 ٧ 7 ه ط ا

08 ٨ 8 و ظ ب

09 ٩ 9 ى ع ة

0A 10 ي غ ت

0B ؛ ث 11 ال

0C ، ج 12 أل

0D SHY 13 آل ح

0E خ 14

0F ؟ د 15

0 16 32 48 64 80 96 112 DEC

Page 84: ameer

Appendix A Code Pages

A-20

HP Arabic-8

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ @ ذ - 0

01 ! ١ ف ر ء 1

02 " ٢ آ ق ز 2

03 # ٣ 3 ك س أ

04 $ ٤ 4 ل ش ؤ

05 % ٥ 5 م ص إ

06 & ٦ ءى ن ض 6

07 ' ٧ ا ط ه 7

08 ) ٨ و ظ ب 8

09 ( ٩ 9 ى ع ة

0A * : 10 ي غ ت

0B + ؛ [ ث } 11

0C ، \ ج < ¦ 12

0D - = 13 } ] ح

0E . < خ ^ ~ 14

0F / ؟ د 15

0 16 32 48 64 80 96 112 DEC

Page 85: ameer

Appendix A Code Pages

A-21

IBM NLS Right

HEX 00 10 20 30 40 50 60 70 ذ ¢ 00 - 0

ر ء - 01 ف 1

آ 02 ز ق 2

3 ك س أ £ 03

4 ل ش ؤ ¤ 04

ص 05 5 م

ءى 06 ض 6 ن

ا 07 ط ه 7

ب 08 ظ 8 و

9 ى ع ة 09

0A 10 ي غ ت

0B 11 | ث

0C ج ª 12

0D ح ö 13

0E 14 × خ

0F 15 د

0 16 32 48 64 80 96 112 DEC

Page 86: ameer

Appendix A Code Pages

A-22

Nafitha Right

HEX 00 10 20 30 40 50 60 70 00 NSP LSP ت ╨ └ ░ 0 غ

01 BDG ث ╤ ┴ ▒ - 1

02 ‚ ERA ج ╥ ┬ ▓ ف 2

03 ƒ “ ح ╙ ├ | ق 3

04 SAB ¤ خ ╘ ─ ┤ ك 4

05 … ء د ╒ ┼ ╡ ل 5

06 SLB – آ ذ ╓ ╞ ╢ م 6

أ — ‡ 07 ر ╫ ╟ ╖ ≈ 7

08 ˆ ؤ ز ╪ ╚ ¸ ن 8

09 ‰ إ س ┘ ╗ ╣ ه 9

0A Š ءى ش ┌ ╩ ║ 10

0B ‹ ا ص █ ╦ ╗ و 11

0C Œ ب ض ▄ ╠ ╝ ى 12

0D ة ط ▌ ═ ╜ ي 13

0E « ظ ▐ ╬ ╛ ■ 14

0F

ASP ع ▀ ╧ ┐ « 15

0 16 32 48 64 80 96 112 DEC

Page 87: ameer

Appendix A Code Pages

A-23

Sakhr Right

HEX 00 10 20 30 40 50 60 70 00 NSP LSP 0 غ ت ╨ └ ░

01 BDG 1 ف ث ╤ ┴ ▒

02 ‚ ERA 2 ق ج ╥ ┬ ▓

03 ƒ “ 3 ك ح ╙ ├ |

04 SAB ¤ 4 ل خ ╘ ─ ┤

05 … ء 5 م د ╒ ┼ ╡

06 SLB – آ 6 ن ذ ╓ ╞ ╢

أ — ‡ 07 ر ╫ ╟ ╖ ه 7

08 ˆ ؤ 8 § ز ╪ ╚ ¸

09 ‰ إ 9 و س ┘ ╗ ╣

0A Š ءى 10 ى ش ┌ ╩ ║

0B ‹ ا 11 ي ص █ ╦ ╗

0C Œ ب 12 - ض ▄ ╠ ╝

0D ة BDG 13 ط ▌ ═ ╜

0E LSP ╛ ╬ ▐ ظ ERA 14

0F

ASP ASP ┐ ╧ ▀ 15 ع

0 16 32 48 64 80 96 112 DEC

Page 88: ameer

Appendix A Code Pages

A-24

IBM/AS 400 Arabic

HEX 00 10 20 30 40 50 60 70 00 ASP ٠ - ذ @ 0

01 ! ١ ف ر ء 1

02 " ٢ آ ق ز 2

03 # ٣ 3 ك س أ

04 $ ٤ 4 ل ش ؤ

05 % ٥ NSP 5 م ص إ

06 & ٦ ءى 6 ن ض

07 ' ٧ ا ه ط آل 7

08 ) ٨ أل و ظ ب 8

09 ( ٩ إل ى ع ة 9

0A * : ال ي غ ت 10

0B + ؛ [ ث } 11

0C ، \ ج < ¦ 12

0D - = 13 } ] ح

0E . ^ خ > ~ 14

0F / ؟ - د DEL 15

0 16 32 48 64 80 96 112 DEC

Page 89: ameer

B-1

Appendix B

Bilingual Keyboard Layout

Page 90: ameer

Appendix B Bilingual Keyboard Layout

B-2

Page 91: ameer

C-1

Appendix C

Bilingual Escape Sequence Summary

This appendix lists the escape sequences that control AMEER 420 functions. In some cases, there is more than one ESC sequence that performs the exact function. This implementation of ESC sequences is necessary for compatibility with existing systems.

Description ESC Sequence Presentation Direction Set Latin presentation direction <ESC> [1;0~ Set Latin presentation direction <ESC> 2 Set Arabic presentation direction <ESC> [1;1~ Set Arabic presentation direction <ESC>1 Keyboard Mode Set keyboard mode to Arabic <ESC>[2;1~ Set keyboard mode to Latin <ESC>[2;0~ Coding Environment Set 7-bit coding environment <ESC> 5;0~ Set 8-bit coding environment <ESC> 5;1~ Arabic Operating Mode

7-bit with Switching Code Set 7-bit coding environment <ESC> [5;0~ Set 7-bit with switching code mode <ESC> [12;1~ 7-bit with Escape Sequence Set 7-bit coding environment <ESC> [5;0~ Set 7-bit with escape sequence mode <ESC> [12;0~ 8-bit without Neutrals Set 8-bit coding environment <ESC> [5;1~ Set 8-bit with neutrals mode <ESC> [16;0~

Continued on next page

Page 92: ameer

Appendix C Bilingual Escape Sequence Summary

C-2

Description ESC Sequence 8-bit with Neutrals Set 8-bit coding environment <ESC> [5;1~ Set 8-bit without neutrals mode <ESC> [16;1~ 8-bit with Neutrals and Language Space Set 8-bit coding environment <ESC> [5;1~ Set 8-bit with neutrals and language space <ESC> [16;2~ 7-Bit Escape Sequence Mode Commands Set Arabic basic mode <ESC> [90~ Set Latin basic mode <ESC> [91~ Start Arabic Insertion <ESC> [92~ Start Latin Insertion <ESC> [93~ End Insertion <ESC> [94~ 7-Bit Switching Code Insertion Modes Select Normal Insertion fields <ESC> [28;0~ Select Balanced Insertion field <ESC> [28;1~ Swap Line Setting Swap Local after Column 16 <ESC> 691 Swap not Local after Column 16 <ESC> 692 Sliding Settings Disable Insertion Sliding <ESC> [7;0~ Enable Insertion Sliding <ESC> [7;1~ Disable Numeric Sliding <ESC> [6;0~ Enable Numeric Sliding <ESC> [6;1~ Defining SWCs Define start Arabic insertion code <ESC> 61 <SWC> Define end Arabic insertion code <ESC> 62 <SWC> Define start Latin insertion code <ESC> 63 <SWC> Define end Latin insertion code <ESC> 64 <SWC> Defining Numeric Space Define Numeric Space code n <ESC> 65n

Continued on next page

Page 93: ameer

Appendix C Bilingual Escape Sequence Summary

C-3

Description ESC Sequence Numeric Field Justification Set Single Numeric Space Mode <ESC> [8;0~ Set Balanced Numeric Space Mode <ESC> [8;1~ Set Balanced Numeric Space Mode <ESC> 682 Set SEDCO Single Numeric Space Mode <ESC> [8;2~ Set SEDCO Single Numeric Space Mode <ESC> 681 Numeric Shape Mixed Numerals <ESC> [21;1~ Mixed Numerals <ESC> 661 Latin Only Numerals <ESC> [21;0~ Latin Only Numerals <ESC> 662 Arabic Only Numerals <ESC> [21;3~ Arabic Only Numerals <ESC> 663 Reversed Numerals <ESC> [21;2~ Arithmetic Operators Set + - */ as Alphabets <ESC> [9;0~ Set + - */ as Numbers <ESC> [9;1~ Wide Characters Display Select compressed tail style <ESC> [14;0~ Select expanded tail style <ESC> [14;1~ Hindu Two Shape Select Naskh Style <ESC> [22;0~ Select Reqaa Style <ESC> [22;1~ Font 1 Style Hadith <ESC> [30;0~ Naskh <ESC> [30;1~ Kofi <ESC> [30;2~ Asri <ESC> [30;3~

Continued on next page

Page 94: ameer

Appendix C Bilingual Escape Sequence Summary

C-4

Description ESC Sequence Font 2 Style Hadith <ESC> [31;0~ Naskh <ESC> [31;1~ Kofi <ESC> [31;2~ Asri <ESC> [31;3~ Erase Character Handling Erase character = BLANK <ESC> [18;0~ Erase character = EMPTY <ESC> [18;1~ Column Heading Mode Disable Column Heading Mode <ESC> [29;0~ Enable Column Heading Mode <ESC> [29;1~ Cursor Closure Disable Cursor Closure <ESC> [19;0~ Enable Cursor Closure <ESC> [l9;1~ Arabization Enable/Disable Enable Arabization <ESC> [0;0~ Disable Arabization <ESC> [0;1~ Disable Arabization <ESC> 671

Page 95: ameer

Appendix C Bilingual Escape Sequence Summary

C-5

Code Page Selection

<ESC> [25;code~ Select active code page. Where code is:

Code Name Code Name 0 Latin Only 64 Al-Arabi 1 AMEER 78 ASMO-708 2 Beehive 80 ADOS CP710 3 Zentec 81 IBM NLS 50 ARCII 82 Nafitha 51 ASMO 449 83 Sakhr 52 Codar-UFD 84 IBM/AS400 Arabic 54 Comterm 341 87 ASMO 708/Plus 55 Comterm 541 91 NCR -96 59 Data General 93 NCR ASMO-708 62 ASMO 449/PLUS 94 HP Arabic-8 63 DEC/8/ASMO 99 User Defined

<ESC> 67 n Select Code page

Where n is:

Code n Name 1 Latin Only 2 AMEER 3 Al-Arabi 4 ASMO 449 5 ASMO 708 6 Data General

Page 96: ameer

Appendix C Bilingual Escape Sequence Summary

C-6

Description ESC Sequence User Defined Code Reset user code page to the hypothetical code page

<ESC> [96~

Define user code where: <start character>: character location in user code page from which the changes in the table starts. <string>: ASCII characters representing the hypothetical code value. <BEL>: String terminator (07 Hex)

<ESC> [95~ <start character> <string> <BEL>

built-in Demo Run the built-in demo program <ESC> [97~ Language Definition Set Line to Default <ESC> [60;Line;0~ Set Line to Latin <ESC> [60;Line;1~ Set Line to Arabic <ESC> [60;Line;2~ Set screen to Default lines and screen mode to Latin.

<ESC> 4

Set screen to Latin lines and screen mode to Latin.

<ESC> 5

Continued on next page

Page 97: ameer

Appendix C Bilingual Escape Sequence Summary

C-7

Description ESC Sequence Set the line language, starting from the uppermost line, where string could be any one of the following codes:

<ESC> 60 <String>

L: Define line as Latin I: Define line as toggle and Latin A: Define line as Arabic a: Define line as toggle and Arabic D: Define line as default X: Mark end of sequence if less than number of rows in the page

Save Line Settings Save line settings in Area 1 <ESC>[62;0 Save line settings in Area 2 <ESC>[62;1 Save line settings in Area 3 <ESC>[62;2 Save line settings in Area 4 <ESC>[62;3 Save line settings in Area 5 <ESC>[62;4 Restore Line Settings Restore line settings from Area 1 <ESC>[61;0 Restore line settings from Area 2 <ESC>[61;1 Restore line settings from Area 3 <ESC>[61;2 Restore line settings from Area 4 <ESC>[61;3 Restore line settings from Area 5 <ESC>[61;4

Page 98: ameer

Addendum The Nafitha Right and Sakhr Right Code Pages on the English version of Ameer 420 have been replaced with the French-1/ASMO-708 and ASMO-708/French-1 Code Pages on this French version of Ameer 420. Figures 1 and 2 show all the characters in these two code pages.

Figure 1: French-1/ASMO-708

HEX 00 10 20 30 40 50 60 70 00 NBS º ǽ à 0

01 ¡ ± ǒ ǿ ȯ 1

02 ¢ ² Ǔ ȁ â 2

أ ³ £ 03 ȃ ȳ 3

ؤ ´ ¤ 04 ȇ ȷ ô 4

05 ¥ µ Ǚ ȋ Ȼ 5

06 ¦ ¶ Ɂǒ ȏ ȿ 6

07 § · ǟ × ç ÷ 7

08 ¨ • ǡ ȓ è 8

09 © ¹ ǥ ȗ é ù 9

0A ª º ǧ ț ê 10

0B « » ǫ ȟ ë û 11

0C ¬ ¼ ǯ - Ɂ ü 12

0D SHY ½ dz ȣ Ƀ BDG 13

0E ® ¾ Ƿ ȧ î NSP 14

0F - ¿ ǻ ȫ ï SAB 15

0 16 32 48 64 80 96 112 DEC

Page 99: ameer

Figure 2: ASMO-708/French-1

HEX 00 10 20 30 40 50 60 70 00 NBS à ǽ - 0

01 ¡ ǒ ǿ ȣ 1

02 ¢ Ǔ ȁ ȧ 2

أ £ 03 ȃ ȫ ë 3

ؤ $ 04 ȇ ȯ BDG 4

05 ¥ Ǚ ȋ ȳ NSP 5

06 ¶ Ɂǒ ȏ ȷ î 6

ǟ آل § 07 ȓ Ȼ ï 7

ǡ أل 08 ȗ ȿ ô 8

ǥ إل © 09 ț Ɂ ù 9

0A « ال ǧ ȟ Ƀ û 10

0B » ؛ ǫ â LSP 11

0C ، ¼ ǯ ç SLB 12

0D - ½ dz è ü 13

0E ® ¾ Ƿ é SAB 14

0F ؟ ǻ ê ÿ 15

0 16 32 48 64 80 96 112 DEC

In order for the Ameer 420 terminal to function properly, the terminal has to be configured as follows: Under GENERAL Menu: - item 1: VT 400 Mode - item 3: Multinational Mode - item 9: UPSS ISO Latin-1 Under KEYBOARD Menu: - item 1: Typewriter Keys - item 7: Character Mode - item 9: Local Compose - item 10: ANSI Keyboard Layout - item 13: French/Belgian Keyboard

Page 100: ameer

Under LANGUAGE Menu: - item 6 (under Fonts submenu): Latin only Numerals - item 2: French-1/ASMO-708 or ASMO-708/French-1 - item 3: 8-bit with Neutrals You can enter compose sequences to display characters that are contained in the code pages but not represented as standard keys on your keyboard. The Table displayed below lists all the compose sequences you need.

Table: Compose Character Sequence

Composed Character

Description

3-Key Sequence ¹

2-Key Sequence ²

¡ Inverted ! ! ! ¢ Cent ³ C / £ Pound ³ L - ¥ Yen ³ Y = § Section ³ S O ¤ Currency ³ X O © Copyright ³ C O ª Feminine ordinal³ A _ « Left angle brackets < < º Degree 0 ^ ± Plus or minus + - ² Superscript 2 2 ^ ³ Superscript 3 3 ^ µ Micro² ³ / U ¶ Paragraph ³ P ! · Middle dot ^ . ¹ Superscript 1 1 ^ º Masculine ordinal ³ O _ » Right angle brackets > > ¼ One-fourth ² 1 4 ½ One-half ² 1 2 ¿ Inverted ? ? ? à a-grave a ` ` a â a-circumflex a ^

ç c-cedilla c , è e-grave e ` ` e é e-acute e e ê e-circumflex e ^ ë e-umlaut e “ ¨ e

Continued…

Page 101: ameer

Composed Character

Description

3-Key Sequence ¹

2-Key Sequence ²

î i-circumflex i ^ ï i-umlaut i “ ¨ i ô o-circumflex o ^ ù u-grave u ` ` u û u-circumflex u ^ ü u-umlaut u “ ¨ u ÿ y-umlaut y “ ¨ y ¦ Pipe ! ^ ¬ Logical not ² - , ® Registered trademark R O ¾ Three-fourths ² 3 4 ÷ Division sign - : × Multiplication sign x x ´ Accent acute ´ ´ Cedilla , , " Diaeresis (umlaut) " " ¨ SP

To compose a character with a three-key sequence: 1. find the character you want to compose. 2. Press and release Compose Character. 3. Enter the two characters listed in the column headed “3-Key Sequence.” The two characters can be entered in either order. For example, to compose the copyright symbol (©), press and release Compose Character, then press c and o .

To compose a character with a two-key sequence: 1. Find the character you want to compose. 2. If a sequence is listed in the “2-Key Sequence” column, enter the characters in the order

shown. For example, to compose the i-circumflex ( ï ), press ¨ first, and then i . 1

1 First press Compose Character . The other two keys can be pressed in any order.

² Press keys in the order shown.

³ Alphabetic characters can be entered in upper case or lower case.