分享
 
 
 

RFC196 - Mail Box Protocol

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

NETWORK WORKING GROUP Richard W. Watson

Request for Comments #196 SRI-ARC

NIC 7141 July 20, 1971

Categories: A.5, D.7

Obsoletes: none

Updates: none

A MAIL BOX PROTOCOL

The purpose of this protocol is to provide at each site a

standard mechanism to receive sequential files for immediate or

deferred printing or other uses. The files for deferred printing

would probably be stored on intermediate disk files, although

details of how a file is handled, stored, manipulated, or printed

at a site are not the concern of this protocol.

It is also assumed that there would be a program at the sending

site which sends the file in the format given below with the

optional control codes when appropriate. This program could

probably be Accessed as a subcommand of the Telnet program.

The motivation for developing this protocol is the Network

Information Center's (NIC) need to be able to deliver messages

and documents to remote sites, and to be able to receive

documents for cataloging, redistribution, and other purposes from

remote site without having to know the details of path name

conventions and file system commands at each site. Multiple mail

boxes (128) are allowed at each site and are identified as

described below. The default is mail box number 0 for use with

the standard mail printer defined below.

A mail box, as we see it, is simply a sequential file to which

messages and documents are appended, separated by an appropriate

site dependent code.

Although this protocol will enable people to transmit messages

directly without going through the NIC, we want to encourage

people to use the NIC as mUCh as possible, so that dialogue will

be recorded, cataloged and available for viewing online at NIC,

using the powerful facilities of the ARC on Line System (NLS).

The Mail Box Protocol will use established network conventions,

specifically the Network Control Program, Initial Connection

Protocol, and Data Transfer Protocol, NIC 7104.

The normal transmission is to be full 7-bit ASCII in 8-bit bytes,

the high order bit set to zero.

The standard receiving mail printer for mail box number 0 is

assumed to have a print line 72 characters wide, and a page of 66

lines. The new line convention will be carriage return (X'OD')

followed by line feed (X'OA') as per the Telnet Protocol RFC158,

NIC 6768. The standard printer will accept form feed (X'OC') as

meaning move paper to the top of a new page.

It is the senders responsibility to control the length of the

print line and page. If more than 72 characters per line are sent

or if more than 66 lines are sent without a form feed, than the

receiving site can handle these situations as appropriate for

them. These conventions can be changed by control codes as

described below.

A message or document being sent to any mail box is a string of 8

bit bytes.

At the head of the message or document sent to mail box number 0

there is to be an initial address string terminated by a form

feed. This address string is to contain the sender's name and

address, and the receiver's name and address formatted in some

reasonable, easy-to-read form for a clerk to read and distribute.

The format of information in mail boxes other than mail box

number 0 is not eXPlicitly defined by this protocol.

Initial Connection

Initial Connection will be as per the Official Initial

Connection Protocol, Documents #2, NIC 7101, to a standard

socket not yet assigned. A candidate socket number would be

socket #5.

Data Transmission

Data Transmission will be as per the Data Transfer Protocol,

RFC171, NIC 6793. That is, there will be a Modes Available

handshake, and then transmission of special control

information and data. A message or document is defined to be a

block of data. Control information is to be global. That is,

once a control mode is set it is assumed to apply during the

life of the connection unless explicitly changed. More than

one document may be sent during the life of the connection

unless the infinite bit stream mode is used. In the latter

case there will be one message or document per connection. A

reasonable convention for control information sent using the

infinite bit stream mode seems to be to assume that is applies

only to the next data stream connection from the host which

sent the control stream.

Control Information

The sending process should be capable of allowing the user to

indicate the control codes associated with the transmission of

a mail item. The control codes can be used with any mail box

number.

Mail Box Number

A site may find, as is the case at NIC, that it is useful

to have more than one receiving mail box, each to be

associated with a different process.

The mail box number for material to be printed by the

standard mail printer is mail box number 0 and is used by

default.

Code X'DO'

Meaning: A seven bit binary number in an eight bit field

with the high order bit set to zero is to follow

indicating the receiving mail box number.

Transmission Code Type

The default code type is 7-bit ASCII in an 8 bit field,

high order bit to zero.

'Code X'AO'

Meaning: A Data Type signal indicating that the

transmission code is 7-bit ASCII in an 8-bit field, high

order set to zero.

Code X'A1'

Meaning: Transparency, i.e. a stream of 8 bit bytes.

Code X'A2'

Meaning: EBCDIC

Other character codes could be added in the future.

Printer Control Codes

The default settings are a print line of 72 characters and

a print page of 66 lines.

Code X'D1

Meaning: Set line width to 72 characters.

Code X'D2'

Meaning: Use the full width of your printer.

Code X'D3'

Meaning: Set page size to 66 lines.

Code X'D4'

Meaning: Set page size to infinite.

Other virtual printer control codes can be added in the

future.

Other classes of control codes can be added as the need

arises.

[ This RFCwas put into machine readable form for entry ]

[ into the online RFCarchives by BBN Corp. under the ]

[ direction of Alex McKenzie. 12/96 ]

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有