Show basic TN3270E negotiation result

This commit is contained in:
Andrew Kay 2021-05-15 13:41:23 -05:00
parent 7b836e0220
commit 0c6dcf4cb9
2 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,7 @@ emulation.
- [x] TN3270
- [x] Extended Data Stream
- [ ] TN3270E
- [x] Basic TN3270E
- [ ] SSL/TLS
- [x] VT100
- [ ] Connection Menu

View File

@ -178,6 +178,11 @@ class TN3270Session(Session):
self.telnet.open(self.host, self.port)
if self.telnet.is_tn3270e_negotiated:
self.logger.info(f'TN3270E mode negotiated: Device Type = {self.telnet.device_type}, Device Name = {self.telnet.device_name}')
else:
self.logger.debug('Unable to negotiate TN3270E mode')
def _disconnect_host(self):
self.telnet.close()