Having to work with software you hate on systems you dislike is bad already.
Getting software you hate to work on systems you like that are not designed to handle specific bad-written software is a torture.
To make it short: If you want to use dev-pascal on linux (why would you?) you have to resort to Wine, the Dev-Pascal setup and some “Tool” configurations that launch wineconsole with the parameters cmd and
That’s just fricking great, isn’t it? You could, of course, also use the native FreePascal compiler and generate native executables that will run native on your desktop instead of the somewhat broken wineconsole (it doesn’t handle textBackground + clrScr properly, expected is that the background gets repainted in the color your specified, wineconsole doesn’t do that 🙂 ).
But again… why would you?