Hi. vi doesn't wrap long lines by default. Compare the behavior of the vi with the behavior of the ex printf %b {1..100} \\n >file vi file The vi shows only one line of text per terminal width ex file :%p The ex shows the full wrapped text.