TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: David George 72240,134 (X)
from: Bob van der Poel 76510,2203
date: 1992-12-06 16:50:06
subject: #17216-termcap

#: 17221 S12/OS9/68000 (OSK)
    06-Dec-92  16:50:06
Sb: #17216-termcap
Fm: Bob van der Poel 76510,2203
To: David George 72240,134 (X)

David, thanks for the help with 'cs'. I finally have it working properly with
my VED editor. I was real confused for awhile--I had the arguments backwards.
To send the sequence you do (assuming that CS is the ptr to the 'cs' string):

   putpad(tgoto(CS,number_of_lines,top_line));

Sending a LF at the bottom line will cause scrolling to occur in the region.

Are you going to post your termcap info? I have the O'Reilly book as a
reference and it seems quite complete.

The only problem supporting this on the MM/1 and VT100 is that to simulate this
with Kwindows you need to do a CWAREA(topline,0,numlines,ncols). I was going to
be tricky and define a 'cs' for kwindows. But it won't work--you have to send
binary 0's for the top line and left column...and ya can't send a NULL in a
termcap string . So I end up with two routines.

SOURCE: compuserve via textfiles.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™.