Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#142 ESC in shell shouldn't trigger ANSI

0.58
closed
shell (25)
1
2012-09-07
2003-06-21
Justin Kerk
No

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)

Discussion

  • Peter Veenstra
    Peter Veenstra
    2003-06-25

    Logged In: YES
    user_id=535630

    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
    there.)
    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
    priority.

     
  • Justin Kerk
    Justin Kerk
    2003-06-26

    Logged In: YES
    user_id=134009

    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
    user_id=535630

    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.