Peter Coghlan wrote:
OOOPS!! The
first line should have included:
<ESC>[16;99r
rather than
<ESC>[0;99r
Hi Jerome,
There are still some errors in the files.
I think the first line of the second file should also be changed
to <ESC>[16;255r rather than <ESC>[0;255r
I also suspect <ESC>[2J should be used instead of <ESC>2J in both cases.
There is a < missing after 2J in the first line of each file.
When I tried displaying the two files (after the above corrections) on a DECterm
created by DECWindows on OpenVMS Alpha V8.2, the scrolling region setting was
not altered unless I reduced boundaries of the scrolling region requested
to fit within the current page size of the DECterm. For example, <ESC>[16;38r
worked on a DECterm set to a page length of 40, but not on a DECterm set to a
page length of 24.
(Over the years I have seen many so-called VT100 emulators on PCs and Macs that
made no attempt whatever to implement scrolling regions.)
I obviously did not check very well. Thank you for both the corrections
AND especially for your results.
This is the first time I have heard of DECterm supporting more than 24
lines,
so the answers which you provide are particularly helpful since they
confirm the
results that have been found by E. Groenenberg and John Wilson, and
specifically
in respect of screens of more than 24 lines of which you are the only
one to note
what DEC did when more than 24 lines are available.
The specific target in this case is the SD: for RT-11 which uses a scrolling
region from line 8 to line 24. What I will do with this information poses a
problem. Does anyone else use SD: under RT-11? My very first reaction:
SET SD HEIGHT=nnn
or
SET SD LINES=nnn
Which seems more user friendly? If there is any interest in having:
SET SD WIDTH=nnn
This option could also be implemented to use the capacity of a 132 character
text line rather than always confining the output to 80 characters. SD:
offers
a graphics (only for a VT100) display which shows the values of all the
registers
and the first 4 values on the stack.
THANK YOU AGAIN!
Jerome Fine
P.S. Comments on SET command vocabulary and any other suggestions
will be very welcome and helpful, especially from anyone who still
uses RT-11 and SD:.