From: <hs...@mt...> - 2002-02-04 12:38:17
|
坂本です。 w3mmlconfig を最新の mlconfig に合わせました。 (ついでに、Reset ボタンを付けましたが、要らないかも。) ----------------------------------- 坂本 浩則 <hs...@mt...> http://www2u.biglobe.ne.jp/~hsaka/ --- tool/w3mmlconfig/mk_mlconfig-data.pl.orig Fri Jan 25 00:38:02 2002 +++ tool/w3mmlconfig/mk_mlconfig-data.pl Mon Feb 4 21:10:15 2002 @@ -2,10 +2,11 @@ while(<>) { /^#/ && next; chop; - ($s, $c, $t) = split(" ", $_, 3); + ($s, $c, $r, $t) = split(" ", $_, 4); push(@section, $s); $section_attr->{$s} = { col => $c, + row => $r, title => $t, key => [], }; @@ -21,6 +22,7 @@ for $s (@section) { print "\t$s => {\n"; print "\t\tcol => $section_attr->{$s}{col},\n"; + print "\t\trow => $section_attr->{$s}{row},\n"; print "\t\ttitle => '$section_attr->{$s}{title}',\n"; print "\t\tkey => [\n"; for $k (@{$section_attr->{$s}{key}}) { --- tool/w3mmlconfig/mlconfig-data.orig Mon Feb 4 21:26:09 2002 +++ tool/w3mmlconfig/mlconfig-data Mon Feb 4 21:17:08 2002 @@ -1,6 +1,7 @@ -# id col title -encoding 0 Encoding -appearance 1 Appearance -copy_paste 0 Copy&paste -others 1 Others -wall_picture -1 +# id col row title +encoding 0 1 Encoding +appearance 1 2 Appearance +copy_paste 0 2 Copy&paste +others 0 2 Others +font 0 1 Font +wall_picture -1 -1 --- tool/w3mmlconfig/mlconfig.cgi.in.orig Fri Jan 25 00:38:03 2002 +++ tool/w3mmlconfig/mlconfig.cgi.in Mon Feb 4 21:22:51 2002 @@ -91,6 +91,8 @@ <input type=submit name="SUBMIT" value="Apply"> <input type=submit name="SUBMIT" value="Cancel"> + +<input type=reset value="Reset"> <table border=1> <tr><td>Font size<br> <input type=submit name="fontsize_larger" value="Larger"> @@ -126,9 +128,9 @@ print "<tr>"; } print <<EOF; -<td align=center valign=top width="50%"> +<td align=left valign=top rowspan=$attr->{row}> <b>$attr->{title}</b> -<table> +<table width=240> EOF for $k (@{$attr->{key}}) { &make_key($k); @@ -148,6 +150,8 @@ print "<tr>"; if ($type =~ /^checkbox/ || $type =~ /^none/) { print "<td colspan=2>\n"; + } elsif ($type =~ /^radio/) { + print "<td colspan=2><nobr>$attr->{title}\n"; } else { print "<td><nobr>$attr->{title}</nobr>\n"; print "<td>"; @@ -171,12 +175,13 @@ print "</select>\n"; } elsif ($type =~ /^radio/) { for $i (@{$attr->{item}}) { - print "<nobr><input type=radio name=\"$k\" value=\"$i\""; + print "<input type=radio name=\"$k\" value=\"$i\""; if ($value->{$k} eq "$i") { print " checked"; } - print ">$item_attr->{$k}{$i}</nobr>\n"; + print ">$item_attr->{$k}{$i}\n"; } + print "</nobr>\n"; } elsif ($type =~ /^checkbox/) { print "<input type=checkbox name=\"$k\" value=\"true\""; if ($value->{$k} eq "true") { --- tool/w3mmlconfig/section/appearance.orig Fri Jan 25 00:38:04 2002 +++ tool/w3mmlconfig/section/appearance Mon Feb 4 20:51:32 2002 @@ -1,7 +1,6 @@ fg_color select:lower black 0 FG color bg_color select:lower white 0 BG color -fontsize text:digit 16 0 Font size +line_space text:digit 0 0 Line space +brightness text:digit 100 0 Brightness fade_ratio text:digit 100 0 Fade ratio -use_variable_column_width checkbox false 0 Variable column width -use_anti_alias checkbox false 0 Anti Alias -use_transbg checkbox false 1 Transparent +use_transbg checkbox false 0 Transparent --- tool/w3mmlconfig/section/others.orig Fri Jan 25 00:38:05 2002 +++ tool/w3mmlconfig/section/others Mon Feb 4 20:42:08 2002 @@ -1,3 +1,5 @@ +screen_width_ratio text:digit 100 0 Width ratio +screen_height_ratio text:digit 100 0 Height ratio tabsize text:digit 8 0 Tab size logsize text:digit 128 0 Log size mod_meta_mode radio:lower none 0 Mod Meta mode --- tool/w3mmlconfig/section/font.orig Mon Feb 4 20:39:26 2002 +++ tool/w3mmlconfig/section/font Mon Feb 4 20:40:13 2002 @@ -0,0 +1,3 @@ +fontsize text:digit 16 0 Font size +use_variable_column_width checkbox false 0 Variable column width +use_anti_alias checkbox false 0 Anti Alias --- tool/w3mmlconfig/key/vertical_mode.orig Mon Feb 4 20:38:27 2002 +++ tool/w3mmlconfig/key/vertical_mode Mon Feb 4 20:39:01 2002 @@ -0,0 +1,3 @@ +none None +cjk CJK +mongol Mongol |
From: Hironori S. <hs...@mt...> - 2002-02-06 07:03:33
|
$B:dK\$G$9!#(B w3mmlconfig $B$r(B scrollbar_mode $B$KBP1~$5$;$^$7$?!#(B ($B$"$H!"$A$g$C$H$@$1I=<($rJQ99(B) mlterm/tool/w3mmlconfig/ $B0J2<$G(B patch -p0 $B$H$7$FEv$F$F$/$@$5$$!#(B ----------------------------------- $B:dK\(B $B9@B'(B <hs...@mt...> http://www2u.biglobe.ne.jp/~hsaka/ --- mlconfig.cgi.in.orig Wed Feb 6 15:04:48 2002 +++ mlconfig.cgi.in Wed Feb 6 15:37:27 2002 @@ -130,7 +130,7 @@ print <<EOF; <td align=left valign=top rowspan=$attr->{row}> <b>$attr->{title}</b> -<table width=240> +<table width="256"> EOF for $k (@{$attr->{key}}) { &make_key($k); --- section/others.orig Wed Feb 6 15:39:19 2002 +++ section/others Wed Feb 6 15:25:37 2002 @@ -4,3 +4,4 @@ logsize text:digit 128 0 Log size mod_meta_mode radio:lower none 0 Mod Meta mode bel_mode radio:lower sound 0 Bel mode +scrollbar_mode radio:lower left 0 Scrollbar --- key/scrollbar_mode.orig Wed Feb 6 15:25:51 2002 +++ key/scrollbar_mode Wed Feb 6 15:26:38 2002 @@ -0,0 +1,3 @@ +none None +left Left +right Right |
From: Araki K. <j00...@ip...> - 2002-02-06 07:29:18
|
荒木です:-) * if scrollbar_mode is none and window is resized , garbages are left on screen. fixed. * w3mmlconfig is updated(around scrollbar_mode). (thanks to Sakamoto Hironori san) Subject: [Mlterm-dev-ja] update w3mmlconfig From: Hironori Sakamoto <hs...@mt...> Message-ID: <200...@ud...> Date: Wed, 6 Feb 2002 16:00:52 +0900 (JST) > w3mmlconfig を scrollbar_mode に対応させました。 > (あと、ちょっとだけ表示を変更) 素早い対応、ありがとうございます。 早速とりこませていただきました。 # en/doc/PROTOCOL もまだ更新してなかったんですが ^_^; それから、scrollbar_mode = none で画面リサイズするときに、少々問題 がありましたので、その修正も施しております。 では -- kiken j00...@ip... |
From: MINAMI H. <mi...@ch...> - 2002-02-06 11:51:55
|
南です On Wed, 06 Feb 2002 16:17:13 +0900 Araki Ken <j00...@ip...> wrote: > それから、scrollbar_mode = none で画面リサイズするときに、少々問題 > がありましたので、その修正も施しております。 scrollbar = right|left のときに mlterm のウィンドウを幅 0 まで resize できてしまう (結果として落ちる)のですが、再現しますでしょうか。 mlconfig_curses.pl については scrollbar_mode + vertival_mode 対応用のパッチを sourceforge の patch tracking system に 投げました。 #一度 試してみたかったので |