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:29:18 -0700 Organization: None to speak of Lines: 28 Message-ID: <877crq1va9.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/Epw+DdvzhZgZzPwGG1R/D" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:ZiVruFteJUDb3jrcerZHGJJ+klw= sha1:ph/hBsSTw/w+9nANP0eJLJVvclQ= Xref: csiph.com comp.lang.c++:90729 "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.) The details beyond that are probably off-topic here. -- 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 */