In Linux, all peripheral devices have their names and codes, which are stored in the/dev directory as special files. You can run the tty (teletypewriter) command to query the file name of the currently used terminal.SyntaxTty [-s] [-- help] [-- version]Parameter description: -S or -- silent or -- quiet does not display any information, but only returns the status code. -- Help online help. -- Versi
Brief introduction
The name of the TTY device is abbreviated from the previous telex, originally referred to as a physical or virtual terminal connected to a UNIX system
The core of the Linux TTY driver is immediately below the standard character device driver layer and provides a range of functions that are used as interfaces by terminal type de
I have handled several serial port problems, so I have a little time to sort out these items in the past few days.
The directory is roughly divided into the following parts:
0, Background
1. Serial Drive Structure
2. Implementation of serial port driver
3. About tty Core
Bytes ---------------------------------------------------------------------------------------------------
0, Background
When you review this piece of code, the
Basic concepts:1> tty (collectively referred to as the terminal device ):Tty is derived from teletypes or teletypewriters. Originally, it refers to a telex typewriter, which reads and sends messages through a printer keyboard through a serial line. Later, it was replaced by a keyboard and a display, so now it is more appropriate to call the terminal.A terminal is a type of terminal device. It has multiple t
This article was reprinted from: http://ju.outofmemory.cn/entry/2811681. ObjectiveBecause of the serial port, TTY is the most common type of equipment in Linux, and a little bit about the students of Linux system is not unfamiliar to it. Nevertheless, it is believed that few people can return to the question: what is a TTY
As an embedded product, the company uses the ARM kernel and Linux operating system (not uClinux ). My recent work is to mount a previously prepared module (via serial port for communication) to the system, and control a series of work of this module through serial port, and require
Into a separate driver (not controlled by an application ). I also want to familiarize myself with the development method of the device driver in
Differences between tty, Pty, and PTS in Linux
Basic concepts:1> tty (collectively referred to as the terminal device ):Tty is derived from teletypes or teletypewriters. Originally, it refers to a telex typewriter, which reads and sends messages through a printer keyboard through a serial line. Later, it was r
TTY and PTS in Linux [to] 639473375
15:54:57 favorites | print | vote (6) | comment (0) | read (23803) ◇ fonts: [large, small]
Tty is derived from teletypes or teletypewriters. Originally, it refers to a telex typewriter, which reads and sends messages through a printer keyboard through a serial line. Later, it was replaced by a keyboard and a display, so now i
Basic Concepts① Tty (collectively referred to as the terminal device ):Tty is derived from Teletypes or teletypewriters. Originally, it refers to a telex typewriter, which reads and sends messages through a printer keyboard through a serial line. Later, it was replaced by a keyboard and a display, so now it is more appropriate to call the terminal.A terminal is a type of terminal device. It has multiple typ
Reprint: http://blog.sina.com.cn/s/blog_638ac15c01012e0v.htmlBasic Concepts:1> TTY (collectively referred to as terminal equipment):The word "TTY" originates from teletypes, or teletypewriters, which originally refers to a telex typewriter, which is used to read and send information through a printer keyboard through a serial line, which is later replaced by a keyboard and a display, so it is now more appro
Basic Concepts:1> TTY (collectively referred to as terminal equipment):The word "TTY" originates from teletypes, or teletypewriters, which originally refers to a telex typewriter, which is used to read and send information through a printer keyboard through a serial line, which is later replaced by a keyboard and a display, so it is now more appropriate to call the terminal.A terminal is a type of character
Title: concepts such as terminal, console, tty, and pty in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Basic concepts:
1> tty
, enabling multiple users to log in at the same time, including logging on at the same time. The console "Alt" + "Fx" is capable of switching to the X (character dummy) terminal. If you need to jump from X-window to the first (character dumb) terminal, you need "Ctrl" + "Alt" + "Fx". In general, if you want to return Xwindow from the console, "" Alt "+7" can be returned to the Xwind graphical interface. (The Linux distribution provides 7 virtual scree
Article title: Basic Knowledge: Linux Terminal tty device driver. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In Linux, terminal dev
Reference: http://news.newhua.com/news1/program_language/2010/623/10623141048745773199BCF0CFH6AKB9930IGCFKHBH4IBE65IDFI07F.html? Lt = common
Basic concepts:
1> tty):
Tty is derived fromElepes,It was originally referred to as a telex typewriter, which was used to read and send information through the printer keyboard through a serial line. later it was replaced by the keyboard and display, so it is now more
1. IntroductionThis article describes the function tracking procedures for TTY open, TTY read, and TTY write operations2. ExampleHere is a simple Linux TTY open and read-write process3. OpenWhen the device node/dev/ttys0 is opened, the kernel calls Vfs_open and then calls to
/PTS/1 with the TTY command.6 Other typesThe Linux system also has many other kinds of terminal equipment special files for many different character devices. For example,/dev/ttyin terminal equipment for ISDN devices. Don't repeat it here.TTY devices include virtual consoles, serial ports, and pseudo-terminal units./dev/tty represents the current
Tags: roo ges host mode share Xwindow user remote Gnomeconcepts and differences of TTY, Pty, and PTS for Linux systems
TTY (collectively referred to as terminal equipment):The word "TTY" originates from teletypes, or teletypewriters, which originally refers to a telex typewriter, which is used to read and send
A terminal is a type of terminal device. it has multiple types and generally uses tty for short. Tty is short for Teletype. Teletype is one of the earliest terminal devices, such as a telex typewriter (or), produced by Teletype. On the Li... Terminal
A terminal is a type of terminal device. it has multiple types and generally uses tty for short.
control terminal the process is connected to. For your login Shell,/dev/tty is the terminal you use, the device number is (5,0). Use the command "TTY" to see which actual terminal device it corresponds to. The/dev/tty is similar to a connection to a terminal device that is actually used.4. Console Terminal (/dev/ttyn,/dev/console)In UNIX systems, computer monito
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.