Path: csiph.com!news.swapon.de!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c++ Subject: Re: Parsing multi-byte keystrokes Date: Mon, 26 Jun 2023 14:32:38 -0700 Organization: None to speak of Lines: 68 Message-ID: <87bkh1zz7t.fsf@nosuchdomain.example.com> References: <87ilbb13tu.fsf@nosuchdomain.example.com> <877crq1va9.fsf@nosuchdomain.example.com> <87o7l2yqvo.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="a44f767d52f7a9230c899799d3560062"; logging-data="1152428"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ykUqulQH1yUP+4Wli+++Y" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:TtZH7dy+0YcZd0pY4vaQhlUfjQk= sha1:3Hp6QWsyKxhk8BDqeotb0X6n0xs= Xref: csiph.com comp.lang.c++:90765 "R.Wieser" writes: > Keith, > >>> As I said, the difference between them is /at best/ confusing. That you >>> than introduce "system console" without offering any explanation to it >>> does >>> not help either. :-| >> >> Apparently it helped you to find more information. > > No, it didn't. I could not care less about what, on my machine, the > difference is between a "system console" and a "console". But I *had* to > search for it, because it *could* have been of importance in regard to the > distinction between a "console" and a "terminal". It wasn't. IOW, I wasted > my time. I do not accept responsibility for that. >> It's fairly common to use the word "console" (perhaps incorrectly) >> to refer to terminals in general. > > Thats what I said. They are pretty-much used interchangably. That's not what I said. The term "console", when used correctly for Linux-based systems and probably some others, refers to the virtual consoles typically accessed via Ctrl-Alt-FN or Alt-FN -- *not* to terminal emulators like xterm. Some people are sloppy about the usage (and it often doesn't matter, since they really are quite similar in most ways.) (There's also an "xconsole" command that runs under X11 and displays messages sent to /dev/console. The fact that these things that were once handled in hardware are now almost entirely handled in software does create some confusion.) > Currently I still do not know with what I should refer to the > console/terminal/tty/whatever on which the boot-process outputs its progress > and I than use to program in. Or with what I should refer to the ones under > ALT F2...F6. They're called virtual consoles. >> Terminal emulators typically run as windows under X11 (or Wayland, >> or whatever). > > Any reason for the "emulator" postfix ? Other than by habit I mean ? And > yes, I recognise that a console in a window puts character based content in > a pixel-based environment. Yes. A literal *terminal* is a hardware device that includes a monitor, a keyboard, and some kind of connector. The VT100 is an example. A terminal emulator is a software program designed to emulate a terminal. Terminal emulators are far more common these days than physical terminals. > To be honest, I took the "terminal emulator" as being a /program/ which runs > on another computer, translating whatever it gets into screen output, and > translates keyboard input to whatever the other side needs (VT100 codes or > alike). Right -- except that it doesn't have to run on another computer. [...] -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */