escape

Feb 1, 2015 at 7:18pm
Write your question here.


hello i want to know
\v vertical tab
\f form feed (page feed)
\r carriage return
what are those
the v and f when tried i get masculin a femenin symboles and the r i dont get somthing clear help please and thanx
Feb 1, 2015 at 7:36pm
\b backspace also this what does it mean
Feb 1, 2015 at 7:52pm
Those have implementation defined behavior on most terminals. I never ever seen vertical tab actually used.
http://stackoverflow.com/questions/3380538/what-is-a-vertical-tab
and form feed behaves as clear screen on some terminals (it literally means "next page" when passed directly to printer)
http://en.wikipedia.org/wiki/Page_break

Carriage return had sense for printing devices, and it is still used as (part of) newline in Windows and (really old) MacOS.
http://en.wikipedia.org/wiki/Newline

Note that streams opened in text mode handles line endings themselves, so you just need to use \n. But for stream opened in binary, you will need to use \r\n on Windows and \n on Linux to get correct line endings.

There is also \a. Just saying.

\b backspace also this what does it mean
Literallty backspace. It might delete previous letter, for printing device it migh means moving caret one character to the left.
http://en.wikipedia.org/wiki/Backspace#.5EH
Last edited on Feb 1, 2015 at 7:54pm
Feb 1, 2015 at 8:21pm
frankly its still hard to assimilate :/
Feb 1, 2015 at 10:17pm
help please
Feb 1, 2015 at 10:29pm
What exactly you do not understand? Those a bunch of special characters, which largely lost their meaning over time. Most of them does not do anything special now (or do some obscure stuff you will not understand right now).

You should refer to the specific output device reference to learn if it supports those special characters and what it does with them.
Feb 1, 2015 at 10:31pm
mhm okey thanx :)
Topic archived. No new replies allowed.