inmbolmie / 5250_usb_converter

Converter to plug an IBM 5251 terminal to a Linux PC via USB emulating a VT52 terminal
GNU General Public License v3.0
34 stars 6 forks source link

CLI allows to send commands in the context of non-existing terminals #4

Closed blackbit42 closed 4 years ago

blackbit42 commented 4 years ago

If e.g. your terminal is at address 3, you start the program that defaults to address 0 and you issue a command different than 'setactiveterminal', the program aborts as an terminal identifier will be accessed that doesn't exist. Also, 'setactiveterminal' should verify that the requested terminal ID is indeed existing.

inmbolmie commented 4 years ago

Yes, my fault because someone already reported this error but I forgot to fix it.