[Lazarus] terminal window not displayed in lazarus on kubuntu linux
appjaws
lazarus at appjaws.plus.com
Sat Jan 19 16:18:40 CET 2013
On 18/01/13 17:44, Malcolm Poole wrote:
> On 18/01/13 11:25, Paul wrote:
>> I am running kubuntu linux which runs KDE as the desktop and have
>> installed lazarus 1,0,4, FPC version 2.6.0. x86_64-linux-gtk2.
>> The problem:
>> When I choose run, the program compiles just fine but the output is not
>> displayed in a terminal window. This happens with all of my programs
>> running on lazarus.
>> I have the same lazarus, fpc and programs running on windows and on
>> windows as soon as the program is compiled a terminal window pops up and
>> displayed the results.
>
> From the 'Run' menu, select 'Run Parameters' and check 'Use Launching
> Application'. If Lazarus complains that it can't find the launching
> application, choose another from the combobox list
<snip>
Thank you for your reply Malcolm and leledumbo,
The rub parameter for selection is:-
/usr/bin/konsole -T 'Lazarus Run Output' -e
$(LazarusDir)/tools/runwait.sh $(TargetCmdLine)
If I select this and then run a program execution is stopped but the
console window (from DeBug window-Terminal output) shows the following:-
QDBusConnection: session D-Bus connection created before
QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before
QCoreApplication. Application may misbehave.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading
configurations from ~/.fonts.conf is deprecated.
If I don't check 'Use Launching Application' but have the debug console
showing I get the following:
[6n[H[m[H[2J9 9 2 2 8 5 4 3 5 10 3 4 6 8 6 8 8 1 3 2 10 5 6 4 1 3
10 4 5 8 9 10 1 3 8 10 6 1
0 5 1 5 8 5 4 4 5 9 1 3 2
[1BPlease Press <Enter> To Quit
[1B
This program should clear screen and generate random numbers
but the [6n[H[m[H[2J and[1B seem to be control codes, also the
console does not refresh.
So as an example how can I check that a program is working correctly
without having to run a final executable?
If I './executable' it run and clears screen perfectly.
I just can't see why the linux version will not work the same as the
windows version.
I hope all of the above is clear and look forward to any advise.
regards
Paul
--
---This message has been sent using Thunderbird on kubuntu---
More information about the Lazarus
mailing list