From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,6624e312e8bf2917 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,6624e312e8bf2917 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Fri, 01 Jul 2011 21:18:49 -0400 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,comp.sys.dec Subject: Re: KDA-50 on eBay References: <9675loFh94U1@mid.individual.net> <06d0f22ffd7b1cae839b97d580e1eea1@msgid.frell.theremailer.net> <96tuppF89sU1@mid.individual.net> <4e0a837f$0$311$14726298@news.sunsite.dk> <4e0d1561$0$304$14726298@news.sunsite.dk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4e0e55a7$0$303$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC==0dWKFc[Zo2@@_Mk5OIoD3YSB=nbEKnk;\<522R:;P?=PPfk^U[HX;?N1>V8bAJTI>3eOPKWXlde4Qa4_jgFW[9?LRR[glNi975FQniZF161`1 X-Complaints-To: staff@sunsite.dk Xref: g2news2.google.com alt.sys.pdp11:2352 comp.sys.dec:3750 >Johnny Billquist wrote: >> As far as I can tell, the KED / KEX editor under RT-11 >> uses "[24;132H" to place the cursor at the bottom >> right of the terminal screen. This obviously limits KED to >> terminals set up for a maximum of 24 lines. > > It would appear so, yes. But I wouldn't exactly call that evidence. > After all, it might just do that because that is the bottom right, and > it don't know better. Unless I remember wrong, RT-11 don't keep > information around as for how many lines a terminal have, so unless > the program itself tries to figure it out, 24 lines would be the safe > assumption. The use of the above text places the cursor at line 24 column 132 OR at a line at the bottom of the screen which is above line 24 and at a column at the very right of the screen which is less than column 132. After that, KED sends the command text "[c" to report where the cursor is actually located on the screen. Obviously, if there are more lines available, the cursor will not be at the bottom. Another aspect is that KED / KEX allocates a buffer which can hold the maximum number of characters. However, modifying only these two aspects is not sufficient as was discovered when a test was done using a screen of 50 lines by 80 columns. In addition, if KED / KEX is not modified at all, then when 50 lines are available, the screen can be scrolled to use all 50 lines as the cursor is moved vertically up and all 50 lines appear correctly. Moving the cursor down causes the screen to show VERY incorrect information. Eventually, I will figure out how to correctly modify the code in KED / KEX in RT-11 to display correctly when 50 lines are present. It would seem quite obvious that no one else who uses RT-11 will be interested since you are the only person who has responded and you run RSX-11. > > In RSX, the number of lines of a terminal is kept by the OS, and > programs can read it out, and adapt, if they want to. > However, EDT, which is the only DEC screen editor, does not handle > more than 24 lines, even if your terminal says it have more. EDT > however, do handle both 80 and 132 columns. But not (as far as I know) > any other widths. 80 columns and 132 columns seem to be the two standard sizes that the VT100 started with and most other terminals from DEC retained those two options. They really are the most reasonable since 80 columns is standard for 8 1/2" paper while 132 columns is standard for 15" paper. With the LA120, of course, it was possible to change the size of the characters so that 132 columns were printed on 8 1/2" paper. MACRO-11 listings are set up to use 132 columns with the wide option. >> I may attempt to try and extend the software so that >> at least 50 lines can be used under RT-11. It is quite >> possible that the editors used under RSTS/E and RSX-11 >> can also be modified, especially if they use most of the >> same source code. Is anyone else also interested? > > What editors are you talking about? EDT is the editor under RSTS/E and > RSX, but I didn't think it was used under RT-11. But most of the > source code for EDT is shared between all DEC OSes. EDT is written in > Bliss, by the way. Then the source code for KED / KEX used in RT-11 must not be shared. It is 100 % MACRO-11!!! Jerome Fine