hsgj@batcomputer.UUCP (07/18/86)
Bug Report: Amiga ANSI Console, with KickStart v1.1 or v1.2. According to my VT100 manual, there is an ANSI sequence for Erase in Display and another for Erase in Line. The descriptions of these are: ED: Erase in Display. ESC [ Ps J Parameter Parameter Meaning --------- ----------------- Ps = 0 Erase from active position to the end of the screen. Ps = 1 Erase from the start of the screen to the active position. Ps = 2 Erase all of the display. EL: Erase in Line. ESC [ Ps K Parameter Parameter Meaning --------- ----------------- Ps = 0 Erase from the active position to the end of the line. Ps = 1 Erase from the start of the line to the active position. Ps = 2 Erase all of the line. The bug is that no matter what you specify for the "Ps" parameter in either of these functions, the CONSOLE always performs function 0, which is "erase from current position to end of line/screen". I was hoping this would be fixed in v1.2, but apparently it wasn't. This bug explains why a lot of "vt100 emulators" die when the user tries to run Emacs or a game like Larn -- both these programs use the Ps = 1 parameter a lot in Erase in Display. I would be interested to know whether Commodore/Amiga intends to remedy this at some point. Unfortunately I expect CBM to say "sorry, thats not ANSI, thats VT100..." However, I distinctly remember seeing reference to these functions in the ANSI X3.64-1977 docs; unfortunately I don't have access to them at my desk now to confirm this. -- Dan Green -- ARPA: hsgj%vax2.ccs.cornell.edu@cu-arpa.cs.cornell.edu UUCP: ihnp4!cornell!batcomputer!hsgj BITNET: hsgj@cornella