Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » The very strange xterm issue
Re: The very strange xterm issue [message #14848 is a reply to message #14844] Tue, 18 March 2008 00:13 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
mdelfede wrote on Mon, 17 March 2008 16:31

luzr wrote on Mon, 17 March 2008 16:22

In ide/Host.cpp:

................................
#ifdef PLATFORM_POSIX
/*	if(console) // why this does not work?!
		cmdline = "/usr/bin/xterm -hold -e " + cmdline;*/
................

Mirek


I don't understand your question.... If I add :
................................
#ifdef PLATFORM_POSIX
        console = true;
	if(console) // why this does not work?!
		cmdline = "/usr/bin/xterm -hold -e " + cmdline;
................


That works quite well, opens an xterm and runs app.
The only stuff I don't understand is why 'console' is set to false on entering Launch().
BTW, no crash at all....

Max



Too weird. On my rig, it ends with broken X11 (most likely) - it starts returning a lot of X11 errors and eventually ends on segfault.

Looks like some weird issue with fork, hard to say...

Hm, console == true if application is build with CONSOLE mode. It is true I did tested only with such apps, while you might be trying with X11 apps.. maybe a clue?!

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Code reformatter added to TheIDE
Next Topic: "better" version of Iscale functions
Goto Forum:
  


Current Time: Tue Aug 12 21:59:40 CEST 2025

Total time taken to generate the page: 0.08693 seconds