mirror of
https://github.com/lowobservable/oec.git
synced 2026-01-11 23:53:04 +00:00
Show basic TN3270E negotiation result
This commit is contained in:
parent
7b836e0220
commit
0c6dcf4cb9
@ -19,7 +19,7 @@ emulation.
|
||||
|
||||
- [x] TN3270
|
||||
- [x] Extended Data Stream
|
||||
- [ ] TN3270E
|
||||
- [x] Basic TN3270E
|
||||
- [ ] SSL/TLS
|
||||
- [x] VT100
|
||||
- [ ] Connection Menu
|
||||
|
||||
@ -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()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user