Forum > Options

(SOLVED) Lazarus in Terminal?

<< < (2/3) > >>

guest48180:

--- Quote from: jwdietrich on June 24, 2012, 08:31:51 pm ---Which operating system do you want to run the program on?

On Mac OS X you have to open the terminal first. Then you can run the application by providing its full path name. Your code runs excellent on Mac OS X Leopard.

--- End quote ---

I'm running Linux Mint 13. I'm working a tutorial that uses the Lazarus IDE. In it it goes New | Project | Program. The tutorial does not show to select Console Program. And even if I did select this, my program runs fine but never pulls up and displays the results in the terminal. So...I have been looking in the Menu Bar for some place to activate the terminal when programs have need for it. My thinking is that when the program makes calls like Writeln and Readln that the IDE should know they're not GUI and make the default to the term. I don't really have to have the terminal, but to work through these exercises as they're shown sure would help me settle in to what's going on. Know what I mean?

Leledumbo:
Haven't you read my link? There should be View->Debug Windows->Terminal Output.

guest48180:

--- Quote from: Leledumbo on June 25, 2012, 12:19:27 am ---Haven't you read my link? There should be View->Debug Windows->Terminal Output.

--- End quote ---

I did read your link, but in my View->Debug Windows...I don't have Terminal Output as an option. I just don't have it. I wish I did, but I don't. And it's this kind of stuff right here that makes learning this IDE (and re-learning Pascal) even more difficult. I'm not new to programming, been at is since '83. So nothing said here is over my head. But when I do a Lazarus tutorial and fail to even duplicate getting terminal output, when I do as you said and can't even find the terminal output option that you say is there, then something is wrong. I could skip the term tutorials, but there is important information in them that I'll take with me to the GUI tutorials. So I'd like to get the terminal working for these terminal programs.

I am running Linux Mint 13; Lazarus 9.30.2-2

timppl:
You need to go to Run->Run Parameters and halfway down is Use Launching application. Tick the check box and put in the command line for your favourite terminal programme.

HTH

guest48180:

--- Quote from: timppl on June 25, 2012, 07:34:39 am ---You need to go to Run->Run Parameters and halfway down is Use Launching application. Tick the check box and put in the command line for your favourite terminal programme.

HTH

--- End quote ---

YES! Thank you. That was the keystone. I do appreciate the helpful insight to a problem that's been bugging me to no end. The next beer's on me  :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version