wwivbbs / wwiv

WWIV BBS Software v5
http://www.wwivbbs.org
Other
183 stars 71 forks source link

init segfaults if window width is less than display window #25

Closed wwiv closed 9 years ago

wwiv commented 9 years ago

Build: r1110 Operating System: Linux

What Happened: If you are running init, and the sub-page that you navigate to is wider than the terminal window you are running it in, init segfaults. For example,

  1. set the terminal window is 76 characters wide
  2. navigate to "External Transfer protocol -> Xmodem"
  3. the Xmodem screen is 78 characters wide (i.e., wider than the terminal window) and init segfaults.

What was expected: init should gracefully deal with the fact that the sub-window won't fit. Probably the simplest approach would be to have init exit on startup if the terminal window is not at least 80 characters wide and display a warning stating the minimum requirement.

Original comment by: granitepenguin

wwiv commented 9 years ago

Original comment by: wwiv

wwiv commented 9 years ago

Fixed in r1406 Will exit on startup if the screen size is too small.

Original comment by: wwiv