From owner-freebsd-current Wed Apr 22 20:30:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA18344 for freebsd-current-outgoing; Wed, 22 Apr 1998 20:30:51 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from wcc.wcc.net (wcc.wcc.net [208.6.232.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18329 for ; Thu, 23 Apr 1998 03:30:48 GMT (envelope-from piquan@wcc.wcc.net) Received: from detlev.UUCP (tnt82.wcc.net [208.10.139.82]) by wcc.wcc.net (8.8.8/8.8.8) with ESMTP id WAA05068; Wed, 22 Apr 1998 22:13:48 -0500 (CDT) Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.8) id VAA01114; Wed, 22 Apr 1998 21:13:45 -0500 (CDT) (envelope-from joelh) Date: Wed, 22 Apr 1998 21:13:45 -0500 (CDT) Message-Id: <199804230213.VAA01114@detlev.UUCP> To: dag-erli@ifi.uio.no CC: current@FreeBSD.ORG In-reply-to: (dag-erli@ifi.uio.no) Subject: Re: syscons.c and graphical screensavers From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199804160353.WAA01213@detlev.UUCP> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>> 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. Okay. I'll test some stuff out. > 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 :) If you could send me your current code, it may give me an idea as to what is useful to code and what is not. Best, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message