Re: std::cin and disabling canonical line processing (buffering)



Harold Bamford wrote:
Thanks! I'll try it today.

Sure seems strange that all this is needed to just read characters from the console.

When I get all this going, I plan to write an article at CodeProject; I cannot be the only one to have to go through all of this!

How would you like to be referenced?

Tom Widmer or Thomas Widmer is fine, mentioning the MVP bit or not. However, I should point out that I know very little about Win32 consoles, I just fiddled for about 5 or 10 minutes to come up with each suggestion, so there may well be a more canonical way of doing all this.


Tom
.



Relevant Pages

  • Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
    ... Michal Mertl wrote: ... >>I feel like I am missing a lot here. ... I want to display 132 characters per ... > who didn't have text mode console covering all LCD surface. ...
    (freebsd-questions)
  • Re: Unicode-based FreeBSD
    ... This is clearly an area where FreeBSD is lacking. ... Does Linux really display and render all Chinese ... of characters, there are also such things as precomposed-decomposed ... Non-X console in graphical mode. ...
    (freebsd-current)
  • Re: Console character sets
    ... > hex values to the console to draw rudimentary boxes and charts. ... > characters are not working at all on the OSR6 console. ... > on getting this app to display properly on OSR6 ... You can see this charset by catting out a character chart. ...
    (comp.unix.sco.misc)
  • Re: Win32 API call ReadConsoleOutput
    ... Could it be that the console is only 132 x 300? ... how much you can read regardless of the size of the buffer you supply. ... > whose columns x rows product exceeds about 13,300 characters. ... > times the threshold where ReadConsoleOutput fails. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Kernel utf-8 handling
    ... console*, not for X, that handles utf8? ... the console will work (don't know about a console terminal ... all the dead latin1 accents working on my uk keymap. ... I only use compose keys for a bunch of characters like © ...
    (Linux-Kernel)