分享
 
 
 

RFC933 - Output marking Telnet option

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

Network Working Group S. Silverman

Request for Comments: 933 MITRE-Washington

January 1985

OUTPUT MARKING TELNET OPTION

Status of this Memo

This RFCproposes a new option for Telnet for the ARPA-Internet

community, and requests discussion and suggestions for improvements.

Distribution of this memo is unlimited.

Overview

This proposed option would allow a Server-Telnet to send a banner to

a User-Telnet so that this banner would be displayed on the

workstation screen independently of the application software running

in the Server-Telnet.

1. Command Name and Code

OUTMRK 27

2. Command Meanings

IAC WILL OUTMRK

Sender is willing to send output marking information in a

subsequent sub-negotiation.

IAC WON'T OUTMRK

Sender refuses to send output marking information.

IAC DO OUTMRK

Sender is willing to receive output marking information in a

subsequent sub-negotiation.

IAC DON'T OUTMRK

Sender refuses to accept output marking information.

IAC SB OUTMRK CNTL data IAC SE

The sender requests receiver to use the data in this

subnegotiation as a marking for the normally transmitted Telnet

data until further notice. The CNTL octet indicates the position

of the marking (see below).

RFC933 January 1985

Output Marking Telnet Option

IAC SB OUTMRK ACK IAC SE

The sender acknowledges the data and agrees to use it to perform

output marking (see below).

IAC SB OUTMRK NAK IAC SE

The sender objects to using the data to perform output marking

(see below).

3. Default

WON'T OUTMRK

Output marking information will not be exchanged.

DON'T OUTMRK

Output marking information will not be exchanged.

4. Motivation for the Option

The security architecture of some military systems identifies a

security level with each Telnet connection. There is a corresponding

need to display a security banner on visual display devices.

(Reference: Department of Defense Trusted Computer System Evaluation

Criteria, Section 3.1.1.3.2.3, Labeling Human-Readable Output.)

The output marking is currently done by transmitting the banner as

data within each screen of data. It would be more efficient to

transmit the data once with instrUCtions and have User-Telnet

maintain the banner automatically without any additional

Server-Telnet action. This frees Server-Telnet from needing to know

the output device page size.

Under this proposal Server-Telnet would send an option sequence with

the command, a control flag, and the banner to be used. While

current systems use the top of the screen, it is conceivable other

systems would want to put the banner at the bottom or perhaps even

the side of the screen. This is the reason for the control flag.

5. Description of the Option

Either side of the session can initiate the option; however, normally

it will be the server side that initiates the request to perform

output marking. Either the Server-Telnet sends "WILL OUTMRK" or the

User-Telnet sends a "DO OUTMRK". The party receiving the initial

RFC933 January 1985

Output Marking Telnet Option

"WILL" (or "DO") would respond with "DO" (or "WILL") to accept the

option. Then Server-Telnet responds with the marking data. The

format of this is:

"IAC SB OUTMRK CNTL data IAC SE"

CNTL is the Control Flag described below,

the data is in ASCII.

If this is satisfactory, User-Telnet responds:

"IAC SB OUTMRK ACK IAC SE"

ACK is the ASCII ACK (6).

From this point, User-Telnet will have to translate any command which

uses cursor controls so that the application data is mapped to the

application part of the screen.

If the data passed in the subnegotiation field is unacceptable to

User-Telnet, then it responds with:

"IAC SB OUTMRK NAK IAC SE"

NAK is the ASCII NAK (21).

It is now up to Server-Telnet to start the sequence over again and

use "more acceptable" data (or possibly take other action such as

connection termination).

To terminate output marking, Server-Telnet transmits "WON'T OUTMRK".

If necessary, User-Telnet would notify Server-Telnet about the new

effective page size. User-Telnet would then map the output data to

the allowed usable space on the screen.

User-Telnet may request OUTMRK data or initiate setup of this

convention at anytime by transmitting "DO OUTMRK". If a WILL, DO

OUTMRK exchange is not followed by the OUTMRK subnegotiation of the

marking data, the User-Telnet may terminate the output marking option

by sending a "DON'T OUTMRK".

RFC933 January 1985

Output Marking Telnet Option

Control Flag

The CNTL flag is defined as:

D = Default, the placement of the markings is up to

User-Telnet. This is the eXPected mode for most

interactions.

T = Top, this banner is to be used as the top of the screen.

If multiple output markings are desired, then T and B (or R

& L ) are to be used.

B = Bottom, this banner is to be used at the bottom of the

screen.

L = Left, markings on the left. (The precise meaning of this

is to be defined.)

R = Right, marking on right. (The precise meaning of this is

to be defined.)

Banner Data

The use of Carriage Return and Line Feed (CRLF) will be

interpreted as a end of line in the marking banner text. If the

user wants a multiline banner, CRLF will be used between each

line. No CRLF is needed at the end of the marking data.

To use multiple banners, all of the banners will be included in

one subnegotiation command of the form:

"IAC SB OUTMRK CNTL data GS CNTL data IAC SE"

where GS is the ASCII Group Separator (29) character.

User-Telnet will be responsible for positioning the marking banner

data on the screen.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
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- 王朝網路 版權所有