title: GUI adapter for old DOS application
body: <p>I have an old DOS application which accepts some files as input, does some calculations and saves results into file system. This app uses terminal as sort of GUI, where you can choose input files, types of calculations to perform and choose where to save the result. I don't know the logics behind calculations and am not able to reuse them in a new project.
  The problem is that the users of this app want a modern looking GUI which will be easier to work with.
  That is why, I have an idea to create an adapter which will translate button clicks into commands in DOS and grab text output to show in modern GUI.
  Is it possible and where should I start from?</p>