ruby-termiosã¯Rubyãã termios(3)ã®æ©è½ã使ç¨ããããã®ã©ã¤ãã©ãªã§ãã Termiosã¢ã¸ã¥ã¼ã«ã¯termios(3)ã®ã·ã³ãã«ãªwrapperã§ã IOãªãã¸ã§ã¯ãã«includeãããã¨ãã§ãã¾ãã ã¾ãåã¡ã½ããã¯ã¢ã¸ã¥ã¼ã«é¢æ°ã¨ãã¦ä½¿ããã¨ãå¯è½ã§ãã ãã¦ã³ãã¼ã ãã¼ã¸ã§ã³ 0.9.5 ruby-termios-0.9.5.tar.gz ç°ä¸å²ãããããã°ä¿®æ£ããã³Ruby 1.9対å¿ãå«ãæ¹è¯ããããããã ãã¾ããã ãã¼ã¸ã§ã³ 0.9.4 ruby-termios-0.9.4.tar.gz 以ä¸ã®ã³ã¼ããå®è¡ã§ããããã«ãªãã¾ãã: tio = Termios.tcgetattr(dev) tio.cc[Termios::VMIN] = 1 Termios.tcsetattr(dev, Termios::TCSANOW, tio) ãã®ã³ã¼ãã¯ä»¥
{{#tags}}- {{label}}
{{/tags}}