Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Home > Line feed
In computing, line feed (LF) is a control character indicating that one line should be fed out. It has an ASCII code of 10 (0A in hexadecimal). Line feed was originally a printer command normally used in conjunction with a carriage return (a command which returned the printer carriage to the leftmost position, by analogy with typewriters; abbreviated CR). After processing a CR-LF pair, the printer head would have returned to the left margin and advanced one line down the page, ready to print a new line of text. CRLF was eventually adopted as the standard line ending for network traffic, a decision which, in retrospect, is generally considered to be a mistake. However, this usage continued in MS-DOS and its descendant Microsoft Windows, so it will likely remain into the foreseeable future.
In Unix, a line feed is more often called a newline: in Unix-based operating systems, a line feed is interpreted as an instruction having the same effect on a computer terminal that CR-LF has on a printer. It was thought unnecessary to send printer sequences to computer displayA computer display monitor or screen is a computer peripheral device capable of showing still or moving images generated by a computer and processed by a graphics card. Monitors generally conform to one or more display standards. As with television, severs. The C programming languageThe C Programming Language Brian Kernighan and Dennis Ritchie, the original edition that served for many years as an informal specification of the language The C programming language is a low-level standardized programming language developed in the early, with origins in Unix, reflects this usage: in C, '\n' is an abbreviation for newline.
Apple ComputerApple Computer, Inc. is a Silicon Valley company based in Cupertino, California, whose main business is computer technologies. Best known for its range of Macintosh computers and, more recently, its iPod personal audio ( MP3 and otherwise) player and iTun also simplified the CR-LF pair in their operating systems, choosing CR without LF. Apple MacintoshMacintosh now known simply as Mac in all official capacities, is a family of personal computers manufactured by Apple Computer, Inc. of Cupertino, California, USA. Named after the McIntosh, a type of apple favoured by Jef Raskin, the Macintosh was launchees continued to use carriage return as a line ending until the version of their operating system called Mac OS XMac OS X is the latest version of the Mac OS operating system for Macintosh computers. Developed and published by Apple Computer, it provides the stability of a Unix operating environment and adds popular features of the traditional Macintosh user interfa (which was based on Unix).
Computer terminology
Read more »