Hi!
12-Мар-2004 17:44 [EMAIL PROTECTED] (Roberto Mariottini)
wrote to <[EMAIL PROTECTED]>:
>> pressing ^Z in non-empty line does nothing (except that line end is ignored),
>> only first ^Z on line is processed as end of input.
>> Strange, but under MS-DOS I get same behavior. Another bug in MS-DOS?
RM> I think this is the correct behaviour, IIRC in theory in text files an
I discuss devices, not files.
RM> End-Of-File must always be preceeded by an End-Of-Line.
? Don't know such theory.
RM> So I think that a
RM> Ctrl-Z inside a line (so not immediately after a CR/LF) is interpreted as
RM> normal charcter input, with no special End-Of-File meaning.
It _not_ interpreted as "normal character input", it removes (not
passes to reading program) all other characters on the line after ^Z.
RM> The confusion is still big, as many sources contradict each other on what a
RM> "text file" is, and implementations too.
RM> For example, Pascal function Eoln is always true if Eof is true, even if
RM> ther isn't actually a CR/LF before Ctrl-Z (IIRC).
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel