Network Working Group R.T. Braden
Request for Comments: 338 UCLA/CCN
NIC: 9931 17 May 1972
EBCDIC/ASCII MAPPING FOR NETWORK RJE
A. INTRODUCTION
Under NETRJS [1], CCN's Network rje protocol [2], a virtual remote batch terminal may be either EBCDIC or ASCII. CCN operates an IBM 360/91 which performs all of its normal processing in EBCDIC. When a virtual ASCII terminal signs onto NETRJS, CCN translates the "card reader" stream to EBCDIC and translates the "printer" stream back to ASCII [3].
Braden [Page 1]
RFC 338 EBCDIC/ASCII MAPPING FOR NETWORK RJE May 1972 C. CHARACTER MAPPING IN NETRJSWe consider now the requirements of a ASCII/EBCDIC mapping for NETRJS or any rje protocol. These requirements are as follows:
ASCII EBCDIC
----- ------
| |
~ <bent bar>
Braden [Page 2]
RFC 338 EBCDIC/ASCII MAPPING FOR NETWORK RJE May 1972
We could (and did) take the view that all CCN users are concerned only with writing and executing normal 360 programs using EBCDIC and that they would enter one of the maverick ASCII graphics only in error. Our original choice, therefore, was to map the mavericks in the input into EBCDIC question marks. We also assumed that, if a user needs to access a larger subset of EBCDIC than the basic 89, he should do so by doing his rje directly in EBCDIC.
ASCII EBCDIC
----- ------
[ X'AD'
] X'BD' { X'8B' } X'9B' ^ X'71' ` X'79'
Braden [Page 3]
RFC 338 EBCDIC/ASCII MAPPING FOR NETWORK RJE May 1972
Model 33 Corresponding
Graphic ASCII EBCDIC
-------- ------------- ------
\ \ <bent bar>
<up arrow> ^ |
<left arrow> _ _
[ [ <cent sign>
D. CONCLUSIONS
It is obvious that one pair of translation tables won't do the job; NETRJS needs (at least) two mappings for each direction. How long will it be before an important set of users appears with a different terminal character set, requiring yet a different mapping? [6] An rje server site needs to be prepared to provide a variety of translation tables, and perhaps to allow a user to specify his own table(s); this mini-subset of "Date Reconfiguration Service" might be necessary to prevent translation-table-proliferation. The tendency in Network discussions has been to put the burden upon the user sites to adapt to different conventions. In the real world of users and servers, the server will often have to do the adapting.
Braden [Page 4]
RFC 338 EBCDIC/ASCII MAPPING FOR NETWORK RJE May 1972
[5] Winett lists only 88 basic EBCDIC graphics, excluding the
+-------------------------------------+
| Full ASCII |
| a b ... z | ` ^ { } ~ |
| |
+-----+-------------------------------------+--------------+
|33/35| | AT&T TWX |
| | ` [ ] | (Mod 33/35 |
| | | tty) |
+------+-----+------+-----------------------+ | | |Basic | | | | | | |EBCDIC| | | <SP> | | | | | | " | A B ... Z | | <left arrow> | | | | ! | 0 1 ... 9 | | | | | | | + - * / ( ) | | <up arrow> | | | | | . , ' = | | | | | | | $ & | | | | | | | < > : ? % # @ | | | | | | | | | | | +-----+------+-----------------------+------+--------------+ | | | | | | | | _ | | | | | | | | +------+-----------------------+------+ | | | | | PL/1 <bent bar> | | | | Set | | +-----------------------+ | <cent sign> | | Basic EBCDIC | +-------------------------------------------+
Braden [Page 5]
RFC 338 EBCDIC/ASCII MAPPING FOR NETWORK RJE May 1972
Braden [Page 6]