Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 612 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 612 Bytes

telnet-client

A telnet client for Pharo

This is how you start a session (for now):

TelnetSession new 
	handler: (TelnetStreamHandler new 
		alwaysFlush;
		addDecoration: TelnetLfDecoration new;
		addDecoration: TelnetANSIDecoration new;
		yourself);
	addProtocolHandler: MUDTelnetMSDPHandler new;
	when: TelnetDataReceived do: [ :ann | ann data asString crLog ];
	when: MUDMSDPCommandReceived do: [ :ann | ann variable crLog ];
	connectTo: 'legendsofthejedi.com' port: 5656.

the "MUD" part is as an example, taken from my other project MUDClient