News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Terminal?

Started by ignacio82, October 05, 2012, 09:15:17 PM

Previous topic - Next topic

ignacio82

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]

Thanks!

oBFusCATed

No, use a tool or tool+.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ignacio82

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

dmoore

With Tools+ plugin you can do this:



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)
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

dmoore

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+.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]