It was a very simple thing, but it turned out that the typewriter was quite interesting ......
Http://blog.csdn.net/xyp84/archive/2009/08/11/4435899.aspx
Summary:
Enter
Line feed
0d
0a
Carriage Return
Line feed
"/R"
"/N"
Win32
0d
0d 0a
UNIX
0d
0a
============== Quiet split line ==========================
Today, I wrote a shell script, whi
Line feed(\ N)That is, move the cursor down a line but not move it to the beginning of this line. Press ENTER(\ R)Is to return to the beginning of the current row but not move down a row.
Press enter to execute\ N \ rIn this way, we can see the general meaning of the carriage return, so we can use a hexadecimal file to view a text, and we will find it at the end of the line"\ N \ r".
Line break during program debugging\ R \ n.
Tab is a tab, that is"\ T"To reserve the display width of 8 charac
\ R: Return to the leftmost part of the current row.
\ N: newline moves down a row, not left or right.
In Linux, \ n indicates carriage return + line feed;
In Windows, \ r \ n indicates carriage return + line feed.
In Mac, \ r indicates carriage return + line feed.
History:
The origins and differences between carriage return and line feed.Before the computer appeared, there was a kind of device called teletype model 33, which also came from the TTY concept in Linux/Unix. It can contain 10
Some time ago, I transplanted a program in Windows to VxWorks. Because the original program needs to read the configuration file
Put them together in nor flash, so it's hard to handle compilation errors. When a program is run, an error occurs and debugging is performed,
I found all the information I read was wrong !! No, let's take a closer look. The fopen string is like this: "First Line
\ R \ nsecond line \ r \ n... ", and then read it in Vs, but it is like this:" First line \ nsecond
Line \ n
problem, that is, when a line breaks a line, it takes 0.2 seconds, just two characters. If a new character is passed in the 0.2 s, the character will be lost.
As a result, the developers thought of a way to solve this problem, that is, adding two end characters after each line. One is "enter", which tells the typewriter to position the print head on the left boundary, and the other is "line feed", which tells the
, and it only recognizes lfSo VI will kill the CR and replace it with a ^ m symbol.
Next, we will introduce a history of Cr (carriage return) and LF (line feed ).Before the computer appeared, it printed characters using teletype model 33, which can contain 10 characters per secondHowever, after hitting a row, it is found that it takes 0.2 seconds to wrap the line, and the 0.2 seconds can print exactly two characters.If a new character is passed in the 0.2 s, the character will be lost because i
there are a lot of buttons on the PDP-11 body, this operation panel is called the console. The console is closely integrated with the host and cannot be remotely operated. Many operations need to be done through the console (for example, problems encountered during the Startup Process), because the terminal can be connected only when the host is started and the network connection is normal. Since large computers are expensive, Thompson and his colleagues want UNIX to be called a multi-tasking (
Analysis on tty, pty, and pts
First, let's start with the concept. The so-called tty is the abbreviation of TeletypeWriter. Its Chinese translation is a telex typewriter. Its main function is to print and read information, later, it was replaced by a keyboard and a display. However, tty's common understanding is terminal.
What is a terminal? It is an electronic or electromechanical hardware device that can be used to input data to a large host and d
(textIndent)Supported HTML entities: Two styles are written:Statement 1:Var sampleStyle: Object = new Object ();SampleStyle. color = "# FFFFFF ";SampleStyle. textAlign = "center ";Css. setStyle (". sample", sampleStyle );Statement 2:Var sampleStyle: Object = {color: "# FFFFFF", textAlign: "center "};Css. setStyle (". sample", sampleStyle );
[Style the text entered by the user]When the defaultTextFormat attribute is used, the style is applied to the text in the input box:Var formatter: TextForma
letters. you wocould put two pieces of paper in a typewriter at the same time, with a piece of carbon paper in. the letters wocould press through the carbon paper, leaving an extra copy of the text on the sheet at the back.
The CC field can be used for a number of reasons.It keeps other people "in the loop" on certain issues (often used to keep managers up to date on issues ).It lets people know if they are expected to take action, or if they are jus
First, let's talk about the differences between \ r and \ n.The origins and differences between Carriage Return and Line Feed.Before the computer appeared, there was a kind of thing called Teletype Model 33, which also came from the tty concept in Linux/Unix. It can contain 10 characters per second. But there is a problem, that is, when a line breaks a line, it takes 0.2 seconds, just two characters. If a new character is passed in the 0.2 s, the character will be lost.
As a result, the develop
DetailViewController, an IBOutlet-Detail Switch Connection already exists to associate the switch with DetailView. xib.
You only need to add the following code to the viewDidLoad method of DetailViewController:
-(Void) viewDidLoad {[SuperviewDidLoad];[[Selfview] setBackgroundColor: [UIColorcolorWithPatternImage: [UIImageimageNamed: @ "bg_sand"];[Gradient switchsetontintcolor: [UIColorcolorWithRed: 0 green: 175.0/255.0 blue: 176.0/255.0 alpha: 1.0];}Compile and run the project and you will see a
pl UKai HK: style = Book ar pl UKai tw mbe: style = Book ar pl UKai TW: style = Book ar pl UMing CN: style = Light ar pl UMing HK: style = Light ar pl UMing tw mbe: style = Light ar pl UMing TW: style = Light... wenQuanYi wide micron black, WenQuanYi and other micron black, WenQuanYi Micro Hei Mono: style = Regular WenQuanYi and other wide and upright black, WenQuanYi and other 正, WenQuanYi Zen Hei Mono: style = Regular 文, Wenquan, WenQuanYi Zen Hei Sharp: style = Regular 文 micron black, Wenqua
Today, I have finally figured out the origins and differences between carriage return and line feed.Before the computer appeared, there was a kind of device called teletype model 33, which can contain 10 characters per second. But there is a problem, that is, when a line breaks a line, it takes 0.2 seconds, just two characters. If a new character is passed in the 0.2 s, the character will be lost.As a result, the developers thought of a way to solve this problem, that is, adding two end characte
Path dependency theory, also known as path dependency
Introduction
Once people make a certain choice, it is like taking the road of no return. The force of inertia will make this choice constantly strengthen itself and make it difficult for you to go out easily.
Path Dependence)It was initially demonstrated by Paul A David in 1985 that w Brian Arthur made further expansion. David's story is the current QWERTY keyboard, which is not technically the best, but it firmly occupies the market. I
Carriage Return and line feed
Press enter \ r, line feed \ n
History
The origins and differences between carriage return and line feed.
Before the computer appeared, there was a kind of device called teletype model 33, which can contain 10 characters per second. But there is a problem, that is, when a line breaks a line, it takes 0.2 seconds, just two characters. If a new character is passed in the 0.2 s, the character will be lost.
As a result, the developers thought of a w
or she is actually concentrating. You might want to ask thisQuestion at lunch.
Another type of coder's block comes from fear of failure. Most people wantDo a good job and be recognized for the good work they do. This is especiallyTrue of people who do knowledge work, such as programmers, because the onlyMeasures of quality are how cleverly and cleanly they have built something.Since software is nearly infinitely malleable, inclucoders get stuck tryingCome up with the absolute neatest, cleverest
management" course to the real estate merchant. When the clerk arrived at the real estate agent's office, he found that he was carrying a letter on an antique typewriter. The salesman introduced himself and then introduced the course he promoted.
The real estate merchant apparently listened with relish. However, after hearing this, I did not express my opinion.
The clerk had to go straight into the class: "Do you want to take this course, right ?"
Th
The family of letters in Western countries is divided into two main families: serif and sans serif. The typewriter reader is also sans serif, but the typewriter family is derived from the same distance.
Serif indicates that there is an out-of-the-box operator at the beginning and end of the word, and the rough character of the operator varies depending on the direct character. On the contrary, sans serif d
.
Defines the body content in the table.
Define the cells in the table.
A text input control that defines multiple lines.
Define the table notes (footnotes) in the table.
Defines the header cells in the table.
Defines the header content in a table.
New
Define a date or time, or both.
Defines the title of the document.
D
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.