Skip to main content

5. End of Line Representation

The representation of the end of a physical line at a terminal is implemented differently on network HOSTS. For example, some use a return (or new line) key, the terminal hardware both returns the carriage or printer to start of line and feeds the paper to the next line. In other implementations, the user hits carriage return and the hardware returns carriage while the software returns to the terminal a line feed. The network-wide representation will be carriage return followed by line feed. It represents the physical formatting that is being attempted, and is to be interpreted and appropriately translated by both using site and serving site.

Example: A Multics user is working, through the network, on some serving site HOST. In the course of the session, the user has numerous occasions to hit New Line on his Mod 37 TTY. Each time the Multics system is awakened by a New Line interrupt, the line of buffered characters is passed to TELNET where it is scanned for special characters. If none is found, carriage return followed by line feed is inserted where New Line was entered, and the line is turned over to the NCP for transmission. When the TELNET finds the carriage return line feed sequence in the data stream coming from the serving site, the two characters are replaced with New Line code and sent to the terminal.