I think there shouldn't be a terminal in kernel mode and the terminal commands must be written for usermode (they also must not be included in the kernel image).
we should wait for usermode to be operational and rewrite all of the terminal commands (and maybe terminal it self).