Heh heh.... GUI it is then :P -nt-
"Paul Clapham" <email@example.com> wrote:
>Back in the Dark Ages, when Windows didn't exist, there was a DOS device
>driver called ANSI.SYS. We would add a reference to this in our Config.Sys
>files and then we could use ANSI-standard escape codes (which looked like
>\027[1;1a) to position the cursor, clear the screen, change the colour of
>characters, and so on. In fact I still have a copy of the MS-DOS 5.0 User's
>Guide and Reference (copyright 1991, Includes 5.25" disks!) that has a whole
>section that describes how to do that.
>I'm assuming you are using Windows here, because I have no idea of how you
>might do this in Unix (probably with great ease). If you can find ANSI.SYS
>somewhere in your system, you might try configuring a DOS box that loads
>although if you do that I think you'll have to reboot your machine every
>time you want to use it. Or you might configure it into your Config.Sys.
>But I have no idea whether that would work or not. Then you'd have to get
>your hands on an antique DOS manual.
>What I'm trying to say here is, this seems like a lot of work to go through
>to support a technology that has been obsolete for several years. Why not
>write a GUI interface for your application?
>kleric <firstname.lastname@example.org> wrote in message
>> Regarding java applications...
>> I've searched dozens of documents, tutorials, help sites, and message
>> but couldn't find any decent method of clearing the screen.
>> The best method I found was printing out 25 blank lines to scroll the
>> up. Kind of crude, I think.
>> This would work for me, but how do I get the next output to appear at
>> top of the screen rather than at the bottom?