Hello Doug,
On Fri May 22 2020 00:19:00, Doug Cooper wrote to Richard Miles:
DC> I do this often. The one area I have yet to fully understand is how
DC> to display a 24x80 ANSI, use the X/Y display codes to place the
DC> prompts within prompt editor, but not have the remaining line ANSI
DC> disappear or shift from its originally drawn location. I understand
DC> it has something to do with the L/R/C functions but haven't really
DC> been able to figure it out. But, haven't committed a lot of time to
DC> it. Any quick tips?
80x24 ansis can be a bit of a pain sometimes, due to the pause prompt and/or
the telnet program's status bar being enabled/disabled. I accomplish what
you're trying to do by editing the ANSI with a text editor. Go to the very last
character on the last line of the screen (DO NOT hit enter and do not line
wrap). Then enter your X/Y coordinates.
If you are using your prompt editor to place the cursor and a prompt, then in
the ANSI all you need is [X01[Y01 or something so that while the ansi is being
drawn, it will move the cursor from the bottom of the screen to just about any
line above it. This usually fixes the issue of the 24th line being cut off.
If a pause prompt is displayed after this screen, it may not work, and you may
have to go with a 23 line ansi in some places, but I'm assuming you're working
on the handle/password prompt still so this technique should work for you.
Regards,
Nick
... "Take my advice, I don't use it anyway."
--- GoldED+/LNX 1.1.5-b20181215
* Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
|