Word wrap and side to side scrolling is a function of your terminal, or terminal emulator, not the command outputting text.
Some commands might be sensitive to screen width based on either an environment variable or [tt]stty[/tt] settings. Some of those could be truncating the line to what the expected screen is. I think [tt]vi[/tt] does this since it needs to use the full screen.
Most commands that just stream their input and output (things that can be used in a pipe like more/less, grep, etc) don't care and output an entire line, no matter how long it is.