Anda di halaman 1dari 24

RFC854 - Telnet Protocol Specification

RFC854 - Telnet Protocol Specification


Network Working Group J.
Postel Jaringan Kelompok Kerja J. Postel
Request for Comments: 854 J.
Reynolds Permintaan Comments: 854 J. Reynolds
I
SI
Obsoletes: NIC 18639 May
1983 Obsoletes: NIC 18639 Mei 1983

TELNET PROTOCOL SPECIFICATION Telnet PROTOCOL


SPESIFIKASI

This RFC specifies a standard for the ARPA Internet community. RFC ini
menetapkan standar untuk ARPA Internet masyarakat. Hosts on Alam di
the ARPA Internet are expected to adopt and implement this standard.
ARPA Internet yang diharapkan untuk mengadopsi dan menerapkan standar
ini.

INTRODUCTION PENDAHULUAN

The purpose of the TELNET Protocol is to provide a fairly general,


Tujuan Telnet Protocol adalah untuk memberikan yang cukup umum,
bi-directional, eight-bit byte oriented communications facility.
bi-directional, eight-bit byte berorientasi fasilitas komunikasi. Its
primary goal is to allow a standard method of interfacing terminal
tujuan utama adalah untuk mengijinkan metode standar dari terminal
interfacing
devices and terminal-oriented processes to each other. perangkat
dan proses berorientasi terminal ke satu sama lain. It is Ini adalah
envisioned that the protocol may also be used for terminal-terminal
envisioned protokol yang dapat juga digunakan untuk terminal-terminal
communication ("linking") and process-process communication
komunikasi ( "linking") dan proses-proses komunikasi
(distributed computation). (didistribusikan hisab).

GENERAL CONSIDERATIONS Pertimbangan UMUM

A TELNET connection is a Transmission Control Protocol (TCP) J


sambungan Telnet adalah Transmission Control Protocol (TCP)
connection used to transmit data with interspersed TELNET control
sambungan yang digunakan untuk mengirimkan data interspersed Telnet
kontrol
information. informasi.

The TELNET Protocol is built upon three main ideas: first, the The
Telnet Protokol dibangun atas tiga gagasan utama: pertama, yang
concept of a "Network Virtual Terminal"; second, the principle of
Konsep dari "Jaringan Virtual Terminal"; kedua, prinsip
negotiated options; and third, a symmetric view of terminals and
dinegosiasikan pilihan, dan ketiga, yang simetris dan melihat dari
terminal
processes. proses.

1. When a TELNET connection is first established, each end is


Ketika sebuah koneksi Telnet adalah pertama dibuat, setiap akhir adalah
assumed to originate and terminate at a "Network Virtual Terminal",
dianggap berasal dan berakhir pada "Jaringan Virtual Terminal",
or NVT. atau NVT. An NVT is an imaginary device which provides a
standard, Sebuah NVT imajiner merupakan perangkat yang menyediakan
standar,
network-wide, intermediate representation of a canonical terminal.
jaringan luas, antara perwakilan dari kanonik terminal.
This eliminates the need for "server" and "user" hosts to keep Ini
menghilangkan kebutuhan untuk "server" dan "pengguna" host untuk
menjaga
information about the characteristics of each other's terminals and
informasi tentang karakteristik dari masing-masing dari terminal dan
terminal handling conventions. terminal penanganan konvensi. All
hosts, both user and server, map Semua host, baik pengguna dan server,
peta
their local device characteristics and conventions so as to appear
to perangkat karakteristik lokal mereka dan konvensi sehingga tampak
be dealing with an NVT over the network, and each can assume a
harus berhadapan dengan suatu NVT melalui jaringan, dan masing-masing
yang dapat menganggap
similar mapping by the other party. pemetaan serupa oleh pihak
lain. The NVT is intended to strike a Yang dimaksudkan untuk NVT
menebah
balance between being overly restricted (not providing hosts a rich
keseimbangan antara yang terlalu dibatasi (tidak menyediakan alam yang
kaya
enough vocabulary for mapping into their local character sets), and
cukup kosakata untuk pemetaan lokal mereka ke dalam rangkaian
karakter), dan
being overly inclusive (penalizing users with modest terminals).
yang terlalu inklusif (penalizing pengguna dengan sederhana terminal).

NOTE: The "user" host is the host to which the physical terminal
CATATAN: "pengguna" host adalah host yang fisik terminal
is normally attached, and the "server" host is the host which is
biasanya terpasang, dan "server" host adalah host yang
normally providing some service. biasanya menyediakan beberapa
layanan. As an alternate point of view, Sebagai alternatif point of
view,

RFC 854 May


1983 RFC 854 Mei 1983

applicable even in terminal-to-terminal or process-to-process


berlaku bahkan di terminal-terminal atau ke-ke-proses-proses
communications, the "user" host is the host which initiated the
komunikasi, maka "pengguna" host adalah host yang melakukan
communication. komunikasi.
2. The principle of negotiated options takes cognizance of the fact
Prinsip negosiasi pilihan mengambil tanggung jawab dengan fakta
that many hosts will wish to provide additional services over and
bahwa banyak host akan ingin memberikan layanan tambahan atas dan
above those available within an NVT, and many users will have di
atas orang-orang yang tersedia dalam suatu NVT, dan banyak pengguna
akan memiliki
sophisticated terminals and would like to have elegant, rather than
terminal canggih dan mau elegan, daripada
minimal, services. minimal, layanan. Independent of, but structured
within the TELNET Yang independen, tapi di dalam struktur Telnet
Protocol are various "options" that will be sanctioned and may be
Berbagai protokol adalah "pilihan" yang akan sanksi dan mungkin
used with the "DO, DON'T, WILL, WON'T" structure (discussed below)
to digunakan dengan "DO, DON'T, AKAN, AKAN TIDAK" struktur (dibahas di
bawah) untuk
allow a user and server to agree to use a more elaborate (or perhaps
membolehkan pengguna dan server untuk menyetujui penggunaan yang lebih
rumit (atau mungkin
just different) set of conventions for their TELNET connection.
hanya berbeda) set konvensi mereka untuk sambungan telnet. Such Seperti
options could include changing the character set, the echo mode,
etc. Pilihan lainnya termasuk dapat mengubah karakter yang Anda
gunakan, maka echo mode, dll

The basic strategy for setting up the use of options is to have


Dasar strategi untuk mengatur penggunaan pilihan adalah memiliki
either party (or both) initiate a request that some option take
salah satu pihak (atau keduanya) melakukan permintaan yang mengambil
beberapa pilihan
effect. efek. The other party may then either accept or reject the
Pihak lain mungkin akan menerima atau menolak
request. meminta. If the request is accepted the option immediately
takes Jika permintaan diterima pilihan segera mengambil
effect; if it is rejected the associated aspect of the connection
efek; ditolak terkait aspek sambungan
remains as specified for an NVT. tetap seperti yang ditetapkan
untuk NVT. Clearly, a party may always refuse Jelas, sebuah partai Mei
selalu menolak
a request to enable, and must never refuse a request to disable some
permintaan untuk mengaktifkan, dan tidak boleh menolak permintaan untuk
menonaktifkan beberapa
option since all parties must be prepared to support the NVT.
pilihan sejak semua pihak harus siap untuk mendukung NVT.

The syntax of option negotiation has been set up so that if both


Sintaks opsi negosiasi yang telah ditetapkan sehingga jika keduanya
parties request an option simultaneously, each will see the other's
pihak meminta pilihan sekaligus, masing-masing akan melihat lain
request as the positive acknowledgment of its own. permintaan
sebagai sambutan positif dari masing-masing.

3. The symmetry of the negotiation syntax can potentially lead to


Dengan simetri negosiasi sintaks yang berpotensi menimbulkan
nonterminating acknowledgment loops -- each party seeing the
incoming nonterminating pengakuan loops - masing-masing pihak melihat
masuk
commands not as acknowledgments but as new requests which must be
bukan sebagai perintah Acknowledgments tetapi sebagai permintaan baru
yang harus
acknowledged. diakui. To prevent such loops, the following rules
prevail: Untuk mencegah seperti loops, berlaku aturan berikut:

