🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2120

map-screen without warping cursor

#2120
From: Dan Friedan
Date: Fri, 22 Mar 1991 05:21
21 lines
1284 bytes
I'm using epoch with twm.  In my .twmrc file I have WarpCursor
set.  So, when a window is mapped, the cursor is automatically warped
to that window.

Nonetheless, from epoch, I'd like to map a screen without this
automatic warping.   Could anyone suggest a means?

I tried to do this by first mapping a screen (called `scr'), then
returning the cursor to the original screen (called `curr-scr') ---

   (let ((curr-scr (current-screen)))
        (on-map-do scr
             (function (lambda (s) (cursor-to-screen curr-scr)))))
   (map-screen scr)

but the cursor ends up in scr, not in the original screen, curr-scr.

    Thanks,

    Dan Friedan
    friedan@physics.rutgers.edu
Technical Details
Message-ID: <Mar.22.00.21.23.1991.12836@elbereth.rutgers.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!emory!swrinde!mips!dimacs.rutgers.edu!rutgers!elbereth.rutgers.edu!friedan

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,1a65b2cf1be82fd1,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-03-22 20:14:46 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!emory!swrinde!mips!dimacs.rutgers.edu!rutgers!elbereth.rutgers.edu!friedan
From: friedan@elbereth.rutgers.edu (Dan Friedan)
Newsgroups: gnu.epoch.misc
Subject: map-screen without warping cursor
Message-ID: <Mar.22.00.21.23.1991.12836@elbereth.rutgers.edu>
Date: 22 Mar 91 05:21:25 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 21