Closed Devessier closed 3 years ago
When STDIN read mode is activated, we must start a loop that reads until the end.
Ctrl + D
breaks the reading and launches command evaluation.
It only does that only when there is no previous character on the line. (Probably does that automatically breaks STDIN?)
We must test how things work.
We must have a flexible method to read.
Firstly, we will have to read from STDIN or from a regular file. Secondly, cryptographic algorithms don't all use a buffer of the same size to compute operations.
That is, we must:
read
call