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,956 of 4,255    |
|    JJ to muta...@gmail.com    |
|    Re: SetConsoleMode    |
|    29 Nov 21 12:34:54    |
      From: jj4public@gmail.com              On Sun, 28 Nov 2021 01:19:26 -0800 (PST), muta...@gmail.com wrote:       > 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.              Best is relative. One's trash can be someone else's treasure, and vice       versa. So, include all of them.              > How do you compare APIs?       >       > Thanks. Paul.              Check everything. e.g. feature coverage; and advantages/disadvantages of       each feature implementation and usage - which includes performance, resource       usage efficiency, and extendability.              --- 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