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

12 commits

Author SHA1 Message Date
naruse
3dbb97708b * ext/io/console/console.c (console_set_winsize):
surpress warning: shorten-64-to-32.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-24 01:25:19 +00:00
nobu
f4234c9b8f * ext/io/console/console.c (console_set_winsize): new method to set
console size.  [EXPERIMENTAL]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-31 23:01:46 +00:00
nobu
c90d5be882 * ext/io/console/console.c (console_winsize): use GetWriteFD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-31 22:56:07 +00:00
nobu
0e24a11b59 * ext/io/console/console.c (setattr): should retry on EINTR.
[ruby-dev:42666]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-01 22:08:41 +00:00
usa
80b9fb5a7b * io/console/console.c (winsize_row): should return actual screen
size, not buffer size.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-06 12:47:18 +00:00
akr
415be47593 update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 14:26:04 +00:00
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