r/commandline • • Oct 30 '14

Terminals Are Weird

http://catern.com/posts/terminal_quirks.html
36 Upvotes

4 comments sorted by

1

u/vifon Oct 31 '14

Isn't Enter equivalent to C-m, not C-j?

2

u/x3al Oct 31 '14

It depends on what you want. \n is C-j, \r (aka CR) is C-m.

1

u/[deleted] Oct 31 '14

I believe you're right.

0

u/x3al Oct 30 '14

Not an issue for true commandline software which just writes/reads plaintext and doesn't try to draw fullscreen interface (with ncurses or something). Also, this software can run in any non-VT100+ terminal implementation (like 9term) just fine.