#!/usr/local/bin/perl
use Tk;
$mw = new MainWindow;
$Input = $mw->Entry();
$Conv = $mw->Button(-text=>"conv",-command=>\&conv);
$Input->pack;
$Conv->pack;
MainLoop;
sub conv{
local($_) = $Input->get;
$Input->delete(0,end);
foreach(split(/ +/,$_)){
if(/^0x(.*)/i){
$Input->insert(end,hex($1)." ");
}else{
$Input->insert(end,sprintf("0x%x ",$_));
}
}
}
diff -rcN QuickIRC28b/qi-cgi.conf QuickIRC28b_conf/qi-cgi.conf
*** QuickIRC28b/qi-cgi.conf Thu Jan 1 09:00:00 1970
--- QuickIRC28b_conf/qi-cgi.conf Tue Jan 29 13:34:57 2002
***************
*** 0 ****
--- 1,3 ----
+ our $SERVER = 'irc.2ch.net';
+ our $PORT = '6667';
+ our $CODEBase = 'http://irc.2ch.net/tpchat/test/';
diff -rcN QuickIRC28b/qi-list.cgi QuickIRC28b_conf/qi-list.cgi
*** QuickIRC28b/qi-list.cgi Fri Jan 25 19:28:08 2002
--- QuickIRC28b_conf/qi-list.cgi Tue Jan 29 13:23:43 2002
***************
*** 1,10 ****
#!/usr/local/bin/perl -w
# 接続先
! my $server = 'irc.2ch.net';
! my $port = '6667';
! my $user = "hoge" . $$;
# tpchat.cgi のURL
my $tpchaturl ='qi-login.cgi';
--- 1,11 ----
#!/usr/local/bin/perl -w
+ require './qi-cgi.conf';
# 接続先
! my $server = $SERVER;
! my $port = $PORT;
! my $user = "QIRC" . $$;
# tpchat.cgi のURL
my $tpchaturl ='qi-login.cgi';
diff -rcN QuickIRC28b/qi-login.cgi QuickIRC28b_conf/qi-login.cgi
*** QuickIRC28b/qi-login.cgi Fri Jan 25 20:16:38 2002
--- QuickIRC28b_conf/qi-login.cgi Tue Jan 29 13:34:03 2002
***************
*** 1,4 ****
--- 1,5 ----
#!/usr/local/bin/perl -w
+ require './qi-cgi.conf';
require 'jcode.pl';
use CGI;
***************
*** 98,107 ****
!