On Sun, 5 Feb 2023 at 06:20, geuristic via Users <[email protected]> wrote: > > I didn't have geany on me and couldn't install it so I tried mapping the > compile and build shortcuts to vim. > While the compile commands worked as expected in the terminal, I had trouble > with the execute command. > > On Geany, my fields are : > Set Build Commands > Execute: "./%e" > Tools > Terminal: xterm -fa 'Monospace' -fs 10 -e "/bin/sh %c" > > From the manual, it says >> >> [...]The marker "%c" is substituted with the name of the Geany run script, >> which is created in the temporary directory[...] > > > As I found online, the script is called geany_run_script.sh and personally, > does 3 noticeable things: > > Run the execute command. > Show the exit code of the executed program. > Hold the terminal open and close it if the return key is pressed after the > exit code has been returned. > > I am having trouble with the latter 2, so I'm asking for either the code of > geany_run_script.sh, or its temporary directory, or a bash script that > accomplishes the above 3 tasks.
See https://github.com/geany/geany/blob/4508f77a1150b37d5e16c3e7fc9c7223bc591e88/src/build.c#L1149 Cheers Lex > > Regards, > Geuristic > _______________________________________________ > Users mailing list -- [email protected] > To unsubscribe send an email to [email protected] _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected]
