From owner-freebsd-current Fri Apr 17 03:07:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA20917 for freebsd-current-outgoing; Fri, 17 Apr 1998 03:07:17 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA20912 for ; Fri, 17 Apr 1998 10:07:14 GMT (envelope-from dag-erli@ifi.uio.no) Received: from gladsheim.ifi.uio.no (2602@gladsheim.ifi.uio.no [129.240.64.132]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id MAA01225; Fri, 17 Apr 1998 12:07:12 +0200 (MET DST) Received: (from dag-erli@localhost) by gladsheim.ifi.uio.no ; Fri, 17 Apr 1998 12:07:11 +0200 (MET DST) Mime-Version: 1.0 To: joelh@gnu.org Cc: current@FreeBSD.ORG Subject: Re: syscons.c and graphical screensavers References: <199804160353.WAA01213@detlev.UUCP> Organization: Gutteklubben Terrasse / KRST / PUMS / YASMW X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-Stop-Spam: http://www.cauce.org From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 17 Apr 1998 12:07:11 +0200 In-Reply-To: Joel Ray Holveck's message of "Wed, 15 Apr 1998 22:53:09 -0500 (CDT)" Message-ID: Lines: 19 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joel Ray Holveck writes: > [following up to -current] > > I changed current's src/sys/i386/isa/syscons.c to put the "should we > > stop the screensaver" check before the "should we just return" check. > The screensaver needs to properly handle shutdown before the switch, > but that's not hard. If you're writing a graphical screensaver, talk > to me and I'll get you my template. OK, I added a call to stop_scrn_saver() right before the switching code in switch_scr(). Perhaps it's *too* conservative, but I figured it can't hurt. As to your template, I remember you mentioning it way back; I'd love to see it. I have written two graphical screensavers (the logo saver you've already seen, and a starfield with eight levels of parallax scrolling) which would certainly benefit from your code :) -- fprintf(stderr, "I have a closed mind. It helps keeping the rain out.\n"); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message