Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!jarthur!uunet!loft386!DSUVAX!ghelmer From: ghelmer@DSUVAX.uucp (Guy Helmer) Newsgroups: comp.os.minix Subject: Re: Problem with clr Summary: Shouldn't this be fixed in termlib? Message-ID: <1990Feb2.153231.5746@DSUVAX.uucp> Date: 2 Feb 90 15:32:31 GMT References: <9858@nigel.udel.EDU> Organization: Dakota State University Lines: 14 In article <9858@nigel.udel.EDU>, jack@csmunix.larc.nasa.gov (Jack Dunn) writes: > Thee is a problem with the clr command that will cause > a memory fault is the TERM parameter is not set to the > user's terminal type. The problem is that "tgetent" is > called before the program determnes if TERM is present > with "getenv". The following cdiff will correct the > peoblem. > Jack Dunn Shouldn't tgetent be the one checking for environment variable "TERM" ? -- Guy Helmer ...!uunet!loft386!dsuvax!ghelmer Dakota State University Computing Services helmer@sdnet.bitnet Software Engineering: "'How to program if you cannot.'" - Dijkstra