a. Parties may only request a change in option status; ie, a


Pihak hanya boleh meminta perubahan status pilihan, yakni yang
party may not send out a "request" merely to announce what mode
it pihak tidak dapat mengirimkan sebuah "permintaan" hanya mengumumkan
apa modus ini
is in. is in

b. If a party receives what appears to be a request to enter some


Jika salah satu pihak menerima apa yang akan muncul permintaan untuk
memasukkan beberapa
mode it is already in, the request should not be acknowledged.
Modus itu sudah, permintaan tersebut tidak boleh diakui.
This non-response is essential to prevent endless loops in the
Non-respon ini sangat penting untuk mencegah endless loops di
negotiation. negosiasi. It is required that a response be sent
to requests Hal ini diperlukan respon yang dikirim untuk permintaan
for a change of mode -- even if the mode is not changed. untuk
mengubah dari modus - bahkan jika modus tidak berubah.

c. Whenever one party sends an option command to a second party,


Bilamana salah satu pihak mengirimkan satu pilihan untuk kedua pihak,
whether as a request or an acknowledgment, and use of the option
apakah sebagai sebuah pengakuan atau permintaan, dan penggunaan pilihan
will have any effect on the processing of the data being sent
from akan mempunyai efek pada pengolahan data yang dikirim dari
the first party to the second, then the command must be inserted
pihak pertama untuk yang kedua, maka perintah yang harus dimasukkan
in the data stream at the point where it is desired that it take
dalam data stream pada titik di mana adalah waktu yang dikehendaki

RFC 854 May


1983 RFC 854 Mei 1983

effect. efek. (It should be noted that some time will elapse
between (Perlu dicatat bahwa beberapa waktu akan dibutuhkan waktu
antara
the transmission of a request and the receipt of an transmisi
dari permintaan dan penerimaan yang
acknowledgment, which may be negative. pengakuan, yang mungkin
negatif. Thus, a host may wish to Dengan demikian, host mungkin ingin
buffer data, after requesting an option, until it learns whether
buffer data, setelah meminta salah satu pilihan, sampai belajar apakah
the request is accepted or rejected, in order to hide the
permintaan diterima atau ditolak, untuk menyembunyikan
"uncertainty period" from the user.) "masa ketidakpastian" dari
pengguna).
Option requests are likely to flurry back and forth when a TELNET
Pilihan permintaan yang cenderung membingungkan dan sebagainya kembali
bila Telnet
connection is first established, as each party attempts to get the
sambungan pertama kali didirikan, masing-masing pihak sebagai upaya
untuk mendapatkan
best possible service from the other party. mungkin layanan dari
pihak lain. Beyond that, however, Selain itu, bagaimanapun,
options can be used to dynamically modify the characteristics of the
pilihan dapat digunakan untuk secara dinamis memodifikasi karakteristik
dari
connection to suit changing local conditions. sambungan berubah
sesuai kondisi lokal. For example, the NVT, Misalnya, NVT,
as will be explained later, uses a transmission discipline well
seperti yang akan dijelaskan nanti, menggunakan transmisi disiplin baik
suited to the many "line at a time" applications such as BASIC, but
sesuai dengan banyak "baris pada satu waktu" aplikasi seperti BASIC,
tetapi
poorly suited to the many "character at a time" applications such as
kurang sesuai dengan banyak "karakter pada satu waktu" aplikasi seperti
NLS. A server might elect to devote the extra processor overhead J
server mungkin memilih untuk mencurahkan ekstra prosesor overhead
required for a "character at a time" discipline when it was suitable
diperlukan untuk "karakter pada satu waktu" disiplin ketika itu cocok
for the local process and would negotiate an appropriate option.
untuk lokal dan akan proses negosiasi yang sesuai pilihan.
However, rather than then being permanently burdened with the extra
Namun, bukan kemudian menjadi permanen dibebani dengan tambahan
processing overhead, it could switch (ie, negotiate) back to NVT
overhead pemrosesan, dapat beralih (yaitu, negosiasi) kembali ke NVT
when the detailed control was no longer necessary. bila kontrol
rinci yang tidak lagi diperlukan.

It is possible for requests initiated by processes to stimulate a


Hal ini dimungkinkan untuk permintaan yang dimulai oleh sebuah proses
untuk merangsang
nonterminating request loop if the process responds to a rejection
by nonterminating permintaan loop jika proses merespon sebuah penolakan
oleh
merely re-requesting the option. hanya kembali meminta pilihan. To
prevent such loops from Untuk mencegah dari semacam loops
occurring, rejected requests should not be repeated until something
terjadi, menolak permintaan tersebut tidak boleh diulang sampai sesuatu
changes. perubahan. Operationally, this can mean the process is
running a Secara operasional, hal ini dapat berarti proses yang sedang
berjalan
different program, or the user has given another command, or
whatever berbagai program, atau pengguna lain yang telah memberikan
perintah, atau apapun
makes sense in the context of the given process and the given
option. masuk akal dalam konteks yang diberikan proses dan pilihan yang
diberikan.
A good rule of thumb is that a re-request should only occur as a
Yang baik adalah aturan praktis yang kembali permintaan hanya terjadi
sebagai
result of subsequent information from the other end of the
connection menyusul hasil informasi dari ujung sambungan
or when demanded by local human intervention. atau bila diminta
oleh intervensi manusia lokal.

Option designers should not feel constrained by the somewhat limited


Pilihan desainer seharusnya tidak merasa terpaksa dengan agak terbatas
syntax available for option negotiation. Sintaks opsi yang tersedia
untuk negosiasi. The intent of the simple Dengan niat yang sederhana
syntax is to make it easy to have options -- since it is Sintaks
adalah untuk memudahkan untuk memiliki pilihan - karena
correspondingly easy to profess ignorance about them.
correspondingly mudah untuk mengakui ketidaktahuan tentang mereka. If
some Jika beberapa
particular option requires a richer negotiation structure than
tertentu pilihan memerlukan kaya negosiasi dari struktur
possible within "DO, DON'T, WILL, WON'T", the proper tack is to use
mungkin dalam "DO, DON'T, AKAN, AKAN TIDAK", yang benar adalah dengan
menggunakan menjelujur
"DO, DON'T, WILL, WON'T" to establish that both parties understand
"DO, DON'T, AKAN, AKAN TIDAK" untuk menetapkan bahwa kedua belah pihak
memahami
the option, and once this is accomplished a more exotic syntax can
be pilihan, dan kali ini adalah melakukan yang lebih eksotik sintaks
dapat
used freely. digunakan secara bebas. For example, a party might
send a request to alter Misalnya, salah satu pihak dapat mengirim
permintaan untuk merubah
(establish) line length. (mendirikan) baris panjang. If it is
accepted, then a different syntax Jika itu diterima, maka sintaks yang
berbeda
can be used for actually negotiating the line length -- such a
dapat digunakan untuk negosiasi sebenarnya baris panjang - seperti
"sub-negotiation" might include fields for minimum allowable,
maximum "sub-negosiasi" mungkin termasuk bidang minimum yang diijinkan,
maksimum
allowable and desired line lengths. diijinkan dan dikehendaki baris
panjang. The important concept is that Yang penting adalah bahwa konsep

RFC 854 May


1983 RFC 854 Mei 1983

such expanded negotiations should never begin until some prior


berkembang seperti negosiasi tidak boleh dimulai sebelum sampai
beberapa
(standard) negotiation has established that both parties are capable
(standar) negosiasi telah menetapkan bahwa kedua belah pihak mampu
of parsing the expanded syntax. parsing dari sintaks yang
diperluas.

In summary, WILL XXX is sent, by either party, to indicate that


