News for hackers. Stuff that matters.
Re:Four Column ASCII by bandrami on Wednesday February 01, 2017 @10:00AM (#13541176)
Oh, that's why ^J is a literal newline in Emacs. How did I miss that for 25 years?

(BTW, for anyone curious, you match a newline in a regexp in emacs by using ^Q ^J, the first is the quote operator and the second is the character you want, ^J, or newline)

Re:Four Column ASCII by jerf on Wednesday February 01, 2017 @04:03PM (#13545144)
If you're wondering "why not ^Q then Enter?", that gets you CR or ^M, but in UNIX, newline or ^J is what gets you to the next line.

So, yes, you normally push CR to enter the LF character.

The confusions between CR and LF run deep and wide, even in the UNIX world.

Re:Four Column ASCII by FreeFull on Thursday February 02, 2017 @08:27AM (#13550321)
You will also see ^M on the end of each line in vim, if you open a CRLF line terminated file in it, but it thinks it's a LF line terminated file.
Re:Four Column ASCII by dolzenko on Wednesday February 01, 2017 @05:31PM (#13546044)
> that's why ^J is a literal newline

So I don't quite understand how that table explains it. I mean aside from the fact J character code being the LF code with first two bits zeroed.

Re:Four Column ASCII by Bedon292 on Wednesday February 01, 2017 @05:58PM (#13546257)
It is explained under the chart for [ and Esc. CTRL zeroes out the first two bits of a character. So that is the explanation.
Re:Four Column ASCII by aji on Wednesday February 01, 2017 @01:40PM (#13543550)
and ^I for tab, etc