Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!nrl-cmf!ukma!uflorida!beach.cis.ufl.edu!jdc From: jdc@beach.cis.ufl.edu (Jeff Capehart) Newsgroups: comp.os.vms Subject: Re: current time on screen Message-ID: <15096@uflorida.cis.ufl.EDU> Date: 22 Apr 88 02:21:04 GMT References: <8804181043.AA13505@ucbvax.Berkeley.EDU> <264@sdrc.UUCP> Sender: news@uflorida.cis.ufl.EDU Reply-To: jdc@beach.cis.ufl.edu (Jeff Capehart) Organization: UF CIS Department Lines: 18 Keywords: clock Summary: partial answer I posted the program which keeps the time on the upper right hand corner. It does have some minor flaws which are because of the environment it operates it. It does not check to see what is being done to the screen and does not make any attempt to fix problems. It just sends the time. When you use and editor with CLOCK, the editor just tells the screen scrolling region to scroll down. Since CLOCK puts the time there, it also gets scrolled. Then the editor resets the scrolling region. To make the CLOCK more efficient, it does not set the scrolling region each time it puts the time out, so a symbol called FREEZE is defined which will freeze the time back on the top line. This was in the code but not mentioned. I guess I should have made a feeble attempt to document its usage. It can also be de-activated by running it a second time. It isn't real big so I can post it again if some people missed it. Please don't expect more out of it than is possible. Remember we are dealing with terminal I/O, not memory mapped video like on PC's. -- Jeff Capehart Internet: jdc@beach.cis.ufl.edu University of Florida UUCP: ..!ihnp4!codas!uflorida!beach.cis.ufl.edu!jdc