Zum Hauptinhalt springen

Beispielablauf

"S:" is sent from serving (WILL RCTE) host to Using host.
"U:" is sent from Using (DO RCTE) host to Serving host.
"T:" is entered by the terminal user.
"P:" is printed on the terminal.

Text surrounded by square brackets ([]) is commentary.
Text surrounded by angle brackets (<>) is to be taken as a single
unit. E.G., carriage return is <cr>, and the decimal value 27
is represented <27>.

Der folgende Ablauf zeigt eine Anmeldung an einem Tenex, den Start des DED-Editors, das Einfügen von etwas Text und die Rückkehr auf die Exec-Ebene. Eine Telnet-Verbindung ist bereits geöffnet, aber der TENEX-Prompt wurde noch nicht ausgegeben. Die Hosts besprechen zunächst die Verwendung der RCTE-Option:

S: <IAC><WILL><RCTE>

U: <IAC><DO><RCTE>

S: TENEX 1.31.18, TENEX EXEC 1.50.2 <cr><lf>@
<IAC><SB><RCTE><11><1><24>

[Print the Herald and echo input text upto a Break character,
but do not echo the Break Character. Classes 4 (Format
Effectors), 5 (Non-format effector Controls and <DEL>), and 9
(<space>) act as Break Characters.]

P: TENEX 1.31.18, TENEX EXEC 1.50.2 <cr><lf>@

T: LOGIN ARPA <cr>

P: LOGIN

U: LOGIN <space>

S: <space><IAC><SB><RCTE><0>

P: <space>ARPA

U: ARPA <cr>

S: <cr><lf> (PASSWORD) : <IAC><SB><RCTE><7>

P: <cr><lf> (PASSWORD) :

T: WASHINGTON 1000<cr>

[The password "WASHINGTON" is not echoed. Action on "1000<cr>"
is withheld]

U: WASHINGTON <space>

S: <space><IAC><SB><RCTE><3>

P: <space> 1000

U: 1000<cr>

S: <cr><lf> JOB 17 ON TTY41 7-JUN-73 14:13 <cr><lf>@
<IAC><SB><RCTE><0>

P: <cr><lf> JOB 17 ON TTY41 7-JUN-73 14:13 <cr><lf>@

T: DED <esc><cr>

P: DED

U: DED<esc>

S: .SAV;1 <IAC><SB><RCTE><0>

P: .SAV;1

U: <cr>

S: <cr><lf><lf> Ded 3/14/73 DRO,KRK <cr><lf>:
<IAC><SB><RCTE><15><1><255>

[The program is started and the DED prompt ":" is sent. At the
command level, DED responds to every character.]

P: <cr><lf><lf> DED 3/14/73 DRP,KRK <cr><lf>:

T: IThis is a text line.<cr> This is another test line.<^Z> Q

["I" means Insert Text. The text follows, terminated by a
Control-Z. The "Q" instructs DED to Quit.]

U: I

S: I<cr><lf>* <IAC><SB><RCTE><11><0><24>

[DED prompts the user, during text input, with an asterisk at
the beginning of every line.]

P: I<cr><lf> *This is a test line.

U: This is a test line.<cr>

S: <cr><lf>* <IAC><SB><RCTE><O>

P: <cr><lf>* This is another test line.

U: This is another test line.<^Z>

S: ^Z<cr>lf>: <IAC><SB><RCTE><15><1><255>

[The returned "^Z" is two characters, not the ASCII Control-Z.]

U: Q

[Note that the "Q" is not yet printed on the terminal, since it
is a Break character.]

S: Q<cr><lf>@ <IAC><SB><RCTE><11><1><24>

P: Q<cr><lf> @

Und der Benutzer kehrt auf die Exec-Ebene zurück.