From owner-freebsd-hackers Sun May 18 19:45:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA27483 for hackers-outgoing; Sun, 18 May 1997 19:45:31 -0700 (PDT) Received: from gw.itfs.nsk.su (gw.itfs.nsk.su [193.124.36.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id TAA27475 for ; Sun, 18 May 1997 19:45:18 -0700 (PDT) Received: from itfs.UUCP (uucp@localhost) by gw.itfs.nsk.su (8.6.12/8.6.12) with UUCP id JAA07074 for hackers@freebsd.org; Mon, 19 May 1997 09:30:23 +0700 Received: by itfs.nsk.su; Mon, 19 May 97 09:58:58 +0700 (NST) Received: (from daemon@localhost) by news.itfs.nsk.su (8.7.5/8.6.12) id JAA08830; Mon, 19 May 1997 09:34:06 +0700 (NSD) From: "Nickolay N. Dudorov" To: hackers@freebsd.org Subject: Re: NEW SCREENSAVER: "the daemon is jumpin' around" Date: 19 May 1997 02:34:03 GMT Message-ID: <5loe6r$840@news.itfs.nsk.su> References: Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk S Sigala wrote: > I have just written this new LKM screensaver. It looks pretty, but here is a patch to do it still prettier ;-) (If you use say yellow on blue text screen, then first spaces in daemon picture was drawn with this attrs, while all others in white on black) diff -u daemon_saver.c.orig daemon_saver.c ================================================ --- daemon_saver.c.orig Mon May 19 09:26:55 1997 +++ daemon_saver.c Mon May 19 09:26:55 1997 @@ -100,7 +100,7 @@ draw_daemon(int xpos, int ypos) { int x, y; - int attr; + int attr = (FG_WHITE|BG_BLACK)<<8; for (y = 0; daemon_pic[y] != NULL; y++) for (x = 0; daemon_pic[y][x] != '\0'; x++) {