Subject: bin/4405: sysinst coredump without termcap
To: None <firstname.lastname@example.org>
From: Gregory McGarry <email@example.com>
Date: 10/31/1997 21:44:59
>Synopsis: sysinst coredump without termcap
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Fri Oct 31 10:20:29 1997
>Originator: Gregory McGarry
Queendland University of Technology
>Release: 31 Oct 1997
System: NetBSD ernie.sprc.qut.edu.au 1.2G NetBSD 1.2G (ERNIE) #24: Mon Sep 29 08:34:51 PDT 1997 firstname.lastname@example.org:/usr/src/sys/arch/pmax/compile/ERNIE pmax
/sbin/sysinst coredumps when run without TERM set. This can be
problematic given that the termcap is not always available in
miniroots and diskimages due to its size.
I think it's a bug that sysinst coredumps when run without TERM set.
Normal usage is to run it from a script which probably asks the user
for a tty-type and sets TERM. Even so, sysinst should print a friendly
message and exit cleanly. could you send a PR about that, too?
Unset the TERM variable.