<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies.. --> <!--X-From-R13: hozvgpurNzpf.qerkry.rqh (Pehpr [vgpurare) --> <!--X-Date: Thu, 1 Oct 1998 06:40:58 -0700 --> <!--X-Message-Id: 199810011337.JAA04814#queen,mcs.drexel.edu --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.LNX.3.96.980930225604.15041A-100000#shamen,cyberhighway.net --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:ubmitche#mcs,drexel.edu"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00004.html">Previous</a> | <a href="msg00006.html">Next</a> ] Thread: [ <a href="msg00004.html">Previous</a> | <a href="msg00006.html">Next</a> ] Index: [ <A HREF="author.html#00005">Author</A> | <A HREF="#00005">Date</A> | <A HREF="thread.html#00005">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Subject</em>: [MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</LI> <LI><em>From</em>: <A HREF="mailto:ubmitche#mcs,drexel.edu">ubmitche#mcs,drexel.edu</A> (Bruce Mitchener)</LI> <LI><em>Date</em>: Thu, 1 Oct 1998 09:37:16 -0400 (EDT)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> > Could someone point me towards some documentation on TELNET > protocols and perhaps a snippet of example code? I want to > at least implement echo-off/on for the passwords... > > Short of that, I'll just dive into someone else's mud source, > but I'd wrather go straight to the official docs if possible.. This is all in the telnet RFCs. In this case, you are looking for <A HREF="http://www.pmg.lcs.mit.edu/cgi-bin/rfc/view?857">http://www.pmg.lcs.mit.edu/cgi-bin/rfc/view?857</A> A search for 'telnet' and 'IAC' in the RFCs will yield a number of documents that may be of interest: <A HREF="http://www.pmg.lcs.mit.edu/cgi-bin/rfc/find?pattern=telnet+IAC">http://www.pmg.lcs.mit.edu/cgi-bin/rfc/find?pattern=telnet+IAC</A> We do echo on/off control in Cold by writing a buffer to the connection. To turn echo off: `[255, 251, 1, 0, 13] To turn echo on: `[255, 252, 1, 0, 13] Where these buffers are arrays of unsigned 8 bit values for characters. The process of building a state machine for handling telnet IAC sequences is covered in at least one of the books on networking mentioned so often on here. The copies I use are at work, so I can't look to see which one it is that has the information right now. Hope this makes sense, - Bruce -- Bruce Mitchener, Jr. ubmitche#mcs,drexel.edu Vote Monarchist! (licensed from Black Unicorn <unicorn#schloss,li>) Ego sum rex romanus, et super grammatica. </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00004" HREF="msg00004.html">[MUD-Dev] Telnet Echo OFF/ON commands and other thingies..</A></STRONG> <UL><LI><EM>From:</EM> Ben Greear <greear#cyberhighway,net></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00004.html">[MUD-Dev] Telnet Echo OFF/ON commands and other thingies..</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00006.html">[MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00004.html">[MUD-Dev] Telnet Echo OFF/ON commands and other thingies..</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00006.html">[MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00005"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00005"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>[MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <LI><strong><A NAME="00017" HREF="msg00017.html">[MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 02 Oct 1998, 05:25 GMT </LI> <LI><strong><A NAME="00019" HREF="msg00019.html">[MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</A></strong>, James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Fri 02 Oct 1998, 10:19 GMT </LI> </ul> <LI><strong><A NAME="00020" HREF="msg00020.html">[MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 02 Oct 1998, 14:05 GMT </LI> </ul> </LI> <LI><strong><A NAME="00004" HREF="msg00004.html">[MUD-Dev] Telnet Echo OFF/ON commands and other thingies..</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Thu 01 Oct 1998, 06:02 GMT <UL> <LI><strong><A NAME="00005" HREF="msg00005.html">[MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</A></strong>, Bruce Mitchener <a href="mailto:ubmitche#mcs,drexel.edu">ubmitche#mcs,drexel.edu</a>, Thu 01 Oct 1998, 13:40 GMT </LI> <LI><strong><A NAME="00006" HREF="msg00006.html">[MUD-Dev] Re: Telnet Echo OFF/ON commands and other thingies..</A></strong>, Marc Bowden <a href="mailto:ryumo#merit,edu">ryumo#merit,edu</a>, Thu 01 Oct 1998, 14:03 GMT </LI> </UL> </LI> <LI><strong><A NAME="00003" HREF="msg00003.html">[MUD-Dev] Storytelling vs. Simulationist (Was Re: Room descriptions)</A></strong>, ApplePiMan <a href="mailto:ApplePiMan#aol,com">ApplePiMan#aol,com</a>, Thu 01 Oct 1998, 05:45 GMT <UL> <LI><strong><A NAME="00013" HREF="msg00013.html">[MUD-Dev] Re: Storytelling vs. Simulationist (Was Re: Room descriptions)</A></strong>, Brandon J. Rickman <a href="mailto:ashes#pc4,zennet.com">ashes#pc4,zennet.com</a>, Fri 02 Oct 1998, 03:56 GMT <UL> <LI><strong><A NAME="00024" HREF="msg00024.html">[MUD-Dev] Re: Storytelling vs. Simulationist (Was Re: Room descriptions)</A></strong>, Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Fri 02 Oct 1998, 17:16 GMT </LI> </UL> </LI> </UL> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>