🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.xerox
Article #597

End to reverse-video PAGEFULLFNs

#597
From: Peter Karp
Date: Thu, 06 Oct 1988 03:39
43 lines
2121 bytes
What follows is a replacement for the standard Interlisp
PAGEFULLFN.  PAGEFULLFN is called when a window fills up
with output; the standard function supplied with Interlisp
turns the window reverse-video and waits for you to type
a character.

Rather than reverse-video the window, which I find annoying, the
function below fills your window with a pattern which you define.
I happen to like a lightly speckled pattern which you can get by

    (SETQ PAGEFULL.TEXTURE (CREATETEXTUREFROMBITMAP (EDITBM))

and using the bitmap editor to create an 11x11 bitmap with a single
black dot in the middle.  Otherwise it has the same functionality
as the default PAGEFULLFN.  Enjoy....




(PAGEFULLFN
  [LAMBDA (WINDOW)                  (* PKarp: "28-Sep-88 22:11")

          (* * Replacement for the system function that is called when output to a displaystream fills up the associated window.)

          (* * Actions: If the terminal input buffer is empty then we
fill the window with a distinctive pattern, wait till the user types
something, and then remove the pattern; else we just return because
the user has indicated we should pause.)


    (if (NOT (READP T))
        then (PROGN (BITBLT NIL NIL NIL WINDOW NIL NIL NIL 
                            NIL (QUOTE TEXTURE)
                            (QUOTE INVERT)
                            PAGEFULL.TEXTURE)
                    (CONTROL T)
                    (READC)
                    (CONTROL T)
                    (BITBLT NIL NIL NIL WINDOW NIL NIL NIL 
                            NIL (QUOTE TEXTURE)
                            (QUOTE INVERT)
                            PAGEFULL.TEXTURE])
-------
Technical Details
Message-ID: <12436151294.19.KARP@SUMEX-AIM.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!SUMEX-AIM.STANFORD.EDU!KARP

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!SUMEX-AIM.STANFORD.EDU!KARP
From: KARP@SUMEX-AIM.STANFORD.EDU (Peter Karp)
Newsgroups: comp.sys.xerox
Subject: End to reverse-video PAGEFULLFNs
Message-ID: <12436151294.19.KARP@SUMEX-AIM.Stanford.EDU>
Date: 6 Oct 88 03:39:22 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: info-1100@tut.cis.ohio-state.edu
Organization: The Internet
Lines: 43