> Do you remember which distro you were using? Sounds like it included a weird /etc/nanorc file.
It was a long time ago, back in the 90s; it probably was either Debian or Slackware or Conectiva.
Edit: it probably was Debian, I found contemporary bug reports complaining of that, for instance https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=127634 and according to https://metadata.ftp-master.debian.org/changelogs/main/n/nan... the default /etc/nanorc was changed to disable wrapping only many years later in 2.0.9-2; even then, you're still depending on nobody commenting that line on /etc/nanorc. Removing the whole package is much safer.
Debian's has `set nowrap`.