Commit Graph

170 Commits

Author SHA1 Message Date
Sean Middleditch 4a15604d10 added libtelnet_printf2 which does CRLF automagic stuff 2009-03-16 17:10:58 -04:00
Sean Middleditch 4a1240e2a7 remove AUTO_CRLF flag, realized it is conceptually broken 2009-03-16 17:01:35 -04:00
Sean Middleditch 97a8cb25b9 make API const-safe 2009-03-16 16:51:41 -04:00
Sean Middleditch c337ba6bca add AUTO_CRLF flag 2009-03-16 16:47:27 -04:00
Sean Middleditch a7a6b31e1c added super simple chat server 2009-03-16 12:49:50 -04:00
Sean Middleditch d58f49f03a add printf data sender 2009-03-16 12:49:35 -04:00
Sean Middleditch ceeeddaff3 dont bail on connetion reset return on send() 2009-03-16 11:27:38 -04:00
Sean Middleditch 225c229e9a build/dist updates 2009-03-16 01:42:33 -04:00
Sean Middleditch 2b4bfc4f79 minor cleanup, added libtelnet_send_telopt() 2009-03-16 01:25:52 -04:00
Sean Middleditch 5a458548ee Merge branch 'master' into rfc1143 2009-03-16 01:12:59 -04:00
Sean Middleditch e68511b144 fix receiving end of MCCP2 2009-03-16 01:12:50 -04:00
Sean Middleditch 3df17f91d6 fix receiving end of MCCP2 2009-03-16 01:12:16 -04:00
Sean Middleditch 91c2b2d960 remove completed RFC1143 TODO item 2009-03-16 01:11:03 -04:00
Sean Middleditch ebc96f7660 remove redundant check 2009-03-16 01:09:41 -04:00
Sean Middleditch 823bc00ab9 add fix lost in conflict/merge from master 2009-03-16 01:09:26 -04:00
Sean Middleditch 8b78896ac1 implement request side of RFC1143 2009-03-16 01:06:27 -04:00
Sean Middleditch 59ef42ceed Merge branch 'master' into rfc1143 2009-03-16 00:58:07 -04:00
Sean Middleditch 4611d911d5 rather critical fix 2009-03-16 00:53:57 -04:00
Sean Middleditch 562257e754 compilation fix 2009-03-15 23:56:25 -04:00
Sean Middleditch 35b95beeda Merge branch 'master' into rfc1143
Conflicts:
	libtelnet.c
2009-03-15 23:46:31 -04:00
Sean Middleditch fbe93e36bd save a few bytes and use only a single z_stream, because mccp2 is unidirectional 2009-03-15 23:39:31 -04:00
Sean Middleditch 08bb05f96e replace mode with flags (only a PROXY flag so far) 2009-03-15 23:29:46 -04:00
Sean Middleditch 812358d92a remove need for the struct and enum stuff using typedefs 2009-03-15 23:24:03 -04:00
Sean Middleditch 5b5bc92bc0 partial RFC1143 implementation; only reacts to negotiation, cannot handle initiating it yet 2009-03-15 23:02:10 -04:00
Sean Middleditch e7c442681a fix line ending in telnet-client 2009-03-15 20:59:48 -04:00
Sean Middleditch a7896d1117 various telnet-client updates making it capable of real use for vim/nethack/etc. on a real telnet server 2009-03-15 20:41:24 -04:00
Sean Middleditch 5cf66661e5 actually send error info in error event 2009-03-15 20:02:14 -04:00
Sean Middleditch a720527d71 fix typo 2009-03-15 20:01:56 -04:00
Sean Middleditch 1699227c9c separate non-fatal errors into warnings, error events are always fatal 2009-03-15 19:42:03 -04:00
Sean Middleditch ae229d3dbd gitignore for binaries 2009-03-15 14:19:50 -04:00
Sean Middleditch da394be304 add a simplistic TELNET client utility 2009-03-15 14:19:40 -04:00
Sean Middleditch 9f79cc5029 pass user_data to libtelnet_init() only instead of having to pass it to every function call 2009-03-15 13:39:24 -04:00
Sean Middleditch da0e695e62 dont require a buffer for subnegotiations with no data; more efficient for apps that dont use more advanced subnegotiation features 2009-03-15 13:28:09 -04:00
Sean Middleditch 124a1c24f2 implement libtelnet_begin_compress2() 2009-03-15 13:20:03 -04:00
Sean Middleditch aefcd0cc76 make telnet-proxy loop so its more useful 2009-03-15 13:16:44 -04:00
Sean Middleditch 93b8980f81 make color a build-time option for telnet-proxy 2009-03-15 13:10:08 -04:00
Sean Middleditch 637df7f064 scrap the multiple callbacks thing, just use a single event handler callback 2009-03-15 12:57:32 -04:00
Sean Middleditch f66a7ee768 shorten name of error enumerations 2009-03-15 11:54:07 -04:00
Sean Middleditch 72cc9648c0 added proxy mode 2009-03-15 11:50:36 -04:00
Sean Middleditch d88f1837a5 hostname lookup for telnet-proxy 2009-03-15 01:06:17 -04:00
Sean Middleditch d922c6f7e0 more informative errors 2009-03-14 22:35:01 -04:00
Sean Middleditch 3032302674 make use of a callback table instead of undefined functions for integration 2009-03-14 21:45:28 -04:00
Sean Middleditch aac2c12904 fix include protection 2009-03-14 18:31:26 -04:00
Sean Middleditch c04224bc3c complete list of telnet commands and options 2009-03-14 18:30:57 -04:00
Sean Middleditch 892c5f18ff documentation 2009-03-14 13:39:07 -04:00
Sean Middleditch c974b97939 s/type/opt/ for sub-negotiation 2009-03-14 13:23:33 -04:00
Sean Middleditch 6b37288ec1 the proper term is subnegotiation, not subrequest 2009-03-14 13:06:47 -04:00
Sean Middleditch d30fd57bb2 fix buffer bug 2009-03-14 12:55:17 -04:00
Sean Middleditch 2d432c57fb zlib free fix 2009-03-14 11:32:58 -04:00
Sean Middleditch 072fc0233c highlight non-printable characters better 2009-03-14 05:51:22 -04:00