|
ctrl + z
Then press enter
The purpose of the carriage return is to clear the input buffer buffer area, then the type will take effect immediately
-------------------------------------------------- ---------
Thank you for your answer. I still don't understand.
My questions are:
1. What information does ctrl + z (or ctrl + D) pass to the program?
2. Before ctrl + z, which is the end of the last line of input, why can't it end without adding a carriage return?
3. Under linux, using ctrl + D to end the input does not need to finish typing ctrl + z as under DOS and add another carriage return. Examples:
"
di yi hang (Enter)
di er hang (Enter)
...
di n hang (Enter)
(ctrl + D) (!! Note: There is no carriage return after ctrl + D)
"
Why is this? What message does the carriage return following ctrl + z under DOS convey?
Thank you for your advice ... |
|