Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.development    |    Operating system development chatter    |    4,255 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,955 of 4,255    |
|    mutazilah@gmail.com to All    |
|    SetConsoleMode    |
|    28 Nov 21 01:19:26    |
      From: muta...@gmail.com              When I run micro-emacs, it needs to switch to getting       keystrokes from the user without the OS echoing the       characters and without waiting for a complete line to       be obtained.              In Unix there is an ioctl call to switch to that mode. On       Windows there is a SetConsoleMode function:              https://docs.microsoft.com/en-us/windows/console/setconsolemode              On MSDOS it appears that the application is instead       meant to stop doing a read() call and basically do an       INT 21H that is get_char_immediate_without_echo().              I'm wondering if there is some underlying principle that       says which of those 3 approaches is technically the best.       How do you compare APIs?              Thanks. Paul.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca