From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ryan Underwood" Subject: Re: ANSI behaviour Date: Sat, 22 Feb 2003 03:06:24 +0000 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20030222030624.B64A375370@mail.icequake.net> References: <007501c2d9e5$0b288be0$0200a8c0@ufuria.org> Mime-Version: 1.0 Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "K. Reid-Grey" Cc: linux-msdos@vger.kernel.org Hey, > I've been using DOSemu's "virtual" com ports to run a bunch of BBS doors > under Linux and I've noticed the output appears a little different because > of the way the terminal behaves to some ANSI sequences compared with real > DOS. > > In MS-DOS ESC[2J clears the screen /and/ homes the cursor while terminal > clients only clear the screen. This means the next screen is drawn from from > the bottom row of the previous one, scrolling the screen. Yep, this is a quirk of the MS-DOS console driver. The only way around it really is to use a terminal emulator that supports it. I have hacked support for it (along with some other DOS quirks, like printing control characters < ASCII 32 from the video card ROM) into PuTTY so that the Unix pterm would support them, but the author wants a more cleaned up version of the patch first. :) -- Ryan Underwood, , icq=10317253