public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ryan Underwood" <nemesis-lists@icequake.net>
To: "K. Reid-Grey" <kageri@ntlworld.com>
Cc: linux-msdos@vger.kernel.org
Subject: Re: ANSI behaviour
Date: Sat, 22 Feb 2003 03:06:24 +0000	[thread overview]
Message-ID: <20030222030624.B64A375370@mail.icequake.net> (raw)
In-Reply-To: 007501c2d9e5$0b288be0$0200a8c0@ufuria.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, <nemesis at icequake.net>, icq=10317253

  parent reply	other threads:[~2003-02-22  3:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21 20:08 ANSI behaviour K. Reid-Grey
2003-02-21 20:14 ` Ged Haywood
2003-02-22  3:06 ` Ryan Underwood [this message]
     [not found] <008901c2d9e7$19bdd820$0200a8c0@ufuria.org>
2003-02-21 20:33 ` Ged Haywood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030222030624.B64A375370@mail.icequake.net \
    --to=nemesis-lists@icequake.net \
    --cc=kageri@ntlworld.com \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox