Subject: bin/45: talk(1) core dumps with no TERM set
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: J.T. Conklin <conklin@ngai.kaleida.com>
List: netbsd-bugs
Date: 12/16/1993 17:02:57
tholo> It you do not have a terminal set, or your terminal is not
tholo> powerful enough to support curses(3), talk will coredump when
tholo> started as it does not check the return value from
tholo> initscr(3curses).  

Initscr() in SysV curses writes an error message and exits the program
if it TERM is not set, etc.  Did BSD curses once have the same
behavior?  I ask because there are a lot of programs in the tree that
call initscr() without checking its return value.

	--jtc



------------------------------------------------------------------------------