Forum > Linux
Simple Project output - where's da console?
TRon:
--- Quote from: decuser on February 04, 2024, 11:53:21 pm ---1. Is it possible to get the output to go to a terminal window provided by the OS (I'm on MX-Linux 23-2 "Libretto" and I have konsole, xterm, and gnome-console available?
--- End quote ---
Yes. see picture (open project, menu run, then run parameters) but note that it depends on your Linux distro. If you know how to properly invoke your terminal emulator then simply replace with what your distro requires/needs.
--- Quote ---2. Is it possible to get it to not show the control characters?
--- End quote ---
No idea, I never use unit crt.
--- Quote ---3. Are the control characters coming from the USES Crt thing combining with Writeln?
--- End quote ---
Probably.
decuser:
Great answers all. The run parameters change was the best suggestion, as it just worked, but getting rid of CRT was informative and useful information that I will take to heart.
Thaddy:
Try this. also better cross platform;
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---program EatAtJoes;uses ptcCrt; begin ClrScr; GotoXY(10,5); Writeln('Eat at Joe''s!'); GotoXY(10,7); Writeln('Ten Million Flies Can''t ALL be wrong!'); Readln;end.you do not need to install anything, it is also in the standard distribution.
Navigation
[0] Message Index
[*] Previous page