Документ взят из кэша поисковой машины. Адрес оригинального документа : http://mirror.msu.net/pub/rfc-editor/rfc-ed-all/pdfrfc/rfc466.txt.pdf
Дата изменения: Wed Mar 27 23:47:13 2002
Дата индексирования: Tue Oct 2 16:27:11 2012
Кодировка:
Network Working Group Request for Comments: 466 NIC: 14740 Category: TELNET

J. Winett LL-67 27 February 1973

TELNET LOGGER/SERVER For Host LL-67 The attached writeup CP/CMS system on the facility serves both data in either ASCII documents the TELNET LOGGER/SERVER for the Lincoln Laboratory 360>67 (host 10). The half duplex and full duplex TELNET users with or EBCDIC codes.

Use of the hide-your-input and noecho TELNET controls are used for the EBCDIC print suppress (bypass) and print restore features during the login procedure. To support half duplex terminals, the TELNET control break (reverse break) is sent as an input prompt when input is desired. This code can also be used to indicate that a previous line sent without an end of line sequence (CR-LF) should be printed.

This material has not been reviewed for public release and is intended only for use with the ARPA network. It should not be quoted or cited in any publication not related to the ARPA network.

Winett

[Page 1]


RFC 466

TELNET LOGGER/SERVER For Host LL-67

February 1973

Operation of the Lincoln Laboratory CP/CMS TELNET LOGGER/SERVER ICP Connection The TELNET LOGGER/SERVER follows the ICP protocol for of connections. The LOGGER is initially enabled for a socket X'00000001'. When an RFC is received for this of sockets will be chosen for the TELNET connections. number of TELNET users which can be served are active, connection is refused. Currently, three TELNET users TELNET LOGGER After the ICP connections have been setup, the LOGGER expects a TELNET data type code, a string of network ASCII characters, or a null line (just CR-LF) to indicate whether its operation should be in ASCII or in EBCDIC character codes. ASCII is assumed unless the first byte received is the TELNET EBCDIC data type code (X'A2). When something has been received, the message: Lincoln Laboratory CP/CMS Online will be transmitted by the LOGGER. For example, if ASCII operation is desired a null line (just CR-LF) transmitted on the send socket will cause the welcoming message to be sent in ASCII. The CP login procedure can then begin. If communications is desired to be carried on with EBCDIC character codes, the first byte transmitted should be the TELNET data type code for EBCDIC (X'A2'). Thereafter all communications will be in the code originally used. The CP login procedure expects the user to enter: LOGIN userid where the userid specifies the desired virtual machine. replies with: ENTER PASSWORD: followed by the EBCDIC code for bypass (x'24') which is mapped into the TELNET code hide-your-input. The user should then enter a password. Passwords entered from the network may be different from those entered from a local terminal. The LOGGER maps network passwords into a corresponding CP password. Thus, access to an account can only be made from the network if a network password, together with a CP password and userid, is entered CP then making a pair connection on socket a pair If the maximum the initial can be served.

Winett

[Page 2]


RFC 466

TELNET LOGGER/SERVER For Host LL-67

February 1973

into a file which is read by the LOGGER. If a userid entered from the network is not in the LOGGER FILE (or if the network password does not match the one included in the file for the specified userid) the LOGGER passes an invalid userid (or password) to CP. The CP response for an invalid userid or password is then sent to the network user. After a password is received by CP, CP transmits the EBCDIC code for restore (X'14') which is mapped into the TELNET control noecho. TELNET SERVER Since the CP/CMS system operates with EBCDIC codes, ASCII codes must be translated into EBCDIC before being sent to a virtual machine. Figure 1 gives the ASCII codes and their EBCDIC mapping. When the ASCII sequence CR-LF is received, it is mapped into the EBCDIC code NL. Whenever the TELNET control NOP is included in an input string, it is mapped into an EBCDIC idle (X'17') and then removed from the string. Thus, if TELNET NOP codes are included between a CR and LF, they are removed before the CR-LF is mapped into the EBCDIC NL. The TELNET control hide-your-input is mapped into the EBCDIC code for bypass (X'24') and the TELNET control echo is mapped into the EBCDIC control for restore (X'14'). If the TELNET control echo is received, the SERVER should send the control noecho but this feature has not yet been implemented. Instead, the TELNET control echo is mapped into the EBCDIC code X'23'. If the TELNET break is received, it is interpreted as an attention signal and the appropriate action is taken by CP or CMS. CP/CMS is a line at a time system and expects all input to consist of lines ending with a NL code. Characters received are buffered until the newline code is received. Since CP/CMS is also a half duplex system, characters are only examined when the system is expecting input. If the system is not expecting input, a network interrupt is required to cause the SERVER to process received characters. On receipt of a network interrupt, characters received before the TELNET data mark is received are examined and discarded, except that if a TELNET break code is found, the appropriate CP/CMS interrupt action is stimulated. On output, EBCDIC codes are mapped into network ASCII if a mapping exists; otherwise, the codes are mapped into the TELNET control NOP. A NL code is mapped into CR-LF. The EBCDIC code for bypass maps into the TELNET control hide-your-input and the EBCDIC code for restore maps into the TELNET control noecho. Also, the code X'23' maps into the TELNET control echo and the code X'38' maps into the TELNET

Winett

[Page 3]


RFC 466

TELNET LOGGER/SERVER For Host LL-67

February 1973

control break. Since CP/CMS is a line at a time, half duplex system the TELNET control break is transmitted as an end of message signal and also as an input prompt code. If characters were output without a NL, the break, as an end of message code, indicates to the user TELNET operating on a line at a time mode that the characters previously transmitted should be printed without waiting for the end of line sequence. If the user TELNET is also operating in a half duplex mode, the break as an input prompt indicates that the system is ready for input. If input had been the TELNET SERVER processing. Thus, as a prompt should anticipated and sent by a full duplex user TELNET, will have that input available for immediate in the case of a full duplex user TELNET the break be ignored. a half duplex mode, it supports half duplex break feature allowing the system to abort transmit a priority output message. In SERVER transmits a TELNET SYNC. A half interpret this by aborting the input mode, TELNET break which was interpreted as an

Though CP/CMS operates in terminals with the reverse an input mode in order to this situation, the TELNET duplex user TELNET should i.e., revoking a previous input prompt.

No codes in the output character stream can cause the TELNET data mark to be transmitted. LOGOUT When a user logs out from his virtual machine, CP passes the equivalent of a line disconnect to the LOGGER. The LOGGER then closes the TELNET send and receive sockets.

Winett

[Page 4]


RFC 466

TELNET LOGGER/SERVER For Host LL-67

February 1973

ASCII DEC 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

ASCII OCT 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 20 21 22 23 24 25 26 27 30 31 32 33 34 35 36 37

ASCII HEX (00) (01) (02) (03) (04) (05) (06) (07) (08) (09) (0A) (0B) (0C) (0D) (0E) (0F) (10) (11) (12) (13) (14) (15) (16) (17) (18) (19) (1A) (1B) (1C) (1D) (1E) (1F)

SYMBOLS

EBCDIC HEX (00) (01) (02) (03) (37) (2D) (2E) (2F) (16) (05) (25) (0B) (0C) (0D) (0E) (0F) (10) (11) (12) (13) (3C) (3D) (32) (26) (18) (19) (3F) (27) (1C) (1D) (1E) (1F)

EBCDIC DEC 00 01 02 03 55 45 46 47 22 05 37 11 12 13 14 15 16 17 18 19 60 61 50 38 24 25 63 39 28 29 30 31

NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB CTL FS GS RS US

ASCII/EBCDIC Code Mappings FIGURE 1

Winett

[Page 5]


RFC 466

TELNET LOGGER/SERVER For Host LL-67

February 1973

ASCII DEC 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

ASCII OCT 40 41 42 43 44 45 46 47 50 51 52 53 54 55 56 57 60 61 62 63 64 65 66 67 70 71 72 73 74 75 76 77

ASCII HEX (20) (21) (22) (23) (24) (25) (26) (27) (28) (29) (2A) (2B) (2C) (2D) (2E) (2F) (30) (31) (32) (33) (34) (35) (36) (37) (38) (39) (3A) (3B) (3C) (3D) (3E) (3F)

SYMBOLS

EBCDIC HEX (40) (5A) (7F) (7B) (5B) (6C) (50) (7D) (4D) (5D) (5C) (4E) (6D) (60) (4B) (61) (F0) (F1) (F2) (F3) (F4) (F5) (F6) (F7) (F8) (F9) (7A) (5E) (4C) (7E) (6E) (6F)

EBCDIC DEC 64 90 127 123 91 108 80 124 77 93 92 78 109 96 75 97 240 241 242 243 244 245 246 247 248 249 122 94 76 126 110 111

SP ! " # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?

ASCII/EBCDIC Code Mappings FIGURE 1 (CONTINUED)

Winett

[Page 6]


RFC 466

TELNET LOGGER/SERVER For Host LL-67

February 1973

ASCII DEC 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

ASCII OCT 100 101 102 103 104 105 106 107 110 111 112 113 114 115 116 117 120 121 122 123 124 125 126 127 130 131 132 133 134 135 136 137

ASCII HEX (40) (41) (42) (43) (44) (45) (46) (47) (48) (49) (4A) (4B) (4C) (4D) (4E) (4F) (50) (51) (52) (53) (54) (55) (56) (57) (58) (59) (5A) (5B) (5C) (5D) (5E) (5F)

SYMBOLS

EBCDIC HEX (7C) (C1) (C2) (C3) (C4) (C5) (C6) (C7) (C8) (C9) (D1) (D2) (D3) (D4) (D5) (D6) (D7) (D8) (D9) (E2) (E3) (E4) (E5) (E6) (E7) (E8) (E9) (AD) (4A) (BD) (71) (6D)

EBCDIC DEC 124 193 194 195 196 197 198 199 200 201 209 210 211 212 213 214 215 216 217 226 227 228 229 230 231 232 233 173 74 189 113 109

@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _

(BACK-SLASH) (CARAT)

ASCII/EBCDIC Code Mappings FIGURE 1 (CONTINUED)

Winett

[Page 7]


RFC 466

TELNET LOGGER/SERVER For Host LL-67

February 1973

ASCII DEC 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 ASCII DEC 128 129 130 131 132 133

ASCII OCT 140 141 142 143 144 145 146 147 150 151 152 153 154 155 156 157 160 161 162 163 164 165 166 167 170 171 172 173 174 175 176 177 ASCII OCT 100 101 102 103 104 105

ASCII HEX (60) (61) (62) (63) (64) (65) (66) (67) (68) (69) (6A) (6B) (6C) (6D) (6E) (6F) (70) (71) (72) (73) (74) (75) (76) (77) (78) (79) (7A) (7B) (7C) (7D) (7E) (7F) ASCII HEX (80) (81) (82) (83) (84) (85)

SYMBOLS

EBCDIC HEX (79) (81) (82) (83) (84) (85) (86) (87) (88) (89) (91) (92) (93) (94) (95) (96) (97) (98) (99) (A2) (A3) (A4) (A5) (A6) (A7) (A8) (A9) (8B) (4F) (9B) (5F) (07) EBCDIC HEX (80) (38) (17) (14) (23) (24)

EBCDIC DEC 121 129 130 131 132 133 134 135 136 137 145 146 147 148 149 150 151 152 153 162 163 164 165 166 167 168 169 139 79 155 95 7 (GRAVE)

` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } DEL TELNET CONTROLS DATA-MARK BREAK NOP NOECHO ECHO HIDE-YOUR INPUT

(BAR/OR) (TILDE/NOT)

EBCDIC DEC 128 56 23 20 35 36

IDLE RESTORE BYPASS

ASCII/EBCDIC Code Mappings FIGURE 1 (CONTINUED)

Winett

[Page 8]


RFC 466

TELNET LOGGER/SERVER For Host LL-67

February 1973

[This RFC was put into machine readable form for entry] [into the online RFC archives by Helene Morin, Via Genie, 12/99]

Winett

[Page 9]