Mlterm


Table of Contents

cmd:Mlterm 
Basic Info 
Help 
Version 2.7.0 
Version 2.8.0 (2003/10/5 released, 2003/10/19 patched) 

cmd:Mlterm 

Basic Info 

Usage 

Info 

A multilingual terminal emulator on X11

Description 

http://eyegene.ophthy.med.umich.edu/unicode/

Mlterm is arguably the best terminal emulator for multilingual work and is certainly my favorite (Fig. 1). When compiled with fribidi and libind, mlterm supports complex Indic scripts like Devanagari, Indic-derived scripts like Thai, and right-to-left scripts like Arabic and Hebrew. Mlterm also sports a GTK+-based GUI configurator which is activated using the rather unusual CTRL-<RIGHT MOUSE CLICK> combination.

Features 

Comments 

Help 

Quick Help 

Detail Help 

Version 2.7.0 

rpmih mlterm-2.7.0-2mdk.i586.rpm libmkf13-2.7.0-2mdk.i586.rpm libkik9-2.7.0-2mdk.i586.rpm libintl_0.12_2-0.12.1-3mdk.i586.rpm
  • no CC shown, either date, or file.sample.cc.utf8
  • minichinput works fine. just can't verify it.
  • CTRL-<RIGHT MOUSE CLICK> works fine.

Version 2.8.0 (2003/10/5 released, 2003/10/19 patched) 

Comments 

  • no CC shown, either date, or file.sample.cc.utf8
  • minichinput works fine. just can't verify it.
  • CTRL-<RIGHT MOUSE CLICK> won't work: /usr/local/libexec/mlconfig is not found.
  • found mlconfig in ~/try/mlterm-2.8.0-pl1/tool/mlconfig, but there is only one Makefile.in, no configure, nor Makefile.
  • too much trouble to compile and configure. Give up. try the ready-made old rpms.

Build & Installation 

Steps 
cd mlterm-2.8.0
$ patch -p0 < ../mlterm-2.8.0pl1/mlterm-2.8.0pl1.patch
patching file xwindow/x_font_cache.c
patching file xwindow/version.h.in
./configure --with-x --with-imagelib=imlib --with-gnu-ld --disable-rpath --disable-scrollbars
--with-gnu-ld           assume the C compiler uses GNU ld [default=no]
--with-x                use the X Window System
--with-imagelib[=ARG]   image library (imlib|gdk-pixbuf2|gdk-pixbuf1)
--disable-rpath         do not hardcode runtime library paths
--enable-optimize-redrawing optimize redrawing a line[default=disabled]
..
mv mlterm-2.8.0 mlterm-2.8.0-pl1
cd !$
ls /usr/local/lib/libkik*  | cpio -vpdm /tmp/$ThePkg
ls /usr/local/lib/libmkf*  | cpio -vpdm /tmp/$ThePkg
strip ./usr/local/bin/mlclient
strip ./usr/local/bin/mlterm
strip ./usr/local/bin/mlcc

Next time:

ranlib /usr/local/lib/libkik.a
ranlib /usr/local/lib/libmkf.a
Help 

From mlterm-2.8.0pl1/README:

tar zxvf mlterm-2.8.0pl1.tar.gz
tar xzvf mlterm-2.8.0.tar.gz
cd mlterm-2.8.0
patch -p1 < ../mlterm-2.8.0pl1/mlterm-2.8.0pl1.patch
./configure [your options]
make
make install

Working History 

patch 

The mlterm-2.8.0pl1/README is wrong:

$ patch -p1 < ../mlterm-2.8.0pl1/mlterm-2.8.0pl1.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

 |--- xwindow/x_font_cache.c     2003/09/21 03:49:07     1.6
 |+++ xwindow/x_font_cache.c     2003/10/11 04:55:03     1.7

File to patch:

configure 

'—with-libtooll' is NOK:

./configure --with-x --with-imagelib=imlib --with-gnu-ld

—OK

./configure --with-x --with-imagelib=imlib --with-gnu-ld --with-libtool
--mode=compile gcc -g -O2 -I. -c kik_cycle_index.c
--mode=compile gcc -g -O2 -I. -c kik_cycle_index.c
[... loop indefinitely ...]
--mode=compile gcc -g -O2 -I. -c kik_cycle_index.c
scrollbar problem 
# ./configure --with-x --with-imagelib=imlib --with-gnu-ld --disable-rpath
athena.c:194: `athena_sb' undeclared (first use in this function)
athena.c:217: parse error before ')' token
make[1]: *** [athena.o] Error 1
make[1]: Leaving directory `/export/home/tong/try/mlterm-2.8.0/contrib/scrollbar/extra'
xwindow problem 

Solved by installing XFree86-devel:

cd /export/linux/rh/9/en/os/i386/RedHat/RPMS/ rpmih XFree86-devel-4.3.0-2.90.43.i386.rpm fontconfig-devel-2.1-9.i386.rpm freetype-devel-2.1.3-6.i386.rpm