User forums > Help

Set Program's Behaviour window

(1/2) > >>

JYM:
At least under ubuntu 10.10, CB 10.05 window to set up arguments to be passed to your compiled projects is unreadable.
Unfortunately, I could not find a way without recompiling. It seems that there is a problem with multilines text controls.
A work around is to modify the select_target.xrc file in /src/sdk/resources, suppressing the folowing line
<style>wxTE_MULTILINE</style>
which is below <object class="wxTextCtrl" name="txtParams">
recompile...
You will then get a single line, visible and usable...
By the way, do not transmit your parameters using options defined with a "-" prefix: they would be interpreted by your terminal as undefined options.. -- works well with xterm.
Hope this may be usefull!

oBFusCATed:
I've just fixed it yesterday. It will be in the next nightly or you could apply the patch yourself (I've done so:) ).
Just replace the file in the /usr/share/codeblocks/manager_resources.zip and it the problem will be gone.


--- Quote from: JYM on November 09, 2011, 05:21:42 pm ---By the way, do not transmit your parameters using options defined with a "-" prefix: they would be interpreted by your terminal as undefined options.. -- works well with xterm.

--- End quote ---
What? Can you give better explanation of the problem?

Jenna:

--- Quote from: JYM on November 09, 2011, 05:21:42 pm ---By the way, do not transmit your parameters using options defined with a "-" prefix: they would be interpreted by your terminal as undefined options.. -- works well with xterm.

--- End quote ---

I do this every day, and I have used different terminals on lxde, xfce, kde and gnome, but never had any problems with parameters, that allow a single "-".

JYM:
"-" story:
If you pass arguments with "-" in the argument window of code blocks, then it is taken as an argument of the terminal command issued by codeblocks. xterm, at least, expects that the last argument is -e folowed by the code to execute. Of course, outside code blocks, no problem...

oBFusCATed:
Hm, you've set your terminal command wrong.
Goto the Settingws->Environment->General and there is a setting for the command used to launch the terminal.
Mine is "xterm -T $TITLE -e" and it works perfectly.

Navigation

[0] Message Index

[#] Next page

Go to full version