From: Araki K. <j00...@ip...> - 2002-01-13 08:31:08
|
Hi. I committed changes below. [2002/01/13-1] * mlterm configuration protocol is decided and implemented.(see doc/en/PROTOCOL) * cursor highlight bug is fixed. [2002/01/13-2] * MSB of single shifted G3 characters in EUCJP(EUCJISX0213) is set.(thanks to Kubota Tomohiro san) * ESC]5379;wall_picture=BEL stops wall picture. Now mlterm has new feature , that is , ESC]5379;<key>=<value>BEL and ESC]5380;<key>BEL sequences , which replace mlconfig(GUI configuration menu) , are supported. Please see doc/en/PROTOCOL file for the details. Then , http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/w3mmlconfig.tar.gz with an attached patch , which uses w3m local-CGI feature , supports it. Please install w3mmlconfig.tar.gz as follows and test it ! 1. Change W3M_LIBDIR and PERL in Makefile. 2. patch -p1 < [attached patch] 3. make ; make install 4. w3m file:///$W3M_LIBDIR/mlconfig.cgi Curses based configuration menu , which Minami Hirokazu san is working on , is coming soon. Best Regards. -- kiken j00...@ip... diff -u w3mmlconfig/mlconfig.cgi.in w3mmlconfig.new/mlconfig.cgi.in --- w3mmlconfig/mlconfig.cgi.in Sat Jan 12 10:03:50 2002 +++ w3mmlconfig.new/mlconfig.cgi.in Sun Jan 13 16:21:31 2002 @@ -205,7 +205,7 @@ $k =~ /^_/ && next; print TTY "\033]5380;$k\007"; $_ = <TTY>; - s/^${k}=// || next; + s/^#${k}=// || next; chop; $value->{$k} = $_; } @@ -223,10 +223,17 @@ $val = $value; } + push( @key , "wall_picture") ; + open(TTY, ">/dev/tty"); for $k (@key) { $k =~ /^_/ && next; - $val->{$k} eq $val->{"default-$k"} && next; + if($val->{$k} eq "" && exists $key_attr->{$k} && $key_attr->{$k}->{type} eq 'checkbox') { + $val->{$k} = "false"; + } + if(exists $val->{"default-$k"}) { + $val->{$k} eq $val->{"default-$k"} && next; + } print TTY "\033]5379;$k=$val->{$k}\007"; } close(TTY); |