All Topics  
Carriage return

 

   Email Print
   Bookmark   Link

 

Carriage return


 
 

Originally, carriage return was the term for the control character in Baudot codeBaudot code

The Baudot code, named after its inventor mile Baudot, is a character set predating EBCDIC and ASCII and used originally and...
 on a teletypewriter for end of line returnReturn

The term return may have one of the following meanings:...
 to beginning of line and did not include line feedLine feed

In computing, line feed is a control character indicating that one line should be fed out....
. Later it was used for a mechanism or lever on a typewriterTypewriter

A typewriter is a mechanical, electromechanical, or electronic device with a set of "keys" that, when pressed, cause charact...
 that would cause the cylinder on which the paper was held (the carriage) to return to the left side of the paper after a line of text had been typed, and would usually move the paper to the next line as well. The first power carriage return was added to electric typewriters by Smith CoronaSmith Corona

Smith Corona or the SCM Corporation is a US typewriter and calculator company....
 in 1960. The key for this was usually labelled "carriage return" or "return". To improve the keyboard for non-English-speakers, the symbol was introduced to mark this key, since this graphic could communicate the action of the key without using words.

User interface functionality


On WindowsMicrosoft Windows

Microsoft Windows is a family of operating systems by Microsoft....
, Macintosh and most other GUIGui Summary

Gui can refer to the following:* Gui is short for Guilherme or Guilhermo; in English, this name translates to William....
 operating systems, hitting the return key also results in the default option of a dialog boxDialog box

Dialog boxes are special windows which are used by computer programs or by the operating system to display information to the user...
 (usually OK or Yes) being selected.

Summary

  • Keys commonly generating the character "carriage return":
    "Enter" key
    "Return" key
    key
    Control-M
  • ASCII and Unicode representation of "carriage return":
    Decimal code: 13
    HexadecimalHexadecimal

    In mathematics and computer science, base-, hexadecimal, or simply hex, is a numeral system with a radix or base...
     code: 0D
    Symbol: CR
  • Programming escape codes and functions for generating a "carriage return":
    PHPPHP

    * Paamayim Nekudotayim* Standard PHP Library...
    , PythonPython (programming language)

    Python is a programming language created by Guido van Rossum in 1990....
    , BashBash Overview

    name = GNU Bourne-Again Shell| screenshot = | caption = Screenshot of a sample bash session...
    , CC (programming language)

    The C programming language is a general-purpose, procedural, imperative computer programming language developed in the earl...
    /C++C++

    C++ is a general-purpose, high-level programming language with low-level facilities....
    , C#, JavaJava (programming language)

    Java is an object-oriented programming language developed by James Gosling and colleagues at Sun Microsystems in the early 1...
    , JavascriptJavaScript

    JavaScript is the name of Netscape Communications Corporation's implementation of ECMAScript, a scripting programming langua...
    , PerlPerl

    Perl, also Practical Extraction and Report Language is a dynamic procedural programming language designed by Larry Wa...
    , RubyRuby (programming language)

    Ruby is a reflective, object-oriented programming language....
    : \r
    Visual BasicVisual Basic

    Visual Basic is an event driven programming language and associated development environment from Microsoft....
     (VB), VBAVisual Basic for Applications

    Visual Basic for Applications is an implementation of Microsoft's Visual Basic, an event-driven programming language and as...
     and VB.NETVisual Basic .NET

    Visual Basic .NET is an object-oriented computer language that can be viewed as an evolution of Microsoft's Visual Basic imp...
    : vbCr or Chr$(13)
    XML (HTML, XSLT): 
  • Microsoft Office "carriage return":
    Word: Shift-Enter
    Excel: Alt-Enter
  • OpenOffice.org "carriage return":
    Writer in "Find & Replace" regular expression: $


See also

  • Enter keyEnter key

    In computer keyboards, the enter key in most cases causes a command line, window form or dialog box to operate its default ...
  • NewlineNewline

    In computing, a newline is a special character or sequence of characters signifying the end of a line of text....