匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“TTY tools”的源代码
来自百问网嵌入式Linux wiki
名字空间
页面
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
TTY tools
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
== Article Purpose== 本文旨在提供一些对开始使用 Linux<sup>®</sup> TTY工具有用的初步信息。 这些工具对于与 [[Serial TTY overview|TTY]]终端进行交互很有用。 == Introduction == These tools use TTY sysfs and character device directly (See [[Serial TTY_overview#APIs description|TTY user space interface]] for further details). ==Tools list== Please find below a list of useful TTY tools provided by Linux<sup>®</sup> community: * '''fuser''' <ref>[https://linux.die.net/man/1/fuser fuser man page]</ref> - to identify processes using files or sockets.<br/> * '''inputattach''' <ref>[https://linux.die.net/man/1/inputattach inputattach man page]</ref> (based on termios API) - to attach a serial line to an input-layer device. <br/> Inputattach attaches a serial line to an input-layer device via a line discipline. Exactly one of the available modes must be specified on the command line. * '''kermit''' <ref>[https://linux.die.net/man/1/kermit kermit man page]</ref> - transport and platform independent interactive and scriptable communications software. <br/> C-Kermit is a modem program, a Telnet client, an Rlogin client, an FTP client, an HTTP client, and on selected platforms, also an X.25 client. It can make its own secure internet connections using IETF-approved security methods including Kerberos IV, Kerberos V, SSL/TLS, and SRP and it can also make SSH connections through an external SSH client application. It can be the far-end file-transfer or client/server partner of a desktop Kermit client. It can also accept incoming dialed and network connections. It can even be installed as an internet service on its own standard TCP socket, 1649 [RFC2839, RFC2840].<br/> * '''ldattach''' <ref>[https://linux.die.net/man/8/ldattach ldattach man page]</ref> (based on termios API) - to attach a line discipline to a serial line. <br/> The ldattach daemon opens the specified device file (which should refer to a serial device) and attaches the line discipline ldisc to it for processing of the sent and/or received data. It then goes into the background keeping the device open so that the line discipline stays loaded. The line discipline ldisc may be specified either by name or by number. In order to detach the line discipline, kill the ldattach process. With no arguments, ldattach prints usage information. * '''minicom''' <ref>[https://linux.die.net/man/1/minicom minicom man page]</ref> - friendly serial communication program. <br/> Minicom is a communication program which somewhat resembles the shareware program TELIX but is free with source code and runs under most Unices. Features include dialing directory with auto-redial, support for UUCP-style lock files on serial devices, a separate script language interpreter, capture to file, multiple users with individual configurations, and more. * '''setserial''' <ref>[https://linux.die.net/man/8/setserial setserial man page]</ref> - To get/set Linux serial port information. <br/> Setserial is a program designed to set and/or report the configuration information associated with a serial port. This information includes the I/O port and the IRQ used by a particular serial port, and whether or not the break key should be interpreted as the Secure Attention Key, and so on. * '''stty''' <ref>[https://linux.die.net/man/1/stty stty man page]</ref> (based on termios API) - to change and print terminal line settings. * '''tty''' <ref>[https://linux.die.net/man/1/tty tty man page]</ref> - to print the file name of the terminal connected to standard input {{Info|The descriptions above are provided by the manual pages of the tools.}} ==Getting started == Examples of TTY tools usage are handled in the following articles : * [[How to use TTY with User Terminal|How to use TTY with User Terminal]] * [[How to transfer a file over serial console]] ==Installation on your target== Some of the TTY tools aren't embedded by default in [[OpenSTLinux distribution]]. They can be compiled independently and then installed on the target (see [[STM32MP1_Developer_Package#Adding_Linux_user_space_applications|Adding Linux user space applications]]). ==References== <references /> <noinclude> [[Category:Serial TTY|5]] {{PublicationRequestId | 8371 | 2018-09-03 | BrunoB}} </noinclude>
该页面使用的模板:
模板:Info
(
查看源代码
)
模板:STDarkBlue
(
查看源代码
)
返回至
TTY tools
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志