1、BRITISH STANDARD BS ISO/IEC 6429:1992 Implementation of ISO/IEC 6429:1992 Information technology Controlfunctions for coded character sets UDC 681.3.04:003.347.1BSISO/IEC6429:1992 This British Standard, having been prepared under the directionof the Information Systems Technology Standards Policy Co
2、mmittee, was publishedunder the authority ofthe Standards Board and comesinto effect on 15 April 1993 BSI 09-1999 The following BSI references relate to the work on this standard: Committee reference IST/2 Draft for comment 91/68021 DC ISBN 0 580 22091 5 Committees responsible for this British Stand
3、ard The preparation of this British Standard was entrusted by the Information Systems Technology Standards Policy Committee (IST/-) to Technical Committee IST/2, upon which the following bodies were represented: British Computer Society British Federation of Printing Machinery and Supplies Ltd. Brit
4、ish Telecommunications plc Digital Equipment Co. Ltd. IBM United Kingdom Ltd. Information Systems Committee of the Universities Funding Council Institution of Electrical Engineers International Computers Limited Philips Research Laboratories Amendments issued since publication Amd. No. Date Comments
5、BSISO/IEC6429:1992 BSI 09-1999 i Contents Page Committees responsible Inside front cover National foreword ii Foreword viii Text of ISO/IEC 6429 1BSISO/IEC6429:1992 ii BSI 09-1999 National foreword This British Standard reproduces verbatim ISO/IEC 6429:1992 and implements it as the UK national stand
6、ard. This British Standard is published under the direction of the Information Systems Technology Standards Policy Committee whose Technical Committee IST/2 has the responsibility to: aid enquirers to understand the text; present to the responsible international committee any enquiries on interpreta
7、tion, or proposals for change, and keep UK interests informed; monitor related international and European developments and promulgate them in the UK. NOTEInternational and European Standards, as well as overseas standards, are available from BSI Sales Department, BSI, Linford Wood, Milton Keynes, MK
8、14 6LE. A British Standard does not purport to include all the necessary provisions of a contract. Users of British Standards are responsible for their correct application. Compliance with a British Standard does not of itself confer immunity from legal obligations. Summary of pages This document co
9、mprises a front cover, an inside front cover, pages i and ii, theISO title page, pages ii to viii, pages 1 to 83 and a back cover. This standard has been updated (see copyright date) and may have had amendments incorporated. This will be indicated in the amendment table on the inside front cover.ISO
10、/IEC6429:1992(E) ii BSI 09-1999 Contents Page Foreword viii Introduction 1 1 Scope 1 2 Conformance 1 2.1 Types of conformance 1 2.2 Conformance of information interchange 2 2.3 Conformance of devices 2 2.3.1 Device description 2 2.3.2 Originating devices 2 2.3.3 Receiving devices 2 3 Normative refer
11、ences 3 4 Notation and definitions 3 4.1 Notation 3 4.2 Definitions 3 5 Coded representation 9 5.1 General 9 5.2 Elements of the C0 set 9 5.3 Elements of the C1 set 10 5.4 Control sequences 11 5.4.1 Parameter representation 13 5.4.2 Parameter string format 13 5.4.3 Types of parameters 13 5.5 Indepen
12、dent control functions 13 5.6 Control strings 14 6 Device concepts 14 6.1 Components 15 6.1.1 Presentation component 15 6.1.2 The active presentation position 16 6.1.3 Data component 16 6.1.4 The active data position 16 6.1.5 Relationship between active data position and active presentation position
13、 16 6.1.6 Implicit movement 17 6.1.7 Explicit movement 17 6.1.8 Indirect movement 18 6.2 The data stream 18 6.2.1 Data organization 18 6.3 The graphic image output 18 6.4 Formator functions and editor functions 18 6.4.1 Formator functions 19 6.4.2 Composite graphic characters 19 6.4.3 Editor functio
14、ns 19 6.5 Selected and qualified areas 19 6.5.1 Selected areas 19 6.5.2 Qualified areas 19 6.6 Auxiliary input/output devices 20 6.7 Tabulation and fields 20 7 Modes 21 7.1 The concept of modes 21 7.2 Definition of modes 21 7.2.1 BDSM BI-DIRECTIONAL SUPPORT MODE 21ISO/IEC6429:1992(E) BSI 09-1999 iii
15、 Page 7.2.2 CRM CONTROL REPRESENTATION MODE 21 7.2.3 DCSM DEVICE COMPONENT SELECT MODE 21 7.2.4 ERM ERASURE MODE 23 7.2.5 FEAM FORMAT EFFECTOR ACTION MODE 23 7.2.6 FETM FORMAT EFFECTOR TRANSFER MODE 23 7.2.7 GATM GUARDED AREA TRANSFER MODE 23 7.2.8 GRCM GRAPHIC RENDITION COMBINATION MODE 23 7.2.9 HE
16、M CHARACTER EDITING MODE 23 7.2.10 IRM INSERTION REPLACEMENT MODE 24 7.2.11 KAM KEYBOARD ACTION MODE 24 7.2.12 MATM MULTIPLE AREA TRANSFER MODE 24 7.2.13 PUM POSITIONING UNIT MODE 24 7.2.14 SATM SELECTED AREA TRANSFER MODE 24 7.2.15 SRM SEND/RECEIVE MODE 25 7.2.16 SRTM STATUS REPORT TRANSFER MODE 25
17、 7.2.17 TSM TABULATION STOP MODE 25 7.2.18 TTM TRANSFER TERMINATION MODE 25 7.2.19 VEM LINE EDITING MODE 25 7.2.20 ZDM ZERO DEFAULT MODE 26 7.3 Interaction between modes 26 7.3.1 GUARDED AREA TRANSFER MODE (GATM), MULTIPLE AREA TRANSFER MODE (MATM), SELECTED AREA TRANSFER MODE (SATM), and TRANSFER T
18、ERMINATION MODE (TTM) 26 7.3.2 CONTROL REPRESENTATION MODE (CRM) and FORMAT EFFECTOR ACTION MOD(FEAM) 26 7.3.3 CHARACTER EDITING MODE (HEM) and INSERTION REPLACEMENT MODE (IRM) 27 7.3.4 BI-DIRECTIONAL SUPPORT MODE (BDSM) and DEVICE COMPONENT SELECT MODE (DCSM) 27 7.4 Private modes 27 8 Control funct
19、ions 27 8.1 Types of control functions 27 8.2 Categories of control functions 28 8.2.1 Delimiters 28 8.2.2 Introducers 28 8.2.3 Shift functions 28 8.2.4 Format effectors 28 8.2.5 Presentation control functions 29 8.2.6 Editor functions 30 8.2.7 Cursor control functions 31 8.2.8 Display control funct
20、ions 31 8.2.9 Device control functions 31 8.2.10 Information separators 31 8.2.11 Area definition 32 8.2.12 Mode setting 32 8.2.13 Transmission control functions 32 8.2.14 Miscellaneous control functions 32 8.3 Definition of control functions 33ISO/IEC6429:1992(E) iv BSI 09-1999 Page 8.3.1 ACK ACKNO
21、WLEDGE 33 8.3.2 APC APPLICATION PROGRAM COMMAND 33 8.3.3 BEL BELL 33 8.3.4 BPH BREAK PERMITTED HERE 33 8.3.5 BS BACKSPACE 34 8.3.6 CAN CANCEL 34 8.3.7 CBT CURSOR BACKWARD TABULATION 34 8.3.8 CCH CANCEL CHARACTER 34 8.3.9 CHA CURSOR CHARACTER ABSOLUTE 34 8.3.10 CHT CURSOR FORWARD TABULATION 34 8.3.11
22、 CMD CODING METHOD DELIMITER 34 8.3.12 CNL CURSOR NEXT LINE 35 8.3.13 CPL CURSOR PRECEDING LINE 35 8.3.14 CPR ACTIVE POSITION REPORT 35 8.3.15 CR CARRIAGE RETURN 35 8.3.16 CSI CONTROL SEQUENCE INTRODUCER 35 8.3.17 CTC CURSOR TABULATION CONTROL 36 8.3.18 CUB CURSOR LEFT 36 8.3.19 CUD CURSOR DOWN 36 8
23、.3.20 CUF CURSOR RIGHT 36 8.3.21 CUP CURSOR POSITION 36 8.3.22 CUU CURSOR UP 37 8.3.23 CVT CURSOR LINE TABULATION 37 8.3.24 DA DEVICE ATTRIBUTES 37 8.3.25 DAQ DEFINE AREA QUALIFICATION 37 8.3.26 DCH DELETE CHARACTER 38 8.3.27 DCS DEVICE CONTROL STRING 38 8.3.28 DC1 DEVICE CONTROL ONE 38 8.3.29 DC2 D
24、EVICE CONTROL TWO 38 8.3.30 DC3 DEVICE CONTROL THREE 39 8.3.31 DC4 DEVICE CONTROL FOUR 39 8.3.32 DEL DELETE 39 8.3.33 DL DELETE LINE 39 8.3.34 DLE DATA LINK ESCAPE 39 8.3.35 DMI DISABLE MANUAL INPUT 39 8.3.36 DSR DEVICE STATUS REPORT 40 8.3.37 DTA DIMENSION TEXT AREA 40 8.3.38 EA ERASE IN AREA 40 8.
25、3.39 ECH ERASE CHARACTER 41 8.3.40 ED ERASE IN PAGE 41 8.3.41 EF ERASE IN FIELD 42 8.3.42 EL ERASE IN LINE 42 8.3.43 EM END OF MEDIUM 43 8.3.44 EMI ENABLE MANUAL INPUT 43 8.3.45 ENQ ENQUIRY 43 8.3.46 EOT END OF TRANSMISSION 43 8.3.47 EPA END OF GUARDED AREA 43 8.3.48 ESA END OF SELECTED AREA 43 8.3.
26、49 ESC ESCAPE 43ISO/IEC6429:1992(E) BSI 09-1999 v Page 8.3.50 ETB END OF TRANSMISSION BLOCK 44 8.3.51 ETX END OF TEXT 44 8.3.52 FF FORM FEED 44 8.3.53 FNK FUNCTION KEY 44 8.3.54 FNT FONT SELECTION 44 8.3.55 GCC GRAPHIC CHARACTER COMBINATION 45 8.3.56 GSM GRAPHIC SIZE MODIFICATION 45 8.3.57 GSS GRAPH
27、IC SIZE SELECTION 45 8.3.58 HPA CHARACTER POSITION ABSOLUTE 45 8.3.59 HPB CHARACTER POSITION BACKWARD 45 8.3.60 HPR CHARACTER POSITION FORWARD 46 8.3.61 HT CHARACTER TABULATION 46 8.3.62 HTJ CHARACTER TABULATION WITH JUSTIFICATION 46 8.3.63 HTS CHARACTER TABULATION SET 46 8.3.64 HVP CHARACTER AND LI
28、NE POSITION 46 8.3.65 ICH INSERT CHARACTER 46 8.3.66 IDCS IDENTIFY DEVICE CONTROL STRING 47 8.3.67 IGS IDENTIFY GRAPHIC SUBREPERTOIRE 47 8.3.68 IL INSERT LINE 47 8.3.69 INT INTERRUPT 48 8.3.70 IS1 INFORMATION SEPARATOR ONE (US UNIT SEPARATOR) 48 8.3.71 IS2 INFORMATION SEPARATOR TWO (RS RECORD SEPARA
29、TOR) 48 8.3.72 IS3 INFORMATION SEPARATOR THREE (GS GROUP SEPARATOR) 48 8.3.73 IS4 INFORMATION SEPARATOR FOUR (FS FILE SEPARATOR) 48 8.3.74 JFY JUSTIFY 48 8.3.75 LF LINE FEED 49 8.3.76 LS0 LOCKING-SHIFT ZERO 49 8.3.77 LS1 LOCKING-SHIFT ONE 49 8.3.78 LS1R LOCKING-SHIFT ONE RIGHT 49 8.3.79 LS2 LOCKING-
30、SHIFT TWO 49 8.3.80 LS2R LOCKING-SHIFT TWO RIGHT 49 8.3.81 LS3 LOCKING-SHIFT THREE 50 8.3.82 LS3R LOCKING-SHIFT THREE RIGHT 50 8.3.83 MC MEDIA COPY 50 8.3.84 MW MESSAGE WAITING 50 8.3.85 NAK NEGATIVE ACKNOWLEDGE 50 8.3.86 NBH NO BREAK HERE 50 8.3.87 NEL NEXT LINE 51 8.3.88 NP NEXT PAGE 51 8.3.89 NUL
31、 NULL 51 8.3.90 OSC OPERATING SYSTEM COMMAND 51 8.3.91 PEC PRESENTATION EXPAND OR CONTRACT 51 8.3.92 PFS PAGE FORMAT SELECTION 52 8.3.93 PLD PARTIAL LINE FORWARD 52ISO/IEC6429:1992(E) vi BSI 09-1999 Page 8.3.94 PLU PARTIAL LINE BACKWARD 53 8.3.95 PM PRIVACY MESSAGE 53 8.3.96 PP PRECEDING PAGE 53 8.3
32、.97 PPA PAGE POSITION ABSOLUTE 53 8.3.98 PPB PAGE POSITION BACKWARD 53 8.3.99 PPR PAGE POSITION FORWARD 53 8.3.100 PTX PARALLEL TEXTS 54 8.3.101 PU1 PRIVATE USE ONE 54 8.3.102 PU2 PRIVATE USE TWO 54 8.3.103 QUAD QUAD 54 8.3.104 REP REPEAT 55 8.3.105 RI REVERSE LINE FEED 55 8.3.106 RIS RESET TO INITI
33、AL STATE 55 8.3.107 RM RESET MODE 56 8.3.108 SACS SET ADDITIONAL CHARACTER SEPARATION 56 8.3.109 SAPV SELECT ALTERNATIVE PRESENTATION VARIANTS 57 8.3.110 SCI SINGLE CHARACTER INTRODUCER 58 8.3.111 SCO SELECT CHARACTER ORIENTATION 58 8.3.112 SCP SELECT CHARACTER PATH 58 8.3.113 SCS SET CHARACTER SPAC
34、ING 59 8.3.114 SD SCROLL DOWN 59 8.3.115 SDS START DIRECTED STRING 59 8.3.116 SEE SELECT EDITING EXTENT 60 8.3.117 SEF SHEET EJECT AND FEED 60 8.3.118 SGR SELECT GRAPHIC RENDITION 61 8.3.119 SHS SELECT CHARACTER SPACING 63 8.3.120 SI SHIFT-IN 63 8.3.121 SIMD SELECT IMPLICIT MOVEMENT DIRECTION 63 8.3
35、.122 SL SCROLL LEFT 63 8.3.123 SLH SET LINE HOME 63 8.3.124 SLL SET LINE LIMIT 64 8.3.125 SLS SET LINE SPACING 64 8.3.126 SM SET MODE 64 8.3.127 SO SHIFT-OUT 65 8.3.128 SOH START OF HEADING 65 8.3.129 SOS START OF STRING 65 8.3.130 SPA START OF GUARDED AREA 66 8.3.131 SPD SELECT PRESENTATION DIRECTI
36、ONS 66 8.3.132 SPH SET PAGE HOME 67 8.3.133 SPI SPACING INCREMENT 67 8.3.134 SPL SET PAGE LIMIT 67 8.3.135 SPQR SELECT PRINT QUALITY AND RAPIDITY 68 8.3.136 SR SCROLL RIGHT 68 8.3.137 SRCS SET REDUCED CHARACTER SEPARATION 68 8.3.138 SRS START REVERSED STRING 68 8.3.139 SSA START OF SELECTED AREA 69
37、8.3.140 SSU SELECT SIZE UNIT 69 8.3.141 SSW SET SPACE WIDTH 70ISO/IEC6429:1992(E) BSI 09-1999 vii Page 8.3.142 SS2 SINGLE-SHIFT TWO 70 8.3.143 SS3 SINGLE-SHIFT THREE 70 8.3.144 ST STRING TERMINATOR 70 8.3.145 STAB SELECTIVE TABULATION 70 8.3.146 STS SET TRANSMIT STATE 70 8.3.147 STX START OF TEXT 71
38、 8.3.148 SU SCROLL UP 71 8.3.149 SUB SUBSTITUTE 71 8.3.150 SVS SELECT LINE SPACING 71 8.3.151 SYN SYNCHRONOUS IDLE 71 8.3.152 TAC TABULATION ALIGNED CENTRED 72 8.3.153 TALE TABULATION ALIGNED LEADING EDGE 72 8.3.154 TATE TABULATION ALIGNED TRAILING EDGE 72 8.3.155 TBC TABULATION CLEAR 72 8.3.156 TCC
39、 TABULATION CENTRED ON CHARACTER 73 8.3.157 TSR TABULATION STOP REMOVE 73 8.3.158 TSS THIN SPACE SPECIFICATION 73 8.3.159 VPA LINE POSITION ABSOLUTE 73 8.3.160 VPB LINE POSITION BACKWARD 73 8.3.161 VPR LINE POSITION FORWARD 74 8.3.162 VT LINE TABULATION 74 8.3.163 VTS LINE TABULATION SET 74 Annex A
40、(informative) Formator functions and editor functions 75 Annex B (informative) Coding examples 76 Annex C (informative) Text composition considerations 77 Annex D (informative) Implementation-dependent features 78 Annex E (informative) Text area formats 79 Annex F (informative) Differences between t
41、he third and the second edition of ISO/IEC 6429 80 Annex G (informative) Bibliography 83 Table 1 Bit combinations representing the control functions of the C0 set 9 Table 2a Bit combinations representing the Final Byte Fe for the control functions of the C1 set in the 7-bit code 10 Table 2b Bit comb
42、inations representing the control functions of the C1 set in the 8-bit code 11 Table 3 Bit combinations representing the Final Byte of control sequences without Intermediate Bytes 12 Table 4 Bit combinations representing the Final Byte of control sequences with a single Intermediate Byte 02/00 12 Ta
43、ble 5 Independent control functions 14 Table 6 Mode summary 22 Table E.1 Dimensions of the text area 80 Descriptors: Data processing, information interchange, data transmission, character sets, coded character sets, control functions.ISO/IEC6429:1992(E) viii BSI 09-1999 Foreword ISO (the Internation
44、al Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by
45、 the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fieldsof mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of
46、information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC1. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75% of the natio
47、nal bodies casting a vote. International Standard ISO/IEC6429 was prepared by the European Computer Manufacturers Association (as Standard ECMA-48) and was adopted, under a special “fast-track procedure”, by Joint Technical Committee ISO/IEC JTC1, Information technology, in parallel with its approva
48、l by national bodies of ISO and IEC. This third edition cancels and replaces the second edition (ISO6429:1988), which has been technically revised. Annex A, Annex B, Annex C, Annex D, Annex E, Annex F and Annex G of this International Standard are for information only.ISO/IEC6429:1992(E) BSI 09-1999 1 Introduction This International Standard constitutes a repertoire of a large number of control functions the definitions and coded representations of which are thus standardized.