copy / copy/v86

Windows 98/95 DOS prompt - cursor jumps around

Open
#193 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
23.5k
Forks
1.9k
Avg merge
2d 14h
Merged PRs (30d)
7

Description

I saw this interesting bug a while ago but I didn't know how to reproduce it reliably until now.

Open DOS prompt on Windows 98/95. If you give your keystrokes enough delay, the cursor loves jumping backwards and does interesting things. What could this be?

Here's a little gif demo. Grab some popcorn.

![win9x-console](https://user-images.githubusercontent.com/2609018/36243137-f29cf27a-1284-11e8-837f-83555af1706b.gif)

I'll just dump a couple more observations...

You can see that when the glitch occurs, the previous command / stdin is partially reused:

![win9x-console-careful](https://user-images.githubusercontent.com/2609018/36244723-3d5375bc-128c-11e8-8560-9c8f7385d300.gif)

On Windows 95, reading from console stdin (via `type con`) illustrates this:

![win95-typecon](https://user-images.githubusercontent.com/2609018/36245550-8db7b316-1290-11e8-8ee0-7b06f9a090c7.gif)

On Windows 98, reading from console stdin (via `type con`) closes abruptly with random artifects:

![image](https://user-images.githubusercontent.com/2609018/36244937-49c19c6a-128d-11e8-88c2-9cbf8d954987.png)

Notice how the garbage text jumped back into the previous line. It's supposed to look like this: (typing the exact same thing in VirtualBox)

![image](https://user-images.githubusercontent.com/2609018/36244919-3d9e8876-128d-11e8-9c20-2ed51b0228a9.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.