The INPUT command speaks to the console PORT! which uses a fixed size buffer. (It is called OUT_BUF_SIZE, even though the Console_Actor only reads). There is no loop or other control to ask the device layer for more input.
Hence a simple %echo.reb which contains just print input can be invoked as;
r3 echo.reb < some-large-file.txt
It will read neither just one line, nor will it read the entirety of the file.
The INPUT command speaks to the console PORT! which uses a fixed size buffer. (It is called OUT_BUF_SIZE, even though the Console_Actor only reads). There is no loop or other control to ask the device layer for more input.
Hence a simple %echo.reb which contains just
print input
can be invoked as;It will read neither just one line, nor will it read the entirety of the file.