3

Possible Duplicate:
What is the exact difference between a ‘terminal’, a ‘shell’, a ‘tty’ and a ‘console’?

This question follows directly from another question of mine in this great forum. What exactly is the concept of a Pseudo Terminal in Linux speak? Can you please explain with an example. Is it a different concept from Terminal emulators?

0

2 Answers 2

3

A terminal is a piece of hardware with a screen and a keyboard, usually connected using a serial line to a computer. In case of a Unix computer it is served by the getty process, which provides a shell to the user.

A pseudo terminal is a terminal session (also providing a shell to the user), which uses a virtual connection via TCP instead of a serial line. Such a pseudo terminal is usually served by the sshd, less securely also by the telnetd.

A terminal emulator is the client program, the users uses to open such a pseudo terminal.

1
  • tty's (F1-F7) are pseudo terminals or just virtual terminals?
    – Spidey
    Commented Dec 12, 2012 at 18:33
1

In an overly simplified format:

Pseudo terminal = a device file on your unix system when not being used; a process on your unix system attached to the aforementioned device file for input/output.

Terminal emulator = an application running on your local desktop, making a telnet or ssh connection to a remote server.

1
  • Konsole, xterm, gnome-terminal are all terminal emulators. They emulate the physical terminals of old in the sense that they provide user interface facilities (a screen area and input through the keyboard and mouse) as software.
    – Spidey
    Commented Dec 12, 2012 at 18:33

Not the answer you're looking for? Browse other questions tagged .