How do I type carriage return?
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping
--
Chapters
00:00 How Do I Type Carriage Return?
00:20 Answer 1 Score 9
00:33 Accepted Answer Score 9
00:59 Answer 3 Score 8
02:01 Answer 4 Score 0
02:27 Thank you
--
Full question
https://superuser.com/questions/433903/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows #linux
#avk47
ANSWER 1
Score 9
In Windows, hold Alt and type 013
on the numpad.
ACCEPTED ANSWER
Score 9
In Linux, your keyboard will send carriage return if you type Ctrl-M, linefeed when you type Ctrl-J, and backspace when you type Ctrl-H. Can't say with Windows, since you can be typing into so many different kinds of text-input controls, including a console window.
ANSWER 3
Score 8
In linux, backspace is Ctrl+H, carriage return is Ctrl+M
If you want to insert a literal carriage return/backspace, you must quote it. Quoting is program-specific, but usually (or at least in bash
) Ctrl+V quotes the next character. Other programs have different quoting mechanism, e.g. Ctrl+Q in emacs
or Meta+V in nano
Therefore:
- To insert a carriage return in
bash
, you would press Ctrl+V then Ctrl+M - To insert a backspace in
nano
you would press Meta+V then Ctrl+H - To insert a carriage return in
emacs
, you would press Ctrl+Q then Ctrl+M
Edit: To insert another control character, look in this table in the first column. For example, to type an escape character you would press ^[
(Ctrl+[)
ANSWER 4
Score 0
The decimal value for the ASCII carriage return character is 13. With Microsoft Windows, hold down the <ALT> key and type the numbers "13" on the numeric keypad; the row of numeric above QWERTY won't work. This will insert the "♪" character in to your document.
You can also copy the "♪" character from this answer and paste it in to your document as well.