Singkatnya, AKAN XXX dikirim, baik oleh pihak, untuk menunjukkan bahwa
party's desire (offer) to begin performing option XXX, DO XXX and
keinginan pihak (penawaran) untuk mulai melakukan pilihan XXX, XXX dan
DO
DON'T XXX being its positive and negative acknowledgments;
similarly, DON'T XXX-nya yang positif dan negatif Acknowledgments;
mirip,
DO XXX is sent to indicate a desire (request) that the other party
DO XXX dikirim ke menunjukkan keinginan (permintaan) bahwa pihak lain
(ie, the recipient of the DO) begin performing option XXX, WILL XXX
(yakni, penerima DO) mulai melakukan pilihan XXX, AKAN XXX
and WON'T XXX being the positive and negative acknowledgments. dan
WON'T XXX yang positif dan negatif Acknowledgments. Since Sejak
the NVT is what is left when no options are enabled, the DON'T and
adalah apa yang NVT adalah pilihan kiri bila tidak diaktifkan, maka
TIDAK dan
WON'T responses are guaranteed to leave the connection in a state
WON'T tanggapan dijamin meninggalkan sambungan dalam sebuah negara
which both ends can handle. yang dapat menangani kedua berakhir.
Thus, all hosts may implement their Oleh karena itu, semua host Mei
mereka melaksanakan
TELNET processes to be totally unaware of options that are not
Telnet proses totally menyadarinya menjadi pilihan yang tidak
supported, simply returning a rejection to (ie, refusing) any
didukung, cukup kembali ke sebuah penolakan (yaitu, menolak) setiap
option request that cannot be understood. pilihan permintaan yang
tidak dapat dipahami.

As much as possible, the TELNET protocol has been made server-user


Sebisa mungkin, Telnet protokol yang telah dibuat server-user
symmetrical so that it easily and naturally covers the user-user
simetris sehingga dengan mudah dan secara alami meliputi pengguna-
pengguna
(linking) and server-server (cooperating processes) cases. (link)
dan server-server (proses kerjasama) kasus. It is Ini adalah
hoped, but not absolutely required, that options will further this
diharapkan, tetapi tidak mutlak diperlukan, yang selanjutnya pilihan
ini akan
intent. sungguh-sungguh. In any case, it is explicitly acknowledged
that symmetry is Dalam setiap kasus, hal ini secara tegas mengakui
bahwa simetri adalah
an operating principle rather than an ironclad rule. dioperasikan
prinsip yang kuat daripada aturan.

A companion document, "TELNET Option Specifications," should be J


dokumen pelengkap, "Opsi Spesifikasi Telnet," harus
consulted for information about the procedure for establishing new
berkonsultasi untuk mendapatkan informasi tentang prosedur untuk
mendirikan baru
options. pilihan.

THE NETWORK VIRTUAL TERMINAL THE JARINGAN Virtual TERMINAL

The Network Virtual Terminal (NVT) is a bi-directional character


Jaringan yang Virtual Terminal (NVT) adalah bi-directional karakter
device. perangkat. The NVT has a printer and a keyboard. NVT yang
memiliki keyboard dan printer. The printer responds Printer merespon
to incoming data and the keyboard produces outgoing data which is
pada data yang masuk dan keluar keyboard menghasilkan data yang
sent over the TELNET connection and, if "echoes" are desired, to the
dikirim melalui sambungan Telnet, dan jika "Echoes" yang dikehendaki,
dengan
NVT's printer as well. NVT dari printer juga. "Echoes" will not be
expected to traverse the "Echoes" tidak akan menyeberang ke yang
diharapkan
network (although options exist to enable a "remote" echoing mode of
jaringan (walaupun ada pilihan untuk mengaktifkan "jauh" echoing modus
operation, no host is required to implement this option). operasi,
tidak ada host yang diperlukan untuk menerapkan opsi ini). The code
Kode
set is seven-bit USASCII in an eight-bit field, except as modified
tetapkan tujuh-bit USASCII dalam bidang delapan-bit, kecuali yang
dimodifikasi
herein. di sini. Any code conversion and timing considerations are
local Setiap kode konversi dan pertimbangan adalah waktu setempat
problems and do not affect the NVT. masalah dan tidak mempengaruhi
NVT.

TRANSMISSION OF DATA TRANSMISI DATA

Although a TELNET connection through the network is intrinsically


Meskipun Telnet melalui sambungan jaringan pd hakekatnya
full duplex, the NVT is to be viewed as a half-duplex device
full duplex, yang NVT harus dilihat sebagai setengah-duplex perangkat
operating in a line-buffered mode. beroperasi di baris-buffered
mode. That is, unless and until Maksudnya, kecuali dan sampai

RFC 854 May


1983 RFC 854 Mei 1983

options are negotiated to the contrary, the following default


Pilihannya adalah negosiasi untuk Sebaliknya, berikut standar
conditions pertain to the transmission of data over the TELNET
kondisi berhubungan dengan transmisi data melalui Telnet
connection: sambungan:

1) Insofar as the availability of local buffer space permits,


1) sebagai Insofar ketersediaan daerah penyangga ruang ijin,
data should be accumulated in the host where it is generated
data pengeluaran harus di-host di mana ia dihasilkan
until a complete line of data is ready for transmission, or
sampai lengkap sesuai data siap untuk transmisi, atau
until some locally-defined explicit signal to transmit occurs.
sampai beberapa lokal ditetapkan eksplisit untuk mengirim sinyal
terjadi.
This signal could be generated either by a process or by a
Sinyal ini dapat dihasilkan baik oleh sebuah proses atau oleh
human user. manusia pengguna.

The motivation for this rule is the high cost, to some hosts,
Motivasi untuk aturan ini adalah tingginya biaya, untuk beberapa host,
of processing network input interrupts, coupled with the
pengolahan jaringan masukan interrupts, digabungkan dengan
default NVT specification that "echoes" do not traverse the
NVT standar spesifikasi yang "Echoes" yang tidak menyeberang
network. jaringan. Thus, it is reasonable to buffer some
amount of data Dengan demikian, adalah wajar untuk penyangga beberapa
jumlah data
at its source. tersebut pada sumbernya. Many systems take
some processing action at the Banyak sistem pengolahan mengambil
beberapa tindakan di
end of each input line (even line printers or card punches
akhir setiap masukan baris (baris bahkan printer atau kartu punches
frequently tend to work this way), so the transmission should
sering cenderung untuk bekerja dengan cara seperti ini), sehingga
transmisi harus
be triggered at the end of a line. akan dipicu pada akhir
baris. On the other hand, a user Di sisi lain, pengguna
or process may sometimes find it necessary or desirable to
atau proses Mei terkadang merasa perlu atau keinginan untuk
provide data which does not terminate at the end of a line;
menyediakan data yang tidak terbatas pada akhir baris;
therefore implementers are cautioned to provide methods of
pelaksana cautioned itu adalah untuk menyediakan metode
locally signaling that all buffered data should be transmitted
lokal signaling buffered bahwa semua data harus dikirim
immediately. segera.

2) When a process has completed sending data to an NVT


printer 2) Bila proses telah selesai mengirim data ke printer NVT
and has no queued input from the NVT keyboard for further dan
tidak memiliki antrian input dari keyboard lebih NVT
processing (ie, when a process at one end of a TELNET
pengolahan (misalnya, bila proses di satu akhir Telnet
connection cannot proceed without input from the other end),
sambungan tidak dapat melanjutkan tanpa masukan dari ujung yang lain),
the process must transmit the TELNET Go Ahead (GA) command.
proses yang harus mengirimkan Telnet Go Ahead (GA) perintah.

This rule is not intended to require that the TELNET GA


