Windows-based devices using RS232 or USB to RS232 connection may work on Linux (including Windows Subsystem for Linux) using WINE. The examples assume a USB to RS232 adapter.
Access serial ports without needing sudo:
adduser $(whoami) dialout
Logout and login again. Plug in USB-RS232 adapter.
The USB to serial converter will probably show up as
Find the corresponding WINE device port by
ls -l ~/.wine/dosdevices
If necessary, change the serial port mapping in WINE via regedit.
Physical serial ports on Linux such computers with 9-pin / 25-pin RS232/RS485 ports are accessed by:
apt install setserial setserial -g /dev/ttyS* | grep -v unknown
Related: setup serial port DOSBox on Linux