The following character sequences are treated specially by the kprint Command unless given the -r option:
\a | alert (bell, ASCII 007) |
\b | backspace |
\c | suppresses terminating newline, like `-n' option |
\f | form feed |
\n | newline |
\r | carriage return |
\t | tab |
\v | vertical tab |
\\ | backslash |
\nnn | (1 to 3 octal digits) the 8-bit character whose ASCII code is nnn |
Backslash is also a quoting character. To echo a form feed, you can use one of the following:
(dbx) kprint -n \\f
(dbx) kprint -n '\f'
(dbx) kprint -n "\f"