terminal的一些定义

什么是terminal?什么是Text terminals?
http://en.wikipedia.org/wiki/Computer_terminal


什么是terminal emulator?
http://en.wikipedia.org/wiki/Terminal_emulator


terminal emulator支持一些escape sequence来控制颜色和鼠标的位置等;
Terminal Control Escape Sequences:
转义字符是在putty中实现的,可参见Terminal.c中的L2378;
http://en.wikipedia.org/wiki/ANSI_escape_code
http://ascii-table.com/ansi-escape-sequences.php
http://www.termsys.demon.co.uk/vtansi.htm
http://invisible-island.net/xterm/ctlseqs/ctlseqs.txt

 

pseudo terminal的作用:

A pseudo-terminal is mainly used to make a process believe that it interacts with a terminal although it actually interacts with one or more processes.

 

telnet和pseudo terminal的关系:
http://rachid.koucha.free.fr/tech_corner/pty_pdip.html
http://learn.akae.cn/media/ch34s01.html

 

telnet的source:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.telnetd.c
sun官网对pseudo terminal的解释:
http://docs.sun.com/app/docs/doc/801-6679/6i11pd606?l=en&a=view&q=pseudo+terminal+

 

select调用的解释:
http://linux.die.net/man/2/select
创建pseudo-terminal master and slave:
http://linux.die.net/man/4/ptmx

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值