るりまサーチ

最速Rubyリファレンスマニュアル検索!
7件ヒット [1-7件を表示] (0.009秒)
トップページ > クエリ:stdout[x] > クエリ:Telnet[x]

別のキーワード

  1. tracer stdout
  2. tracer stdout=
  3. tracer stdout_mutex
  4. object stdout
  5. kernel $stdout

種類

ライブラリ

検索結果

Net::Telnet (18226.0)

このクラスは telnet のクライアント機能を提供します。

...このクラスは telnet のクライアント機能を提供します。


telnet
でリモートホストにログインしてシェル経由で
コマンドを実行することを考えてみましょう。
これを Net::Telnet で実現するためには、
まず Net::Telnet.new に "Host"...
...ジェクトを作り、 Net::Telnet#login で
ユーザ名とパスワードを送ってログインし、
Net::Telnet#cmd でコマンドを
実行、最後に IO#close で接続を閉じます。
Net::Telnet#waitfor, Net::Telnet#print,
Net::Telnet#puts, Net::Telnet#write などと
いったメソ...
...わせる
telnet
.login("your name", "your password") {|c| print c}

# ls コマンドを実行し、実行後、プロンプトが出るまで待ち合わせる
telnet
.cmd("ls") {|c| print c}

# sleep で 5 秒
telnet
.cmd("sleep 5 && echo foobar &") {|c| print c}

STDOUT
.flush # <-...

NEWS for Ruby 3.0.0 (18.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...y yields a 2-element array. 12706
* Now `{ a: 1 }.each(&->(k, v) { })` raises an ArgumentError due to lambda's arity check.
* When writing to STDOUT redirected to a closed pipe, no broken pipe error message will be shown now. 14413
* `TRUE`/`FALSE`/`NIL` constants are no longer defined.
*...
...yslog
* win32ole
* Bundled gems
* net-telnet and xmlrpc have been removed from the bundled gems. If you are interested in maintaining them, please comment on your plan to https://github.com/ruby/xmlrpc or https://github.com/ruby/net-telnet.
* SDBM has been removed from the Ruby standar...