Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

ANSI escapes for input (Developers)

posted by mbbrutman Homepage, Washington, USA, 24.07.2023, 03:01

I'm confused by this question.

Terminals needed a way to send codes for special keys over the wire. DOS computers were supposed to use the DOS keyboard interrupt to read keystrokes, or the lower-level BIOS interrupt routines. For special keys you have to use the BIOS routines, as DOS will just return ASCII codes.

When acting like a terminal, sure, those keystrokes have to be translated to whatever ASCII codes the host is expecting. But for local processing it doesn't make sense.

What are you trying to accomplish?

---
mTCP - TCP/IP apps for vintage DOS machines!
http://www.brutman.com/mTCP

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 55 users online (0 registered, 55 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum