Congert "char *" to "char*" and reindent

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Correct fork/execve/_exit behavior in run_command

Check for failed fork, and use _exit rather than exit after a failed fexecve.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Rename "fd" to "terminal_fd"

The varible name "fd" is used in a few places, so a little disambiguation is
good.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Created the Command class, based on run_command()

This class adds some flexibility when running external commands, allowing the
caller to decide whether to add command line flags or environment variables, or
override the default file descriptors.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Use underscore as underline character

This should provide a reasonable placement, as opposed to the current solution,
which draws on top of the next line.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
main.cc: Use nullptr instead of 0 for pointers

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Get rid of legacy fixed size array code

We're using C++ now, and this code does so little work that the extra heap
objects are of no consequence.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Merge branch 'master' of github.com:mortehu/cantera-term

Conflicts:
	draw-gl-30.cc
	main.cc