1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

6 commits

Author SHA1 Message Date
nobu
30f637024b * ext/io/console/console.c (get_write_fd): return primary fd if no
io is tied for writing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-13 09:45:29 +00:00
nobu
552243aa15 * ext/io/console/console.c (console_set_echo, console_echo_p): use
primary fd.  [ruby-dev:41309]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-13 08:56:11 +00:00
nobu
b44618d5e5 * ext/io/console/console.c (console_set_raw): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 15:54:17 +00:00
nobu
08bf7189f8 * ext/io/console/console.c (ttymode): reverted previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 15:35:43 +00:00
nobu
6f3830427d * ext/io/console/console.c (ttymode): save dupped file descriptors
and restore tty modes using them, so that original modes can be
  restored even if orignal fds are closed.  [ruby-dev:41225]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 14:07:32 +00:00
nobu
163f974208 * ext/io/console: imported. [ruby-dev:40897]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 04:05:39 +00:00