Timeline for What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?
Current License: CC BY-SA 3.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 5, 2019 at 13:47 | comment | added | Incnis Mrsi | @Motivated: unsure what did andcoz mean, but a terminal emulator uses the PTY interface not a tty – it’s namely the distinguishing feature of emulators. | |
Jan 16, 2019 at 16:50 | comment | added | Motivated | @andcoz - Do you mean to say that when a terminal emulator is launched it utilizes one of tty files to communicate with the shell and other programs? | |
Jan 16, 2019 at 16:50 | comment | added | Motivated | @andcoz - My understanding is that X11 is a network protocol to enable communication between X Window System clients. | |
Jan 16, 2019 at 16:44 | comment | added | Motivated | Let us continue this discussion in chat. | |
Jan 16, 2019 at 13:45 | comment | added | andcoz |
@Motivated /dev/pts/0 is a tty file, an handler to a programmatic interface exposed by the kernel. Through this handler, a program (e.g. the shell) can interact with a terminal (real or virtual). A terminal emulator is a software that emulates a terminal. The emulator asks the kernel to create an handler to let programs to interact with itself (see man openpty ). So information flows from the terminal (emulator) to the kernel tty handler, to the program (and vice versa). Programs and terminals do not talk each other directly but only through the tty file (the handler).
|
|
Jan 16, 2019 at 11:25 | comment | added | andcoz | @Motivated, in a desktop computer, the console is part of the desktop hardware. Usually, in non desktop computer, the console is a separate piece of hardware. | |
Jan 16, 2019 at 11:20 | comment | added | andcoz |
@Motivated X11 is an alias for X Windows System Protocol version 11 . XOrg is only one of many implementation of X11.
|
|
Jan 16, 2019 at 6:46 | comment | added | Motivated | @anzcos - Do you also mean to say Xorg rather than X11? | |
Jan 16, 2019 at 6:45 | comment | added | Motivated | @IncnisMrsi - Isn't a desktop computer the console? If not, what do you mean by it has a system console? | |
Jan 16, 2019 at 6:43 | comment | added | Motivated |
@andcoz - What do you mean by "text window"? Isn't a terminal emulator a virtual terminal? If i run at the command tty in a terminal emulator such as KDE's Konsole, the output is /dev/pts/0.
|
|
Sep 9, 2018 at 11:45 | comment | added | DiaJos | "A terminal or a console is a piece of hardware, using which a user can interact with a host. Basically a keyboard coupled with a text screen." awesome explication by its concrete aspect | |
Sep 6, 2015 at 7:20 | comment | added | Incnis Mrsi | Any desktop computer has system console (in my 2015 or poster’s 2010, don’t matter). As it was correctly stated, it’s a piece of hardware. But stating “Nowadays nearly all… consoles represent "virtual" ones” is nearly contradictory and obviously not good. | |
S Feb 21, 2014 at 19:22 | history | suggested | crisron | CC BY-SA 3.0 |
corrected spelling, fixed grammar, improved formatting
|
Feb 21, 2014 at 19:07 | review | Suggested edits | |||
S Feb 21, 2014 at 19:22 | |||||
S Aug 28, 2012 at 18:03 | history | suggested | Michael Durrant | CC BY-SA 3.0 |
improve english (slightly) to be more readable.
|
Aug 28, 2012 at 17:55 | review | Suggested edits | |||
S Aug 28, 2012 at 18:03 | |||||
Nov 16, 2010 at 22:04 | history | edited | andcoz | CC BY-SA 2.5 |
added 15 characters in body
|
Nov 16, 2010 at 21:53 | history | answered | andcoz | CC BY-SA 2.5 |