flagflag  If you want to see English page, please click "English" Button at Left.
1: 2010-04-08 (木) 23:44:03 iseki ソース 2: 2010-04-09 (金) 00:17:19 iseki ソース
Line 1: Line 1:
* Console [#a37488b5] * Console [#a37488b5]
-*** Console モード [#iced5a9f]+** Console モード ([Startup]セクション)[#iced5a9f] 
 +- OpenSim/Region/Application/OpenSim.cs 
 +*** gui ディレクティブ (true/false) [#y9684fa3] 
 +- console ディレクティブが存在する場合には読み込まれない. 
 +- デフォルトは false. この場合は CommandConsole() が生成される. 
 +- true の場合は外部のGUIによって制御される? 
 +- guiもconsoleもない場合は consoleのデフォルトが設定される. 
 + 
 +*** console ディレクティブ [#y6679ab7] 
 +- ''basic'', ''rest'' とその他(local).デフォルトはその他. 
 +- ''basic'' では CommandConsole() が生成される. 
 +- ''rest'' では RemoteConsole() が生成される. 
 +- その他では LocalConsole() が生成される.(画面のエスケープシーケンス処理あり) 
 +#br 
 + 
 +** Remote Console [#n48cfc9a] 
 +- サーバをリモートのコンソールから操作する場合は,サーバのコンソールを ''rest''モードにする. 
 +- コントロールは OpenSim.ConsoleClient.exe で行うが,これは ''basic'' かその他(local)のモードを使用する. 
 +#br 
 + 
 +*** Region サーバをコントロールする場合. [#hd921b12] 
 +- OpenSim.ini(リージョンサーバ側) 
 + [Startup] 
 +   console = rest 
 + [Network] 
 +   ConsoleUser = "Test" 
 +   ConsolePass = "secret" 
 +   http_listener_port = 9000 
 +   console_port = 0 
 +#br 
 +- OpenSim.ConsoleClient.ini (ConsoleClient側) 
 + [Startup] 
 +   user = Test 
 +   host = 202.26.159.200 
 +   port = 9000 
 +   pass = secret 
 +#br 
 +- ConsoleClient の起動 
 + mono OpenSim.ConsoleClient.exe  または  mono OpenSim.ConsoleClient.exe -console=basic 
 +-- オプションなしの方を推奨.(-console=basic ではエスケープシーケンス処理が行われないので) 
 +#br 
 +- 非コントロール側のコンソールが ''rest'' になっていない場合,ConsoleClientはエラーになる, 
 + [root@phobos bin]:827# mono OpenSim.ConsoleClient.exe 
 + Unhandled Exception: System.ArgumentOutOfRangeException: Value must be positive and below the buffer height. 
 + Parameter name: top 
 +  at System.TermInfoDriver.SetCursorPosition (Int32 left, Int32 top) [0x00000] in <filename unknown>:0 
 +  at System.TermInfoDriver.set_CursorTop (Int32 value) [0x00000] in <filename unknown>:0 
 +  at System.ConsoleDriver.set_CursorTop (Int32 value) [0x00000] in <filename unknown>:0 
 +  at System.Console.set_CursorTop (Int32 value) [0x00000] in <filename unknown>:0 
 +  at OpenSim.Framework.Console.LocalConsole.S​etCursorLeft (Int32 left) [0x00000] in <filename unknown>:0 
 +  at OpenSim.Framework.Console.LocalConsole.R​eadLine (System.String p, Boolean isCommand, Boolean e) [0x00000] in <filename unknown>:0 
 +  at OpenSim.Framework.Console.CommandConsole​.Prompt () [0x00000] in <filename unknown>:0 
 +  at OpenSim.Server.Base.ServicesServerBase.R​un () [0x00000] in <filename unknown>:0 
 +  at OpenSim.ConsoleClient.OpenSimConsoleClie​nt.Main (System.String[] args) [0x00000] in <filename unknown>:0 
 +-- このエラーは -console=basic をつけることにより回避できるが,結局繋がらないのは同じ. 
 +#br 
 + 
 +*** R.O.B.U.S.T.サーバをコントロールする場合. [#w526cbe3] 
 +
 +-


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
<今日>

オンライン状況

99 人のユーザが現在オンラインです。 (21 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 99

もっと...

アクセスカウンタ

今日 : 1131113111311131
昨日 : 1753317533175331753317533
総計 : 2346427423464274234642742346427423464274234642742346427423464274
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com