#142 ESC in shell shouldn't trigger ANSI

shell (25)
Justin Kerk

If you type a command in the shell, and press Esc, the
ANSI interpreter is triggered and tries to process
whatever you type next. The ideal behavior would be to
clear the command line, like in DOS with DOSKey running.

(tested with 0.58.3fpu)


  • Peter Veenstra

    Peter Veenstra - 2003-06-25

    Logged In: YES

    How does it go in real dos then ?

    I mean if you do that BSOD.ans of you how does the ansi
    interpreter know that you then want ansi characters ?

    (still got to figure that one out (why one colom is missing
    I always thought that you could even type ansi sequences if
    ansi.sys was loaded.

    I'll assign this one to me as this is somewhat my part. But i
    consider it a wish rather then a bug so setting it to a lower

  • Justin Kerk

    Justin Kerk - 2003-06-26

    Logged In: YES

    Well, the key thing is that the DOS shell intercepts
    unprintable characters like Esc from the keyboard and
    doesn't print them as-is. The Ctrl key combinations are
    displayed as ^A etc. (which DosBox also doesn't handle) and
    the Esc key is used in a functional way to clear the command
    line. So the issue of ANSI distinguishing between user input
    and computer-displayed text never comes up in real DOS.

  • Peter Veenstra

    Peter Veenstra - 2003-07-14

    Logged In: YES

    The CTRL part is a known "bug"
    See one report of zorbid. (not sure wether I will)

    The ESC part is fixed so I will close the report.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks