我想设置成telnet客户端那样,但是怎么搞都搞不定啊…… 有没有大哥指条明路? 谢谢
by chopin1998 - C/C++ - 2007-03-26 08:47:51 阅读(887) 回复(0)
#include
POSIX::termios new Create a new termios object. This object will be destroyed automatically when it is no longer needed. A termios object corresponds to the termios C struct. new() mallocs a new one, getattr() fills it from a file descriptor, and setattr() sets a file descriptor's parameters to match termios' contents. $termios = POSIX::termios->new; getattr Get terminal control attribu...