From: Araki K. <ara...@us...> - 2013-03-01 21:04:03
|
Hi, From: Araki Ken <ara...@us...> Subject: Re: [Mlterm-dev-en] A few glitches. Date: Wed, 30 Jan 2013 20:29:00 +0900 (JST) Message-ID: <201...@us...> > > Would it also be possible to compile out those things which presuppose that mlterm can load background images (e.g. options like brightness, contrast, gamma, image path and whatever else may do so) when that feature is disabled, as is the case with SSH? > > They're compiled for pseudo transparency even if --disable-use-tools is specified. > > If you want to compile out them, all you have to do is to replace the functions in > xwindow/x_picture.c and xwindow/xlib/x_imagelib.c by those which return 0 or NULL. > Plase try attached dummy x_picture.c and x_imagelib.c. > > But I don't feel like maintain them in my hg source tree, because I don't want to > complicate it more. > I think there is a merely slight difference between compilation with them and > without them. > > [Test in my environment (NetBSD 3.0.1)] > Building mlterm by ./configure --disable-dl-ctl --disable-dl-type. > x_picture.c/x_imagelib.c VSZ RSS > 1) Normal 508 2000 > 2) Empty 504 2000 Though I said earlier as above, --disable-image option which exludes anything related to images is added to configure script now, while --enable-sixel option is removed and sixel graphics is enabled by default, Regards, --- Araki Ken ara...@us... |