Subject: bin/4405: sysinst coredump without termcap
To: None <email@example.com>
From: Gregory McGarry <firstname.lastname@example.org>
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 email@example.com:/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.