When booting FreeBSD (I use 8.4-amd64) in single-user mode, mounting root filesystem in read/write mode and trying to
vi some text file, I get all of this file's contents in one line. This makes
vi unable to edit text configs.
When running multi-user, all works OK.
How can I fix this?