home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best Objectech Shareware Selections
/
UNTITLED.iso
/
boss
/
util
/
dos
/
002
/
scrollit.doc
< prev
next >
Wrap
Text File
|
1993-05-29
|
37KB
|
900 lines
SCROLLit
Advanced ScrollBack Buffer
Version 1.7
Copyright 1992-93
All Rights Reserved
By
Bromfield Software Products
P.O. Box 70081
Ottawa, Ontario
K2P 2M3
Canada
Compuserve 71054,3051
License
SCROLLit is NOT free software, but is being distributed as
"shareware".
Non-registered users of this software are granted a limited
license to use this program for a trial period of thirty days for
the purpose of determining if SCROLLit is suitable for their
needs. At the end of this trial period, you should either
register your copy or discontinue using SCROLLit.
Whether or not you register SCROLLit, we encourage you to share
the unregistered version of the program with your friends and
colleagues and to upload it to any BBS's you use. Please be sure
to keep all the files together; a complete list of files appears
in README.DOC.
Introduction - What is SCROLLit?
SCROLLit is a memory resident (TSR) program that captures, in
full color, the lines of text that scroll off the top of the
video screen and stores them in an XMS, EMS or conventional
memory 'scrollback' buffer of a size specified by the user. A
fast compression technique is used to store more than twice the
number of lines in the available buffer space.
SCROLLit can then be activated or 'popped up' over any non-
graphical program by pressing the scroll lock key. Once
activated, SCROLLit will let you scroll back through this saved
information, line by line or page by page. SCROLLit has a fast
search capability as well as a block-write feature that allows
you to mark a block of lines for writing to a disk file or
sending to your printer.
1
Capturing Lines
Once resident, SCROLLit monitors video activity to capture text
lines that are scrolled off the top of the screen. You may wish
to look back through the output of the DIR command in DOS, or
review the progress of a Bulletin Board (BBS) session while using
your communications software, for example.
A program can scroll the screen in three ways: DOS (interrupt
21h) function calls, BIOS (interrupt 10h) function calls, and
direct writing to video memory. SCROLLit is able to capture both
DOS and BIOS scrolling, but not the scrolling performed by direct
screen writing. Fortunately, many programs that use direct screen
writing can be configured to use BIOS function calls. Appendix 1
describes how to reconfigure two popular communications programs
(Qmodem and Telix) to use BIOS scrolling, rather than direct
screen writing.
Some programs clear the screen rather than scrolling old output
off the top of the screen. Monitoring DOS and BIOS scrolling
would not capture this output because no scrolling is involved.
To get around this problem, SCROLLit monitors BIOS 'clear-screen'
requests. When a clear-screen request has been made, SCROLLit
copies the entire screen to the scrollback buffer before the BIOS
clears the screen. As a result, you will find that SCROLLit
captures more output than most other scrollback buffer utilities.
Disable Screen Capture Temporarily
SCROLLit's capturing of screen scrolling and clear-screens can be
temporarily disabled by typing:
SCROLLit /-
Screen capturing can later be re-enabled with the /+ command line
switch. It may be useful to disable screen capturing before
executing a program that generates a lot of scrolling or clear-
screens, but that you do not wish captured in your scrollback
buffer. WordPerfect is a good example of this. In WordPerfect, as
you page through your document, SCROLLit would normally capture
each page into the scrollback buffer, potentially taking up a lot
of buffer space. You may find it convenient to execute
WordPerfect using a simple batch file as follows:
CD\WP51
CLS
SCROLLIT /-
WP51
SCROLLIT /+
SCROLLit can still be popped up when capturing is disabled, so
that you can still scroll back through lines that were captured
before screen capture was disabled.
2
Compressing the scrollback buffer
Each line that SCROLLit saves contains 80 characters and 80 color
attributes, requiring a total of 160 bytes storage. A full 25
line screen requires 4000 bytes of storage space. There is
usually a lot of blank space on a screen, however, and the color
attributes are often unchanged for an entire line of text and
sometimes the whole screen. SCROLLit uses a very fast run-length-
encoded compression algorithm to shrink the amount of space
required to save a line of text and is typically able to compress
the scrollback buffer by 60 to 70%, meaning that more than twice
the number of lines of can be saved in the available buffer
space.
The extent to which SCROLLit has been able to compress the
scrollback buffer is displayed when the help key (F1) is pressed.
╒═════════════════════════════════╕
For example: │ Number of lines saved: 2046 │
│ Average bytes per line: 43 │
│ Percent compression: 73% │
╘═════════════════════════════════╛
There is some overhead in setting up the buffer, which means that
SCROLLit will obtain better compression with a larger buffer
size.
Installing and Unloading SCROLLit
SCROLLit is a memory resident (TSR) program that is installed in
memory by typing SCROLLit followed by the desired scrollback
buffer size in kilobytes. The buffer size must be at least 20k.
For example, to install SCROLLit with a 100k scrollback buffer,
type:
SCROLLit 100
You may wish to store this command in your autoexec.bat file to
ensure that SCROLLit is loaded whenever you turn on your
computer. You will need to prefix the command with the name of
the directory where SCROLLit is stored, or store SCROLLit in a
directory that you have set in your path command.
SCROLLit can be unloaded from memory with the /U command line
option, provided that other TSR's have not been loaded after it:
SCROLLit /U
Installing and unloading of SCROLLit is this simple. There are
other command line options that will be discussed throughout this
document. A complete list of command line options is provided in
Appendix 3, and can be displayed by typing:
SCROLLit /?
3
Me