cygwin+OpenSSH+teraterm

2013/08/24
.CodeMirror {height: auto!important; line-height:1.4;}PuTTYはリモートコマンドで簡単に踏み台経由の接続を設定できるが、teratermはこういう使い方ができない。 ログインしたあとで、マクロを使用して好きなようにコマンドを送信すればいいのだが、CygwinのOpenSSHをシェルとして起動すれば、リモートコマンドを実行することができる。マクロでは下記のように書けばよい。 msg = "-s '/bin/ssh -t " strconcat msg gwusername strconcat msg '@' strconcat msg gwhostname strconcat msg ' ssh ' strconcat...
Read more ...

mdb写経/ネットワーク関連機能

2013/08/16
dcmds address ::arphdr 指定されたアドレスの ARP header 構造体(arh_t) を表示する。 [ address ] ::conn_status 指定されたアドレスの display connection 構造体(conn_t)を表示する。 > ::conn_status ADDR WQ STACK ZONE SRC:PORT DEST:PORT 300143ecac0 0 0 0 0.0.0.0:68 0.0.0.0:0 3001729d600 0 0 0 :::69 :::0 30016959580...
Read more ...

mdb写経/カーネルメモリーアロケータ

2013/08/16
dcmds thread ::allocdby 指定されたカーネルスレッドのアドレスを使用して、そのスレッドが割り当てたメモリーのリストを新しい順に出力します。 > fffffffffbc36de0::allocdby BUFCTL TIMESTAMP CALLER ffffff00cb845af8 b8483496d47c callb_add_common+0x81 ffffff00cb9f6cb8 b8483496b2e1 lgrp_affinity_init+0x26 ffffff00cbabd588 b8483496ac9f audit_thread_create+0x1e ffffff00cbace658 b84834966817 segkp_get_internal+0x89 ffffff00cb5d7308 b8483496649e thread_create+0x4f ffffff00cb9f6be0...
Read more ...

Syntaxhighlighter & CodeMirror

2013/08/04
Syntaxhighlighter editor.ui.addButton && editor.ui.addButton( 'Syntaxhighlight', { label : editor.lang.syntaxhighlight.title, command : 'syntaxhighlightDialog', toolbar : 'insert,98' icon: this.path + 'icons/syntaxhighlight.png', } ); CodeMirror editor.ui.addButton && editor.ui.addButton( 'Syntaxhighlight', { label : editor.lang.syntaxhighlight.title, command :...
Read more ...