Subject: bin/4405: sysinst coredump without termcap
To: None <>
From: Gregory McGarry <>
List: netbsd-bugs
Date: 10/31/1997 21:44:59
>Number:         4405
>Category:       bin
>Synopsis:       sysinst coredump without termcap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 31 10:20:29 1997
>Originator:     Gregory McGarry
Queendland University of Technology
>Release:        31 Oct 1997
System: NetBSD 1.2G NetBSD 1.2G (ERNIE) #24: Mon Sep 29 08:34:51 PDT 1997 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.