Skip to content

Integrated terminal

Marko Njegomir edited this page Oct 17, 2019 · 2 revisions

Integrated terminal

i386ide offers a built-in terminal that can be useful in a variety of ways.

Using your own commands

You can enter your own command bash commands like you would do in the linux terminal.

That includes useful commands such as:

  • cd {some_path} for changing the directory
  • cd .. to go to the parent directory
  • cd - to go back to the previous directory
  • ls to list the contents of the current working directory
    ... and much more.

Auto completion

Auto completing behaves similarly to the linux terminal auto completion because it relies on bash compgen function.

Press Tab once to try to auto complete the last word in the current command.
If the word was not auto completed there are either multiple suggestions or no suggestions at all available.

To list all the available suggestions press Tab twice, and the list of available auto complete suggestions will be displayed in the terminal.

Displaying background commands

When the i386ide executes a command like Compile, Debug or Run automatically, that command is printed in the terminal with all the options and parameters.
This transparency allows for a better understanding and faster learning of how these processes look like for Assembly or C code.

Displaying errors

If some errors occur, they will also be displayed in the terminal.
This can allow you to precisely understand what went wrong with the execution of the command.

External shell for running programs

When the .out file is executed, either manually or by using the Run command, that program is then started in an external shell in a separate thread.