Research this page:
I think that for now canonical mode is the normal mode that the shell is in interactive mode
and for example non-canonical mode should be set when the user is in input mode.
Handle ctrl-C, ctrl-D and ctrl-\ which should behave like in bash.
• In interactive mode:
◦ ctrl-C displays a new prompt on a new line. ◦ ctrl-D exits the shell.
◦ ctrl-\ does nothing.
Research this page:
I think that for now canonical mode is the normal mode that the shell is in interactive mode
and for example non-canonical mode should be set when the user is in input mode.
Handle ctrl-C, ctrl-D and ctrl-\ which should behave like in bash.
• In interactive mode:
◦ ctrl-C displays a new prompt on a new line. ◦ ctrl-D exits the shell.
◦ ctrl-\ does nothing.