command Peraturan ini tidak dimaksudkan untuk mengharuskan Telnet GA
perintah
be sent from a terminal at the end of each line, since server
dikirim dari terminal di akhir setiap baris, sejak server
hosts do not normally require a special signal (in addition to
host biasanya tidak memerlukan sinyal khusus (selain
end-of-line or other locally-defined characters) in order to
end-of-line lokal atau lainnya yang ditentukan oleh karakter) untuk
commence processing. memulai proses. Rather, the TELNET GA is
designed to help Sebaliknya, Telnet GA dirancang untuk membantu
a user's local host operate a physically half duplex terminal
pengguna lokal host menjalankan terminal fisik setengah duplex
which has a "lockable" keyboard such as the IBM 2741. yang
memiliki "lockable" keyboard seperti IBM 2741. A Sebuah
description of this type of terminal may help to explain the
deskripsi jenis terminal ini dapat membantu untuk menjelaskan
proper use of the GA command. benar menggunakan perintah GA.

The terminal-computer connection is always under control of


Terminal-sambungan komputer selalu di bawah pengawasan
either the user or the computer. salah satu pengguna atau
komputer. Neither can unilaterally Sepihak tidak dapat
seize control from the other; rather the controlling end must
merampas kontrol dari yang lain; bukan pengendalian yang harus
mengakhiri
relinguish its control explicitly. relinguish dengan kontrol
secara eksplisit. At the terminal end, the Di terminal akhir, maka
hardware is constructed so as to relinquish control each time
hardware dibangun sehingga melepaskan kontrol setiap kali
that a "line" is terminated (ie, when the "New Line" key is
bahwa "baris" diakhiri (yakni, ketika "New Line" Kuncinya adalah
typed by the user). ketik oleh pengguna). When this occurs,
the attached (local) Bila ini terjadi, yang terlampir (lokal)

RFC 854 May


1983 RFC 854 Mei 1983

computer processes the input data, decides if output should be


komputer proses input data, jika memutuskan output harus
generated, and if not returns control to the terminal.
dihasilkan, dan jika tidak kembali ke terminal kontrol. If Jika
output should be generated, control is retained by the
computer harus output yang dihasilkan, kontrol yang disimpan oleh
komputer
until all output has been transmitted. sampai semua output
telah dikirimkan.

The difficulties of using this type of terminal through the


Kesulitan untuk menggunakan jenis terminal melalui
network should be obvious. jaringan harus jelas. The "local"
computer is no longer The "local" komputer ini tidak lagi
able to decide whether to retain control after seeing an
dapat memutuskan apakah akan mempertahankan kontrol setelah melihat
sebuah
end-of-line signal or not; this decision can only be made by
end-of-line sinyal atau tidak, keputusan ini hanya dapat dibuat oleh
the "remote" computer which is processing the data. bagian
"remote" komputer yang memproses data. Therefore, Oleh karena itu,
the TELNET GA command provides a mechanism whereby the
"remote" GA perintah Telnet yang menyediakan mekanisme di mana "jauh"
(server) computer can signal the "local" (user) computer that
(server) komputer dapat menandakan "lokal" (pengguna) komputer yang
it is time to pass control to the user of the terminal.
sekarang saatnya untuk melewati kontrol kepada pengguna terminal. It
Ini
should be transmitted at those times, and only at those times,
harus dikirim pada waktu tersebut, dan hanya pada waktu,
when the user should be given control of the terminal. bila
pengguna harus diberikan kontrol dari terminal. Note Catatan
that premature transmission of the GA command may result in
the transmisi yang prematur dari perintah GA dapat menyebabkan
blocking of output, since the user is likely to assume that
the memblokir output, sejak pengguna cenderung menganggap bahwa
transmitting system has paused, and therefore he will fail to
sistem transmisi yang dihentikan sementara, dan karena itu ia akan
gagal
turn the line around manually. putar sekitar baris secara
manual.

The foregoing, of course, does not apply to the user-to-server


Demikian, tentu saja, tidak berlaku untuk pengguna-ke-server
direction of communication. arah komunikasi. In this direction,
GAs may be sent at Dalam arah ini, gas dapat dikirimkan pada
any time, but need not ever be sent. saja, tetapi harus tidak
pernah dikirim. Also, if the TELNET Juga, jika Telnet
connection is being used for process-to-process communication,
GAs koneksi sedang digunakan untuk proses-ke-proses komunikasi, gas
need not be sent in either direction. tidak perlu dikirim dalam
salah satu arah. Finally, for Terakhir, untuk
terminal-to-terminal communication, GAs may be required in
terminal-terminal untuk komunikasi, gas mungkin diperlukan dalam
neither, one, or both directions. tidak, satu atau dua arah. If
a host plans to support Jika sebuah host untuk mendukung rencana
terminal-to-terminal communication it is suggested that the host
terminal-terminal untuk komunikasi disarankan agar host
provide the user with a means of manually signaling that it is
menyediakan pengguna dengan cara manual signaling bahwa
time for a GA to be sent over the TELNET connection; this, waktu
untuk GA yang akan dikirim melalui sambungan Telnet; ini,
however, is not a requirement on the implementer of a TELNET
Namun, bukan pada kebutuhan pelaksana dari telnet
process. proses.

Note that the symmetry of the TELNET model requires that there is
Dicatat bahwa simetri dari Telnet membutuhkan model yang ada
an NVT at each end of the TELNET connection, at least suatu NVT
di setiap akhir Telnet sambungan, setidaknya
conceptually. konseptual.

STANDARD REPRESENTATION OF CONTROL FUNCTIONS Keterwakilan STANDAR


PENGENDALIAN FUNGSI

As stated in the Introduction to this document, the primary goal


Sebagaimana tercantum dalam Pengantar dokumen ini, tujuan utama
of the TELNET protocol is the provision of a standard interfacing
dari protokol Telnet adalah pemberian standar interfacing
of terminal devices and terminal-oriented processes through the
dari perangkat terminal-terminal dan melalui proses yang berorientasi
network. jaringan. Early experiences with this type of
interconnection have Awal pengalaman dengan jenis ini memiliki
interkoneksi
shown that certain functions are implemented by most servers, but
menunjukkan bahwa fungsi-fungsi tertentu yang dilaksanakan oleh
sebagian besar server, tetapi
that the methods of invoking these functions differ widely.
bahwa metode invoking fungsi berbeda secara luas. For a Untuk
human user who interacts with several server systems, these
manusia pengguna yang berinteraksi dengan beberapa server, sistem ini
differences are highly frustrating. perbedaan sangat frustasi.
TELNET, therefore, defines a Telnet, oleh karena itu, mendefinisikan
standard representation for five of these functions, as described
standar selama lima perwakilan dari berbagai fungsi tersebut, seperti
yang dijelaskan

RFC 854 May


1983 RFC 854 Mei 1983
below. di bawah. These standard representations have standard,
but not Standar ini telah membuat pernyataan standar, namun tidak
required, meanings (with the exception that the Interrupt Process
diperlukan, arti (dengan pengecualian yang mengganggu proses
(IP) function may be required by other protocols which use (IP)
berfungsi mungkin diperlukan oleh protokol lain yang menggunakan
TELNET); that is, a system which does not provide the function to
Telnet); yaitu sebuah sistem yang tidak menyediakan fungsi
local users need not provide it to network users and may treat
the lokal pengguna tidak perlu memberikan kepada pengguna jaringan dan
mungkin memperlakukan
standard representation for the function as a No-operation.
standar perwakilan untuk berfungsi sebagai No-operasi. On Di
the other hand, a system which does provide the function to a
sisi lain, sebuah sistem yang menyediakan fungsi yang
local user is obliged to provide the same function to a network
user lokal berkewajiban untuk menyediakan fungsi yang sama ke jaringan
user who transmits the standard representation for the function.
pengguna yang transmit standar untuk fungsi perwakilan.

Interrupt Process (IP) Proses interrupt (IP)

Many systems provide a function which suspends, interrupts,


