Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!wuarchive!udel!mmdf From: jack@csmunix.larc.nasa.gov (Jack Dunn) Newsgroups: comp.os.minix Subject: clr patch for 1.5.0 Message-ID: <9903@nigel.udel.EDU> Date: 2 Feb 90 12:23:14 GMT Sender: mmdf@udel.EDU Lines: 37 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. 54599 1518 /usr/src/commands/clr.c Jack Dunn begin 666 clr.shar M96-H;R!X("T@8VQR+F,N8V1I9F8*9W)E5LQ,#(T73L*6" @"E@A(" @:68@*'1G971E;G0H96YTPI8(" )17)R;W(H(DYO('1E G