<div dir="ltr"><div><br>( I think different user threads are getting mixed in some of these emails. Some simply have no application to my issue.)<br><br><br>@Brush:<br>"Have you tried running the script from a regular terminal (or even Geany's builtin terminal in the message window)?"<br><br>Perhaps I made this overly complicated.<br>My scripts work perfectly. I have fifteen of them for different current working library sets.<br>My scripts are not a problem. Those consoles/terminals work no problem. No blocking. Only when starting a console from geany.<br>----------------------------------------------<br>I do not use F5 key.<br><br>When starting a new instance of geany, this is the command line:<br><br>    geany -i --config=/rdkl/.config/geany<br><br>I work from multiple systems; this helps keep them all the same.<br>Not perfect, but better.<br><br>Version is 1.27<br>-------------------------------------------<br><br>@Trotman(7/26):<br>"Because the output of build commands is parsed and displayed in the<br>compiler output tab only one build command can be running at a time or<br>their output will get mixed up and confused."<br><br></div>per geany instance only, right?<br><div><br>"So the build menu is blocked whilst a command is running.  So as I<br>said before, the command needs to start your terminal as a detached<br>process and exit immediately to get the menu back.  Did you try using<br>&? On *x commands are run in sh so it should work."<br><br></div><div>re: &  Yes, did that - no defference.<br></div><div><br>Normally:<br>I have unchecked 'Load virtual terminal support'<br><br>I have unchecked 'msgwin_compiler_visible'<br>I have unchecked 'msgwin_scribble_visible'<br><br>--------------------<br>--------------------<br>Starting fresh this am:<br><br>Single instance of geany:<br>I re-enabled  'msgwin_compiler_visible'<br>Dropped geany<br>restarted - verified 'msgwin_compiler_visible' enabled<br><br>Looked at the debug messages screen - no sign of a problem.<br><br>Loaded one project. project build section looks like:<br><br>[build-menu]<br>NF_03_LB=console<br>NF_03_CM=lxterminal --geometry=130x30& --working-directory=%d<br>NF_03_WD=<br><br>My geany .config build section looks like:<br><br>[build-menu]<br>number_ft_menu_items=0<br>number_non_ft_menu_items=0<br>NF_02_LB=file manager<br>NF_02_CM=pcmanfm&<br>NF_02_WD=<br>NF_03_LB=console<br>NF_03_CM=lxterminal --geometry=130x30& --working-directory=%d&<br>NF_03_WD=<br>number_exec_menu_items=0<br><br>click 'console' button in build drop down<br><br>compiler message window:<br><br>lxterminal --geometry=130x30& --working-directory=/rdkl/FB_common/defines (in directory: /rdkl/FB_common/defines)<br>/bin/sh: 1: --working-directory=/rdkl/FB_common/defines: not found<br>/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/gtkrc:682: Unable to find include file: "apps/xfce4-notifyd.rc"<br><br><br>However, the terminal did start in the correct directory.<br><br>Leave this up, change desktop, open a second geany instance, load a profile, start a console<br><br>compiler message window:<br>lxterminal --geometry=130x30& --working-directory=/rdkl/FB_generic/rlib_small& (in directory: /rdkl/FB_generic/rlib_small)<br>/bin/sh: 1: --working-directory=/rdkl/FB_generic/rlib_small: not found<br>Compilation finished successfully.<br><br>console opened correctly<br>no status indicator, no build menu block<br><br></div><div>First instance of geany still up, console running, build menu blocked<br></div><div>drop console in that first instance, the status indicator stays, build menu still blocked.<br></div><div>Drop geany - reopen. (second geany instance still open)<br></div><div>drop console on second geany instance<br></div><div><br></div><div>now:<br></div><div>Whichever geany I open a console on, it will block - the other will open correctly<br></div><div><br><br></div><div>David<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 27, 2017 at 4:15 AM, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 27 July 2017 at 19:47, Peter Koukoulis <<a href="mailto:pkoukoulis@gmail.com">pkoukoulis@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> a blank terminal appears with a heading of "geany_run_script_RCK23Y.sh", the<br>
> last 5 characters before the suffix being random on each execution.<br>
> The debug messages that appear around the time of execution are:<br>
><br>
> "10:32:59: Geany INFO : Added filetype CUDA (65).<br>
> 10:32:59: Geany INFO : Added filetype Cython (66).<br>
> 10:32:59: Geany INFO : Added filetype Graphviz (67).<br>
> 10:32:59: Geany INFO : Loaded libvte from libvte.so.9<br>
> 10:32:59: Geany INFO :<br>
> /home/mw/c++_Learn/learn2_c++/<wbr>sqlapi/ora_ref_cursor.cpp : C++ (UTF-8)<br>
> 10:32:59: Geany INFO : Loaded /usr/share/geany/tags/std99.c.<wbr>tags (C), 1619<br>
> symbol(s).<br>
> 10:32:59: Geany INFO : /home/mw/c++_Learn/learn2_c++/<wbr>sqlapi/ora_connect.cpp<br>
> : C++ (UTF-8)<br>
> 10:32:59: Geany INFO :<br>
> /home/mw/c++_Learn/learn2_c++/<wbr>sqlapi/pg_connect_test.cpp : C++ (UTF-8)<br>
> 10:32:59: fcitx-connection DEBUG : _fcitx_connection_bus_<wbr>finished"<br>
><br>
> When I run the compiled and linked binary from a bash shell , then it<br>
> executes as expected, but when executed with F5 from the geany the blank<br>
> terminal appears. This is the behaviour in Lubuntu running in VirtualBox,<br>
> but on Ubuntu it executes in geany as expected.<br>
> There is no error message it seems.<br>
<br>
</span>If it runs "in Geany" (by which I assume you mean in the terminal<br>
window) on one system and in an external terminal on another it sounds<br>
very much like the run in VTE settings Matthew asked you to check are<br>
different.  Please verify they are the same.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888">Lex<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> Thanks<br>
><br>
> On Thu, 27 Jul 2017 at 00:56 Matthew Brush <<a href="mailto:mbrush@codebrainz.ca">mbrush@codebrainz.ca</a>> wrote:<br>
>><br>
>> On 2017-07-26 01:21 PM, Peter Koukoulis wrote:<br>
>> > Hi<br>
>> > I am running geany in both Ubuntu 17.04 (host) and Lubuntu (VirtualBox<br>
>> > guest) 17.04 . My build settings are the same on both:<br>
>> ><br>
>> > compile : g++ -g -Wall -std=c++14 -c -lboost_thread<br>
>> > -DBOOST_THREAD_VERSION=4 -pthread "%f"<br>
>> > link: g++ -g -Wall -std=c++14  -o "%e" "%f"<br>
>> > /home/bluefrog/SQLAPI/lib/<wbr>libsqlapi.a -lpthread -pthread -lboost_thread<br>
>> > -DBOOST_THREAD_VERSION=4 -lboost_system -ldl -lpq<br>
>> ><br>
>> > make Object: make %e.o<br>
>> > Execute: "./%e"<br>
>> ><br>
>> > LD_LIBRARY_PATH is defined the same on both.<br>
>> ><br>
>> > When I execute (F5), having successfully compiled and linked, nothing<br>
>> > appears in the terminal on Lubuntu in the VirtualBox, but when the same<br>
>> > is<br>
>> > executed  in Ubuntu (host), all appears as expected. Could somebody<br>
>> > suggest<br>
>> > what it may be?<br>
>> ><br>
>><br>
>> It should give some kind of error in the status tab, or in the status<br>
>> bar, or at least log something in Help->Debug Messages.<br>
>><br>
>> One thing that comes to mind is that the working directories aren't<br>
>> right, but I would think that should print you some error somewhere. The<br>
>> other thing is that maybe one of them is set to run the execute command<br>
>> in Geany's builtin terminal and the other isn't (Preferences->Terminal:<br>
>> [x] Execute programs in the VTE, and [x] Don't use run script).<br>
>><br>
>> Regards,<br>
>> Matthew Brush<br>
>> ______________________________<wbr>_________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
>> <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
> <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">If you don't try - you lose - automatically.<br></div></div>
</div>