TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: Peter Fitzsimmons
date: 1995-10-13 03:31:04
subject: fast PM scrolling

BE> I'm looking for a book about advanced uses of scroll bars, and
 BE> continual screen writes that don't gobble up resources.  I have OS/2
 BE> Real World Programming, by SAMS and it is just OK for what I want. 
 BE> Any suggestions.

 PC> What do you mean by continual screen writes?  As in a 
 PC> communications program
 PC> where the screen is constantly scrolling when 
 PC> receiving data?  This is what

sigh...this is really not that hard.  The secret is to scroll more than one
line at a time,  if you have received more than one line of data since the
last scroll.

I wrote some PM code to do fast scrolling (in a real PM program,  not
el-cheapo AVIO) about 6 years ago,  but it wasn't until last year's
coloradOS/2 that I cleaned it up enough to release it.   That was about 1.5
years ago -- and I did release it,  but I guess it didn't get much further
than the coloradOS/2 '94 cdrom.  I'll post it on my bbs.

It is a _very_ dumb terminal program,  and the code is meant to be
explained by me while I am giving a presentation (ie: there are but few
comments in the code).

Hint: to see how fast it can scroll,  type a text file name for the port
(instead of "COM1").

FREQ pmtermsr.lzh from 1:259/414,  approx 30k.  Requires IBM or Watcom compiler.


--- Maximus/2 3.00
* Origin: Sol 3 * Toronto * V.32 * (905)858-8488 (1:259/414)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 259/414 400 99 229/2 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.