The Telnet protocol is defined by several RFC’s.
This page lists all RFC’s dealing with the Telnet protocol and its extensions (such as IBM TN3270, IBM TN5250, KERBEROS authentication and more):
RFC's listThe main ones are RFC854-RFC861, and especially STD8 – RFC854 and RFC855.
Here are the main ones, in chronological order: