[Gambas-devel] GB.Signal.Register() keeps program running?

Benoît Minisini gambas at ...1...
Sun Apr 6 14:11:05 CEST 2014


Le 06/04/2014 13:38, Tobias Boege a écrit :
> On Sun, 06 Apr 2014, Beno?t Minisini wrote:
>> Le 06/04/2014 13:26, Beno?t Minisini a ?crit :
>>> On Sun, 06 Apr 2014, Beno?t Minisini wrote:
>>>>>> By the way, why both ncurses example have a red background? It is normal?
>>>>>>
>>>>>
>>>>> Ui! Normally (read: on my system) they're black. But neither Pong nor
>>>>> Invaders modify the background. Has your terminal a red background by
>>>>> default?
>>>>>
>>>>> Regards,
>>>>> Tobi
>>>>>
>>>>
>>>> No, my background is black. This is why I found that strange. I use KDE and
>>>> so my terminal emulator is Konsole.
>>>
>>> When I tick Konsole as terminal emulator in my IDE's Preferences, the
>>> program won't even start (immediately returns 254). I'm using TDE 3.5.13,
>>> so I use Konsole every day but for Gambas projects I have settled to xterm
>>> long ago (maybe that strange behaviour was the reason?).
>>>
>>> Could you try to use xterm and tell me what happens? If it's better, I have
>>> at least a direction where to look...
>>>
>>
>> With xterm I have a black background.
>>
>> If I choose xterm as terminal in the IDE, the program runs correctly,
>> but if I close the xterm window during its execution, it segfaults. But
>> I didn't succeed in reproducing that outside of the IDE.
>>
>
> Hmm. I can't reproduce that inside or outside of the IDE (tried 5 times at
> different stages in program logic).
>
>> What returns "254" when you choose Konsole?
>>
>
> When I hit the "play" button, that Balloon appears over my project TreeView
> on the left saying: "The program has returned the value: 254".
>
> PS: Sorry, this time, the mail will go the mailing list!
>

Here are two screenshots, so that you confirm I'm not daltonic. :-)

-- 
Benoît Minisini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncurses1.png
Type: image/png
Size: 18215 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20140406/7f10f826/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncurses2.png
Type: image/png
Size: 16645 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20140406/7f10f826/attachment-0001.png>


More information about the Devel mailing list