Path: csiph.com!news.mixmin.net!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 01:30:46 -0700 Organization: None to speak of Lines: 33 Message-ID: <875y7a1v7t.fsf@nosuchdomain.example.com> References: <87ilbb13tu.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="a44f767d52f7a9230c899799d3560062"; logging-data="949624"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+M7xWcSkn50gRfeDBTCpzK" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:ETHHXYRlILSc2nRRsG4CsrvwGcM= sha1:osBD5dPePn1cYm+vn3HeQ+g11s0= Xref: csiph.com comp.lang.c++:90730 "R.Wieser" writes: > Keith, > >> I know the OP wrote "console", but I suspect they're looking >> for something that works on a terminal emulator. > > Nope, not an emulator. As said, "bullseye lite" doesn't have a GUI. > > As for the difference between a "console" and a "terminal" ? I must say > that its not quite clear (read: confusing) to me , as it seems to be used > interchangably. If you have a good description about the differences > between a "console" and a "terminal" than I would like to hear about it. > > Simply said, to me a "console" is the text-based interface you get on a > 'puter thats executing the commands. A "terminal" is the program you use > to remotely(?) connect to such a console. The term "console", on Unix-like systems, typically refers to the system console, sometimes accessed via /dev/console, while a "terminal" is a more general term for a text-based interface, usually accessed via /dev/tty* or similar. (A typical user might never see the console.) Historically, you'd have a single system console (hardware terminal) connected directly to the computer, and one or more remote terminals for users. More modern interfaces (virtual consoles and terminal emulators) are based on that. The details beyond that are probably off-topic here, if they aren't already. -- 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 */