Quote:
Can support for vt100, vt220 etc, escape sequences be added in? Specifically I'd be thrilled to have the [2J clear screen made functional for the next release.
I get asked this every few months, so I'll try to explain why it isn't practical.
In the old days - many years ago - dumb terminals (like VT100, VT200, TVI912 etc.) where just bits of electronics with a screen. They would display 24 lines of 80 characters, and that was that.
The early models just scrolled, so that when new text arrived, the previous stuff disappeared off the top of the screen and was lost.
Then later ones introduced the idea of "cursor addressing" (hence the "escape" codes), so you could put the cursor to anywhere on the screen (within the 24 lines, 80 columns).
To make this really useful, they also added "clear screen" so you weren't just overwriting previous junk.
However this concept doesn't really carry over very well to MUD clients.
MUSHclient doesn't have 24 lines, it has up to 500,000. Do you really want a "clear screen" to remove 500,000 lines of scrollback? The whole point of the scrollback buffer is so that you can review recent messages (tells etc.), recent room descs, and other useful stuff. To lose all of it at the whim of the server would seem a bit extreme.
If it doesn't clear all those lines, then what does it do? Say, the screen goes blank, maybe that could be done, but what happens when you scroll back? Say, each room started with a "clear screen". How do you represent those "clear screens" as you scroll back with the scroll thumb, or pressing "Page Up"? A whole lot of blank lines?
I'm sorry, but I don't see it working. MUDs are by their nature scrolling things. I can see what you are hoping to see visually, but I don't see how scrolling would work.
I also don't see how cursor addressing will work. For example, at present, MUSHclient evaluates triggers at the end of a line. If the cursor addressing makes the cursor jump from line 1 to line 5, then line 3 and then line 2, when does line 3 actually end? When does the trigger get evaluated?
Quote:
I frankly have the same gripe about not having support for flashing
I'll see what I can do about flashing text. :) |