Telnet++  3.1.0.2
A C++ library for interacting with Telnet streams
Classes
telnetpp::options::naws Namespace Reference

An implementation of the standard Telnet Negotiate About Window Size option. More...

Classes

class  client
 An implementation of the client side of the Telnet NAWS option. More...
 
class  server
 An implementation of the server side of the Telnet NAWS option. More...
 

Detailed Description

An implementation of the standard Telnet Negotiate About Window Size option.

Overview
The NAWS option is used for a server to inform a client about the extents if its window size/text area.
Usage
Construct an option as normal and install it into a session. If you are a client, register for callbacks with the on_window_size_changed signal. If you are a server, send updates about your window size using the set_window_size() function.
See also
https://www.ietf.org/rfc/rfc1073.txt