Path: utzoo!attcan!uunet!seismo!dimacs.rutgers.edu!mips!sgi!duncan@spectre.vlsi.sgi.com From: duncan@spectre.vlsi.sgi.com (Donald Duncan) Newsgroups: comp.os.minix Subject: Re: Screen blankers Summary: yep Keywords: only small adjustments Message-ID: <73922@sgi.sgi.com> Date: 1 Nov 90 21:42:47 GMT References: <12681@chaph.usc.edu> <72802@sgi.sgi.com> <73038@sgi.sgi.com> <205@rc6.urc.tue.nl> Sender: guest@sgi.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 39 In article <205@rc6.urc.tue.nl>, tgcpwd@rwc.urc.tue.nl (Wim van Dorst) writes: > I have some small remarks on the things I had to adjust to _get_ it to > work. First the name of cdif.uue should have been cdif.tar. Of course :-) > I didn't read the preceding text properly, so I didn't realise it was > a tar file and did stupid things with it. Well, no big deal, stupid me. > Now that I have shar on my system... > The other thing is: > In clock.c I had to remove the declarations > PUBLIC time_t dtimeout; > PUBLIC time_t displaytime=DEFAULTTIMEOUTORSOMETHING; > because in clock.c is included the header file kernel.h, which again > included glo.h, which defines dtimeout and displaytime to be EXTERN. > dtimeout and displaytime get therefore automatically declared PUBLIC > in table.c, so they were declared twice. I moved the initialization > of the variables to the function init_clock(), like in > dtimeout = displaytime = DEFAULTTIMEOUTORSOMETHING; > Also I removed the declaration > PUBLIC ... mode_port; > from console.c for the same reason. > After looking at the code I realize of course that you are correct. I wasn't paying attention to what table.c was doing. Now I understand :-) Also note that if you declare DEFAULTTIMEOUTORSOMETHING to be 0, the timeout feature is disabled. I'll post update cdiffs in the near future. ---------------------------- ~Don WB6QMS duncan@sgi.com