Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: ignacio82 on October 05, 2012, 09:15:17 pm
-
I just discovered C::B and I'm loving it. Until now I was using gedit (ubuntu 12.04) to write my fortran code.
What I do is to mount my folder in a cluster using sshfs and edit my files locally. To compile and execute my code I connect to the cluster using ssh.
I couldn't find a way to have an embedded terminal in C::B. Is this possible to do?
This is how I'm working now [IMG=http://imageshack.us/a/img24/6419/screenshotfrom201210050.png][/IMG] (http://imageshack.us/photo/my-images/24/screenshotfrom201210050.png/)
Thanks!
-
No, use a tool or tool+.
-
Could you point me in the right direction?
I really don't know how to use a tool or tool+ to do what I want
Thanks
-
With Tools+ plugin you can do this:
(http://s7.postimage.org/vp2fmvo6f/Screenshot_from_2012_10_07_20_59_54.jpg) (http://postimage.org/image/vp2fmvo6f/)
Doesn't work at all well for interactive sessions, but if you can write a script to do the ssh connection and send the relevant commands, you can call it from tools+ and get the output in a control in the IDE.
Wiki Link for tools+: http://wiki.codeblocks.org/index.php?title=Tools%2B_reference
(tools+ is a contrib plugin, so you have to make sure you have the contrib plugins installed)
-
I should add that you can do much the same thing using the regular "Tools" menu (select tools -> configure tools) but you can't redirect output to a window inside the IDE like you can with Tools+.