From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,cb49da638a9efacf X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-06-10 11:41:26 PST Path: sparky!uunet!think.com!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!cmcl2!psinntp!psinntp!eco.twg.com!eco.twg.com!reece From: reece@eco.twg.com (Reece R. Pollack) Newsgroups: comp.sys.dec Subject: Re: VT100 & VAX C Message-ID: <1992Jun10.160459.15357@eco.twg.com> Date: 10 Jun 92 16:04:59 GMT References: Sender: reece@crash.eco.twg.com (Reece R. Pollack) Reply-To: reece@eco.twg.com (Reece R. Pollack) Distribution: usa Organization: The Wollongong Group (East Coast Operations) Nntp-Posting-Host: eco.twg.com In article , wilsonj@vccsouth01.its.rpi.edu (John Michael Boulton Wilson) writes (edited for brevity): |>Re VT100 -- being anal about VT100 compatibility is right up my line, |>I've been working on the multitasking terminal program from hell for |>years and I've spent hours and hours playing with real VT100's to find |>out all the semantics (we used to make pretty pictures in local mode |>when the system was down back in high school). |> |>Actual bugs: I'm aware of three flagrant firmware bugs: |> |>2. I hope I remember this correctly: starting from ANSI mode, turn on |> smooth scroll (ESC [?4h), place the cursor on line 24 (ESC [24H), |> put it in VT52 mode (ESC [?2h (? l?)), turn on the graphics character |> set (ESC F), and send a line feed. Then undo the mess (ESC G |> ESC < ESC [?4l) and the scrolling will be all screwed up -- line |> feed will make the cursor go *up* most of the time, not always one |> line, sometimes skipping one, sometimes the new line is hidden. |> If you send this sequence more than once it seems to make things worse, |> and after a few times you can then line feed down to a point where one |> line is replicated on the screen 23 times! (including 23 cursors). |> N.B.: this only works when sent to the terminal over the comm line, |> you can't do it in local mode. On certain generation VT100's, sending the 'set smooth scroll' sequence, followed immediately by the 'set jump scroll' sequence causes the screen to scroll both upward *and* downward from the middle, with two cursors displayed. All displayed text appears both on line 12 and 13, and line feeds cause line 12 to move to line 11, while line 13 moves to line 14, and so on. Aren't computers fun? -- Reece R. Pollack Senior Software Engineer The Wollongong Group, Inc.