#: 17232 S5/OS9 Users Group
08-Dec-92 23:08:50
Sb: #17230-OS9 Underground
Fm: Bob van der Poel 76510,2203
To: BOB LEET 72020,2536
Bob, to contact Alan Shetra try
>internet:zog!sysop@abode.ttank.com
Bob. 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.
|