Banyak sistem menyediakan fungsi yang suspends, interrupts,
aborts, or terminates the operation of a user process.
aborts, atau terminates pengoperasian pengguna proses. This Ini
function is frequently used when a user believes his process
is Fungsi ini sering digunakan ketika seseorang percaya kepada proses
in an unending loop, or when an unwanted process has been tak
henti-hentinya di sebuah lingkaran, atau jika proses yang tidak
diinginkan telah
inadvertently activated. diaktifkan secara tidak sengaja. IP
is the standard representation for IP adalah standar untuk perwakilan
invoking this function. invoking fungsi ini. It should be
noted by implementers Perlu dicatat oleh pelaksana
that IP may be required by other protocols which use TELNET,
IP yang mungkin diperlukan oleh protokol lainnya yang menggunakan
telnet,
and therefore should be implemented if these other protocols
dan karena itu harus dilakukan jika ini protokol lainnya
are to be supported. harus didukung.

Abort Output (AO) Batalkan Output (AO)

Many systems provide a function which allows a process, which


Banyak sistem menyediakan fungsi yang memungkinkan suatu proses yang
is generating output, to run to completion (or to reach the
adalah menghasilkan output, untuk dijalankan untuk menyelesaikan (atau
untuk mencapai
same stopping point it would reach if running to completion)
menghentikan sama akan mencapai titik jika berjalan ke selesai)
but without sending the output to the user's terminal. tetapi
tanpa mengirimkan output ke pengguna terminal.
Further, this function typically clears any output already
Lebih jauh lagi, fungsi ini biasanya ada keluaran sudah membersihkan
produced but not yet actually printed (or displayed) on the
diproduksi tetapi belum benar-benar dicetak (atau ditampilkan) pada
user's terminal. pengguna terminal. AO is the standard
representation for AO adalah standard untuk perwakilan
invoking this function. invoking fungsi ini. For example,
some subsystem might Misalnya, beberapa subsistem mungkin
normally accept a user's command, send a long text string to
biasanya menerima perintah pengguna, mengirim panjang string teks ke
the user's terminal in response, and finally signal readiness
pengguna terminal dalam respon, dan akhirnya sinyal kesiapan
to accept the next command by sending a "prompt" character
untuk menerima perintah selanjutnya dengan mengirimkan "prompt"
karakter
(preceded by <CR><LF>) to the user's terminal. (diawali oleh
<CR> <LF>) ke pengguna terminal. If the AO were Jika telah AO
received during the transmission of the text string, a
diterima selama transmisi teks string, yang
reasonable implementation would be to suppress the remainder
of wajar pelaksanaan akan ke menu sisa dari
the text string, but transmit the prompt character and the
teks string, tetapi mengirimkan karakter yang tepat dan
preceding <CR><LF>. <CR> <LF> sebelumnya. (This is possibly
in distinction to the (Ini mungkin dalam perbezaan dengan
action which might be taken if an IP were received; the IP
tindakan yang mungkin diambil jika IP diterima; IP
might cause suppression of the text string and an exit from
the mungkin menyebabkan penindasan dari teks string dan keluar dari
subsystem.) subsistem.)

It should be noted, by server systems which provide this


