Added shell-input and fixed shell-error.c