ke6jjj / n0ary-bbs

A FreeBSD port of the venerable N0ARY packet radio BBS, which was originally written for SunOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Message editor crash in long-line messages

ke6jjj opened this issue · comments

In messages with no line breaks (just one long line), when replying and
using the simple editor:
insert the original message with the editor command "/in "
then give the editor command "/nu: to show the line numbers
the process crashes with a core dump.

The code should be able to handle any text, regardless of line breaks.

And when displaying text, print CRLF between words, not right at
character 80. That is, don't wrap in the middle of a word.