Perlu dicatat, oleh server yang menyediakan sistem ini
function, that there may be buffers external to the system (in
fungsi, yang mungkin ada buffer luar sistem (dalam

RFC 854 May


1983 RFC 854 Mei 1983

the network and the user's local host) which should be


cleared; jaringan dan pengguna lokal host) yang harus dihapus;
the appropriate way to do this is to transmit the "Synch"
cara yang tepat untuk melakukannya adalah menyampaikan "Synch"
signal (described below) to the user system. sinyal
(dijelaskan di bawah) ke pengguna sistem.

Are You There (AYT) Apakah Anda Tidak (AYT)

Many systems provide a function which provides the user with


Banyak sistem menyediakan fungsi yang menyediakan pengguna dengan
some visible (eg, printable) evidence that the system is
beberapa terlihat (misalnya, dicetak) bukti bahwa sistem
still up and running. atas dan masih berjalan. This function
may be invoked by the user Fungsi ini mungkin invoked oleh pengguna
when the system is unexpectedly "silent" for a long time,
ketika sistem mendadak "diam" untuk waktu yang lama,
because of the unanticipated (by the user) length of a karena
tak (oleh user) yang panjang
computation, an unusually heavy system load, etc. AYT is the
komputasi, yang luar biasa berat beban sistem, dll AYT adalah
standard representation for invoking this function. invoking
representasi standar untuk fungsi ini.

Erase Character (EC) Menghapus karakter (EC)

Many systems provide a function which deletes the last Banyak


sistem menyediakan fungsi yang menghapus terakhir
preceding undeleted character or "print position"* from the
sebelumnya dihapus karakter atau "mencetak posisi" * dari
stream of data being supplied by the user. aliran data yang
diberikan oleh pengguna. This function is Fungsi ini
typically used to edit keyboard input when typing mistakes are
biasanya digunakan untuk mengedit keyboard input ketika ada kesalahan
made. membuat. EC is the standard representation for invoking
this Komisi Eropa adalah representasi standar untuk invoking ini
function. fungsi.

*NOTE: A "print position" may contain several characters


* NOTE: A "mencetak posisi" mungkin berisi beberapa karakter
which are the result of overstrikes, or of sequences such
as yang merupakan hasil dari overstrikes, atau sequence seperti
<char1> BS <char2>... <char1> BS <char2> ...

Erase Line (EL) Menghapus Line (EL)

Many systems provide a function which deletes all the data in


Banyak sistem menyediakan sebuah fungsi yang akan menghapus semua data
dalam
the current "line" of input. yang sedang "baris" dari input.
This function is typically used Fungsi ini biasanya digunakan
to edit keyboard input. untuk mengedit keyboard input. EL is
the standard representation for EL adalah standard untuk perwakilan
invoking this function. invoking fungsi ini.

THE TELNET "SYNCH" SIGNAL THE Telnet "SYNCH" SIGNAL

Most time-sharing systems provide mechanisms which allow a


Sebagian besar waktu berbagi sistem menyediakan mekanisme yang
memungkinkan sebuah
terminal user to regain control of a "runaway" process; the IP
and kembali ke terminal pengguna kontrol dari "pelarian" proses; IP dan
AO functions described above are examples of these mechanisms.
AO fungsi di atas adalah contoh dari mekanisme ini.
Such systems, when used locally, have access to all of the
signals Sistem seperti itu, bila digunakan secara lokal, memiliki akses
ke seluruh sinyal
supplied by the user, whether these are normal characters or
diberikan oleh user, apakah ini normal atau karakter
special "out of band" signals such as those supplied by the
khusus "dari band" sinyal seperti yang diberikan oleh
teletype "BREAK" key or the IBM 2741 "ATTN" key. teletip "break"
kunci atau IBM 2741 "ATTN" tombol. This is not Hal ini tidak
necessarily true when terminals are connected to the system
tentu benar bila terminal yang terhubung ke sistem
through the network; the network's flow control mechanisms may
melalui jaringan; jaringan dari arus mekanisme kontrol Mei
cause such a signal to be buffered elsewhere, for example in the
menyebabkan suatu sinyal yang akan buffer tempat lain, misalnya di
user's host. user host.

RFC 854 May


1983 RFC 854 Mei 1983

To counter this problem, the TELNET "Synch" mechanism is Untuk


counter masalah ini, maka Telnet "Synch" mekanisme
introduced. diperkenalkan. A Synch signal consists of a TCP
Urgent notification, J Synch sinyal terdiri dari TCP Urgent
pemberitahuan,
coupled with the TELNET command DATA MARK. digabungkan dengan
telnet perintah DATA MARK. The Urgent Yang Urgent
notification, which is not subject to the flow control pertaining
pemberitahuan yang tidak tunduk pada alur kontrol berhubungan
to the TELNET connection, is used to invoke special handling of
sambungan ke Telnet, digunakan untuk memohon penanganan khusus
the data stream by the process which receives it. data stream
oleh proses yang menerimanya. In this mode, Dalam mode ini,
the data stream is immediately scanned for "interesting" signals
data stream segera discan untuk "menarik" sinyal
as defined below, discarding intervening data. ditetapkan
sebagai berikut, campur discarding data. The TELNET command Perintah di
telnet
DATA MARK (DM) is the synchronizing mark in the data stream which
DATA MARK (DM) adalah proses sinkronisasi dilakukan tandai dalam data
stream yang
indicates that any special signal has already occurred and the
menunjukkan bahwa sinyal khusus yang telah terjadi dan
recipient can return to normal processing of the data stream.
penerima dapat kembali normal pengolahan data stream.

The Synch is sent via the TCP send operation with the Urgent
Synch yang akan dikirim melalui TCP mengirim operasi dengan Urgent
flag set and the DM as the last (or only) data octet.
menetapkan bendera dan terakhir sebagai DM (atau tunggal) octet data.

When several Synchs are sent in rapid succession, the Urgent


Ketika beberapa Synchs cepat dikirim dalam suksesi, yang Urgent
notifications may be merged. pemberitahuan Mei terserap. It is
not possible to count Urgents Adalah tidak mungkin untuk menghitung
Urgents
since the number received will be less than or equal the number
karena jumlah yang diterima akan lebih kecil atau sama dengan nomor
sent. terkirim. When in normal mode, a DM is a no operation;
when in urgent Bila dalam modus normal, DM yang ada adalah operasi;
ketika dalam mendesak
mode, it signals the end of the urgent processing. mode, ini
sinyal akhir pemrosesan mendesak.

If TCP indicates the end of Urgent data before the DM is


found, Jika TCP menunjukkan akhir Urgent data sebelum DM ditemukan,
TELNET should continue the special handling of the data stream
Telnet harus melanjutkan khusus penanganan data stream
until the DM is found. sampai DM ditemukan.
If TCP indicates more Urgent data after the DM is found, it
can Jika TCP menunjukkan lebih banyak data Urgent setelah DM ditemukan,
maka dapat
only be because of a subsequent Synch. hanya karena adanya
Synch berikutnya. TELNET should continue Telnet harus terus
the special handling of the data stream until another DM is
yang khusus menangani data yang mengalir hingga DM adalah
found. menemukan.

"Interesting" signals are defined to be: the TELNET standard


"Menarik" sinyal didefinisikan menjadi: Telnet yang standar
representations of IP, AO, and AYT (but not EC or EL); the local
pernyataan dari IP, AO, dan AYT (namun tidak EC atau EL); lokal
analogs of these standard representations (if any); all other
analogs standar pernyataan ini (jika ada); semua
TELNET commands; other site-defined signals which can be acted on
Telnet perintah; lainnya situs ditetapkan sinyal yang dapat bertindak
atas
without delaying the scan of the data stream. tanpa penundaan
yang memindai data stream.

Since one effect of the SYNCH mechanism is the discarding of


Sejak satu efek dari SYNCH mekanisme discarding adalah dari
essentially all characters (except TELNET commands) between the
dasarnya semua karakter (kecuali perintah Telnet) antara
sender of the Synch and its recipient, this mechanism is
specified Synch dari pengirim dan penerima, ini adalah mekanisme yang
ditetapkan
as the standard way to clear the data path when that is desired.
standar sebagai cara untuk menghapus data apabila jalur yang
diinginkan.
For example, if a user at a terminal causes an AO to be
Misalnya, jika pengguna di terminal yang menyebabkan AO yang akan
transmitted, the server which receives the AO (if it provides
that dikirim, server yang menerima AO (jika menyatakan bahwa
function at all) should return a Synch to the user. berfungsi
sama sekali) yang harus kembali ke Synch pengguna.

Finally, just as the TCP Urgent notification is needed at the


Akhirnya, sama seperti TCP Urgent pemberitahuan yang diperlukan di
TELNET level as an out-of-band signal, so other protocols which
Telnet tingkat sebagai out-of-band sinyal, sehingga protokol yang
lainnya
make use of TELNET may require a TELNET command which can be
menggunakan telnet mungkin memerlukan telnet perintah yang dapat
viewed as an out-of-band signal at a different level. dilihat
sebagai out-of-band sinyal pada tingkat yang berbeda.

RFC 854 May


1983 RFC 854 Mei 1983

By convention the sequence [IP, Synch] is to be used as such a


Konvensi oleh urutan [IP, Synch] yang akan digunakan sebagai suatu
signal. sinyal. For example, suppose that some other protocol,
which uses Misalnya, bahwa beberapa protokol lainnya, yang menggunakan
TELNET, defines the character string STOP analogously to the
Telnet, mendefinisikan karakter string STOP analogously ke
TELNET command AO. Telnet perintah AO. Imagine that a user of
this protocol wishes a Bayangkan bahwa pengguna ini protokol yang ingin
server to process the STOP string, but the connection is blocked
server untuk memproses STOP string, tetapi sambungan ini akan diblokir
because the server is processing other commands. karena server
pemrosesan perintah lainnya. The user should Pengguna harus
instruct his system to: menginstruksikan kepada sistem ke:

1. Send the TELNET IP character; Kirim telnet IP karakter;

2. Send the TELNET SYNC sequence, that is: Kirim Telnet SINK
urutan, yaitu:

Send the Data Mark (DM) as the only character Kirim Data
Mark (DM) sebagai satu-satunya karakter
in a TCP urgent mode send operation. dalam TCP mendesak
mengirim modus operasi.

3. Send the character string STOP; and Kirim STOP karakter


string, dan

4. Send the other protocol's analog of the TELNET DM, if any.


Kirim protokol lainnya dari analog dari Telnet DM, jika ada.

The user (or process acting on his behalf) must transmit the
Pengguna (atau proses yang pada nama) yang harus mengirimkan
TELNET SYNCH sequence of step 2 above to ensure that the TELNET
IP Telnet SYNCH urutan langkah 2 di atas untuk memastikan bahwa telnet
IP
gets through to the server's TELNET interpreter. mendapatkan
melalui ke server Telnet juru.

The Urgent should wake up the TELNET process; the IP should


Urgent yang harus bangun di telnet proses; IP harus
wake up the next higher level process. bangun yang lebih
tinggi tingkat proses selanjutnya.

THE NVT PRINTER AND KEYBOARD THE NVT PRINTER DAN KEYBOARD

The NVT printer has an unspecified carriage width and page length
NVT printer yang memiliki gerbong yg tak ditentukan lebar dan panjang
halaman
and can produce representations of all 95 USASCII graphics (codes
dan dapat menghasilkan pernyataan semua grafis 95 USASCII (kode
32 through 126). 32 sampai 126). Of the 33 USASCII control codes
(0 through 31 Dari 33 USASCII kode kontrol (0 sampai 31
and 127), and the 128 uncovered codes (128 through 255), the dan
127), dan 128 kode terbongkar (128 sampai 255), maka
following have specified meaning to the NVT printer: berikut ini
telah ditentukan arti ke printer NVT:

NAME CODE MEANING NAMA KODE arti

NULL (NUL) 0 No Operation NULL (NUL) 0


Tidak Operasi
Line Feed (LF) 10 Moves the printer to the Line
Feed (LF) 10 Moves ke printer
next print line, keeping the
mencetak baris berikutnya, mempertahankan
same horizontal position. sama
posisi horisontal.
Carriage Return (CR) 13 Moves the printer to the left
Carriage Return (CR) 13 Moves printer ke kiri
margin of the current line.
margin pada baris.

RFC 854 May


1983 RFC 854 Mei 1983

In addition, the following codes shall have defined, but not


Selain itu, kode berikut harus ditentukan, tetapi tidak
required, effects on the NVT printer. diperlukan, efek pada
printer NVT. Neither end of a TELNET Baik akhir Telnet
connection may assume that the other party will take, or will
sambungan Mei menganggap bahwa pihak lain akan berlangsung, atau akan
have taken, any particular action upon receipt or transmission
telah diambil, apapun tindakan tertentu setelah menerima atau transmisi
of these: ini:

BELL (BEL) 7 Produces an audible or BELL


(Bel) 7 memproduksi atau yang didengar
visible signal (which does
terlihat sinyal (yang tidak
NOT move the print head).
TIDAK memindahkan mencetak kepala).
Back Space (BS) 8 Moves the print head one
Kembali Ruang Angkasa (BS) 8 Moves cetak satu kepala
character position towards
karakter terhadap posisi
the left margin. margin kiri.
Horizontal Tab (HT) 9 Moves the printer to the
Horizontal tab (HT) 9 Moves ke printer
next horizontal tab stop.
berikutnya horisontal tab berhenti.
It remains unspecified how
Tetap cara yg tak ditentukan
either party determines or
salah satu pihak atau menentukan
establishes where such tab
mendirikan tempat seperti tab
stops are located. berhenti
berada.
Vertical Tab (VT) 11 Moves the printer to the Tab
vertikal (VT) 11 Moves ke printer
next vertical tab stop.
berikutnya vertikal tab berhenti. It Ini
remains unspecified how tetap
cara yg tak ditentukan
either party determines or
salah satu pihak atau menentukan
establishes where such tab
mendirikan tempat seperti tab
stops are located. berhenti
berada.
Form Feed (FF) 12 Moves the printer to the top
Formulir Feed (FF) 12 Moves printer ke atas
of the next page, keeping di
halaman berikutnya, dengan tetap
the same horizontal position.
posisi horisontal yang sama.

All remaining codes do not cause the NVT printer to take any
Semua sisa kode tidak menyebabkan NVT printer untuk mengambil
action. tindakan.

The sequence "CR LF", as defined, will cause the NVT to be


Urutan "CR LF", seperti yang ditetapkan, akan menyebabkan NVT yang akan
positioned at the left margin of the next print line (as would,
berada di sebelah kiri margin yang mencetak baris berikutnya (seperti
akan,
for example, the sequence "LF CR"). misalnya, urutan "LF CR").
However, many systems and Namun, banyak sistem dan
terminals do not treat CR and LF independently, and will have to
terminal tidak memperlakukan CR LF dan mandiri, dan perlu
go to some effort to simulate their effect. pergi ke beberapa
usaha untuk mensimulasikan efek mereka. (For example, some (Misalnya,
beberapa
terminals do not have a CR independent of the LF, but on such
terminal tidak memiliki CR independen dari LF, namun pada
terminals it may be possible to simulate a CR by backspacing.)
terminal itu dapat dibuat untuk mensimulasikan sebuah CR oleh
backspacing.)
Therefore, the sequence "CR LF" must be treated as a single "new
Oleh karena itu, urutan "CR LF" harus diperlakukan sebagai sebuah "baru
line" character and used whenever their combined action is line
"dan karakter yang digunakan setiap kali tindakan mereka adalah
gabungan
intended; the sequence "CR NUL" must be used where a carriage
dimaksudkan; urutan "CR NUL" harus digunakan di mana gerbong
return alone is actually desired; and the CR character must be
kembali sendiri sebenarnya diinginkan, dan karakter CR harus
avoided in other contexts. dihindari dalam konteks lainnya. This
rule gives assurance to systems Peraturan ini memberikan jaminan untuk
sistem
which must decide whether to perform a "new line" function or a
yang harus memutuskan apakah akan melakukan "baris baru" fungsi atau
multiple-backspace that the TELNET stream contains a character
multi-mundur bahwa telnet stream berisi karakter
following a CR that will allow a rational decision. mengikuti CR
yang akan memungkinkan sebuah keputusan rasional.

Note that "CR LF" or "CR NUL" is required in both directions


Perlu diketahui bahwa "CR LF" atau "CR NUL" diperlukan di kedua arah

RFC 854 May


1983 RFC 854 Mei 1983

(in the default ASCII mode), to preserve the symmetry of the


(dalam modus standar ASCII), untuk menjaga simetri dari
NVT model. NVT model. Even though it may be known in some
situations Meski mungkin akan diketahui dalam beberapa situasi
(eg, with remote echo and suppress go ahead options in
(misalnya dengan echo terpencil dan memberangus maju dalam pilihan
effect) that characters are not being sent to an actual efek)
yang menjadi karakter yang tidak dikirim ke aktual
printer, nonetheless, for the sake of consistency, the
protocol printer, namun, untuk kepentingan konsistensi, protokol
requires that a NUL be inserted following a CR not followed by
mengharuskan seorang NUL akan terpasang berikut CR yang tidak diikuti
oleh
a LF in the data stream. LF dalam sebuah data stream. The
converse of this is that a NUL Yang berbicara ini adalah bahwa NUL
received in the data stream after a CR (in the absence of
yang diterima dalam data stream setelah CR (karena ketiadaan
options negotiations which explicitly specify otherwise)
should Pilihan negosiasi yang secara eksplisit menentukan lain) harus
be stripped out prior to applying the NVT to local character
dipreteli keluar sebelum menerapkan NVT setempat karakter
set mapping. menetapkan pemetaan.

The NVT keyboard has keys, or key combinations, or key sequences,


NVT yang memiliki tombol keyboard, atau kombinasi tombol, atau tombol
sequence,
for generating all 128 USASCII codes. untuk membuat semua 128
USASCII kode. Note that although many Perlu diketahui bahwa meskipun
banyak
have no effect on the NVT printer, the NVT keyboard is capable of
tidak berpengaruh terhadap NVT printer, keyboard yang NVT mampu
generating them. pendapatan mereka.

In addition to these codes, the NVT keyboard shall be capable of


Selain kode ini, maka NVT keyboard akan mampu
generating the following additional codes which, except as noted,
menghasilkan kode berikut ini tambahan yang, kecuali seperti yang
tercantum,
have defined, but not reguired, meanings. telah ditetapkan,
namun tidak reguired, arti. The actual code Yang sebenarnya kode
assignments for these "characters" are in the TELNET Command
tugas untuk "karakter" di Telnet Command
section, because they are viewed as being, in some sense, generic
seksi, karena mereka dilihat sebagai, dalam beberapa rasa, generic
and should be available even when the data stream is interpreted
dan harus tersedia bahkan ketika data stream yang diinterpretasikan
as being some other character set. sebagai beberapa set karakter
lainnya.

Synch

This key allows the user to clear his data path to the other
Tombol ini memungkinkan pengguna untuk menghapus data-Nya ke jalan yang
lain
party. pesta. The activation of this key causes a DM (see
command Diaktifkan ini penyebab utama yang DM (lihat perintah
section) to be sent in the data stream and a TCP Urgent
bagian) yang akan dikirim dalam data stream dan TCP Urgent
notification is associated with it. pemberitahuan terkait
dengannya. The pair DM-Urgent is to Pasangan DM-Urgent adalah untuk
have required meaning as defined previously. diperlukan
memiliki arti sebagai ditetapkan sebelumnya.

Break (BRK) Break (BRK)

This code is provided because it is a signal outside the Kode


ini diberikan karena merupakan sinyal di luar
USASCII set which is currently given local meaning within many
USASCII menetapkan yang saat ini diberikan lokal dalam arti banyak
systems. sistem. It is intended to indicate that the Break
Key or the Hal ini dimaksudkan untuk menunjukkan bahwa Break kunci atau
Attention Key was hit. Perhatian utama adalah hit. Note,
however, that this is intended to Namun, perlu diketahui bahwa ini
dimaksudkan untuk
provide a 129th code for systems which require it, not as a
129. memberikan kode untuk sistem yang memerlukannya, bukan sebagai
synonym for the IP standard representation. sinonim untuk
standar IP perwakilan.

Interrupt Process (IP) Proses interrupt (IP)

Suspend, interrupt, abort or terminate the process to which


the Menangguhkan, mengganggu, atau batalkan menghentikan proses dimana
NVT is connected. NVT terhubung. Also, part of the out-of-
band signal for Juga, bagian dari out-of-band untuk sinyal
other protocols which use TELNET. lainnya yang menggunakan
protokol Telnet.

RFC 854 May


1983 RFC 854 Mei 1983

Abort Output (AO) Batalkan Output (AO)

Allow the current process to (appear to) run to completion,


but Mengizinkan proses untuk saat ini (tampak) dijalankan untuk
menyelesaikan, tapi
do not send its output to the user. tidak mengirimkan output-
nya ke pengguna. Also, send a Synch to the Selain itu, kirimkan ke
Synch
user. pengguna.

Are You There (AYT) Apakah Anda Tidak (AYT)

Send back to the NVT some visible (ie, printable) evidence


Mengirim kembali ke beberapa NVT terlihat (misalnya, dicetak) bukti
that the AYT was received. AYT yang telah diterima.

Erase Character (EC) Menghapus karakter (EC)

The recipient should delete the last preceding undeleted


Penerima harus menghapus terakhir sebelum dihapus
character or "print position" from the data stream. karakter
atau "mencetak posisi" dari data stream.

Erase Line (EL) Menghapus Line (EL)


The recipient should delete characters from the data stream
Penerima harus menghapus karakter dari data stream
back to, but not including, the last "CR LF" sequence sent
over kembali, namun tidak termasuk yang terakhir "CR LF" dikirim
melalui urutan
the TELNET connection. Telnet yang sambungan.

The spirit of these "extra" keys, and also the printer format
Semangat ini "ekstra" kunci, dan juga printer format
effectors, is that they should represent a natural extension of
effectors, adalah bahwa mereka harus mewakili alam perpanjangan
the mapping that already must be done from "NVT" into "local".
pemetaan yang sudah harus dilakukan dari "NVT" menjadi "lokal".
Just as the NVT data byte 68 (104 octal) should be mapped into
Sama seperti NVT data byte 68 (104 oktal) harus dipetakan ke dalam
whatever the local code for "uppercase D" is, so the EC character
apa lokal untuk kode "D uppercase" itu, maka EC karakter
should be mapped into whatever the local "Erase Character" harus
dipetakan ke dalam apa lokal "Hapus Karakter"
function is. fungsi. Further, just as the mapping for 124 (174
octal) is Selanjutnya, sama seperti pemetaan untuk 124 (174 octal)
adalah
somewhat arbitrary in an environment that has no "vertical bar"
agak acak di lingkungan yang tidak memiliki "bar vertikal"
character, the EL character may have a somewhat arbitrary mapping
karakter, EL Mei memiliki karakter agak acak pemetaan
(or none at all) if there is no local "Erase Line" facility.
(atau tidak ada sama sekali) jika tidak ada lokal "Hapus Baris"
fasilitas.
Similarly for format effectors: if the terminal actually does
Demikian pula untuk format effectors: jika terminal benar-benar tidak
have a "Vertical Tab", then the mapping for VT is obvious, and
memiliki "Tab Vertikal", maka untuk pemetaan VT adalah jelas, dan
only when the terminal does not have a vertical tab should the
hanya bila terminal tidak memiliki vertikal tab jika
effect of VT be unpredictable. efek VT akan unpredictable.

TELNET COMMAND STRUCTURE Telnet Perintah STRUKTUR

All TELNET commands consist of at least a two byte sequence: the


Semua perintah Telnet terdiri dari setidaknya dua byte urutan: the
"Interpret as Command" (IAC) escape character followed by the code
"Interpret Command sebagai" (IAC) karakter escape diikuti dengan kode
for the command. untuk perintah. The commands dealing with option
negotiation are Perintah yang berkaitan dengan negosiasi adalah pilihan
three byte sequences, the third byte being the code for the option
tiga urutan byte, byte ketiga adalah kode untuk pilihan
referenced. dirujuk. This format was chosen so that as more
comprehensive use Format ini terpilih sebagai sehingga lebih
komprehensif menggunakan
of the "data space" is made -- by negotiations from the basic NVT,
of of the "data ruang" dibuat - oleh negosiasi dari dasar NVT, dari
course -- collisions of data bytes with reserved command values will
saja - collisions data byte dengan nilai-nilai akan perintah reserved
be minimized, all such collisions requiring the inconvenience, and
harus diminimalkan, semua memerlukan collisions ketidaknyamanannya, dan
RFC 854 May
1983 RFC 854 Mei 1983

inefficiency, of "escaping" the data bytes into the stream.


ketidakefisienan, yang "keluar" byte data ke dalam sungai. With the
Dengan
current set-up, only the IAC need be doubled to be sent as data, and
set-up saat ini, hanya perlu IAC digandakan untuk dikirim sebagai data,
dan
the other 255 codes may be passed transparently. 255 kode yang lain
mungkin akan lulus transparan.

The following are the defined TELNET commands. Berikut ini adalah
perintah Telnet ditetapkan. Note that these codes Perlu diketahui bahwa
kode ini
and code sequences have the indicated meaning only when immediately
dan kode sequence memiliki arti hanya bila ditunjukkan langsung
preceded by an IAC. diawali oleh IAC.

NAME CODE MEANING NAMA KODE arti

SE 240 End of subnegotiation parameters. SE


240 Akhir subnegotiation parameter.
NOP 241 No operation. NOP 241 Tidak ada
operasi.
Data Mark 242 The data stream portion of a Synch.
Mark 242 data Data stream porsi yang Synch.
This should always be accompanied Ini
harus selalu disertai
by a TCP Urgent notification. oleh
TCP Urgent pemberitahuan.
Break 243 NVT character BRK. NVT break 243
karakter BRK.
Interrupt Process 244 The function IP. Proses interrupt 244
Fungsi IP.
Abort output 245 The function AO. Batalkan output 245
Fungsi AO.
Are You There 246 The function AYT. Apakah Anda Ada 246
Fungsi AYT.
Erase character 247 The function EC. Menghapus karakter
247 Fungsi Komisi Eropa.
Erase Line 248 The function EL. Menghapus Line 248
Fungsi EL.
Go ahead 249 The GA signal. Go ahead 249 The GA
sinyal.
SB 250 Indicates that what follows is SB 250
Menunjukkan bahwa yang berikut adalah
subnegotiation of the indicated
subnegotiation yang ditunjukkan
option. pilihan.
WILL (option code) 251 Indicates the desire to begin AKAN
(pilihan kode) 251 Menunjukkan keinginan untuk memulai
performing, or confirmation that
melakukan, atau konfirmasi bahwa
you are now performing, the Anda
sedang melakukan, yang
indicated option. ditunjukkan
pilihan.
WON'T (option code) 252 Indicates the refusal to perform,
WON'T (pilihan kode) 252 Menunjukkan penolakan untuk melakukan,
or continue performing, the atau
terus melakukan, yang
indicated option. ditunjukkan
pilihan.
DO (option code) 253 Indicates the request that the DO
(pilihan kode) 253 Menunjukkan bahwa permintaan
other party perform, or pihak lain
melakukan, atau
confirmation that you are expecting
konfirmasi bahwa Anda mengharapkan
the other party to perform, the pihak
lain untuk melakukan, yang
indicated option. ditunjukkan
pilihan.
DON'T (option code) 254 Indicates the demand that the DON'T
(pilihan kode) 254 Menunjukkan bahwa kebutuhan
other party stop performing, pihak
lain berhenti melakukan,
or confirmation that you are no atau
konfirmasi bahwa Anda tidak
longer expecting the other party lagi
mengharapkan pihak lain
to perform, the indicated option.
untuk melakukan, yang ditunjukkan pilihan.
IAC 255 Data Byte 255. IAC 255 Byte Data 255.

RFC 854 May


1983 RFC 854 Mei 1983

CONNECTION ESTABLISHMENT CONNECTION pendirian

The TELNET TCP connection is established between the user's port U


and the server's port L. The server listens on its well known port
L
for such connections. Since a TCP connection is full duplex and
identified by the pair of ports, the server can engage in many
simultaneous connections involving its port L and different user
ports U.

Port Assignment

When used for remote user access to service hosts (ie, remote
terminal access) this protocol is assigned server port 23
(27 octal). That is L=23.

Anda mungkin juga menyukai