Misc. Tools

Table of Contents

Minimal Japanese Environment
Ghostscript and Ghostview
TeX Family
More Tools: Xv, ncftp, tgif, ...

Preparation

As usual first update APT/RPM's database:

$ su
# apt-get update

Minimal Japanese Environment

less

# apt-get install less

You may want to add

    export JLESSCHARSET=japanese-euc

to your ~/.bashrc to browse Japanese documents.
 

nkf

# apt-get install nkf
 

kterm

# apt-get install kterm
 

Notes:

Found that termcap entry for kterm is missing:

$ cp /usr/share/misc/termcap ~/.termcap
$ cat <kterm source dir>/termcap.kt >> ~/.termcap
 

For inputting Japanese characters, do

$ vi ~/.inputrc
set convert-meta off
set meta-flag on
set output-meta on

kinput2 (Kotoeri Version)

# apt-get install kinput2
 
 

Ghostscript and Ghostview

Libraries needed to build Ghostscript, GV, etc.

# apt-get install libjpeg libpng libtiff

Ghostscript

# apt-get install chkfontpath urw-fonts ghostscript ghostscript-fonts

Ghostview

# apt-get install gv
 

TeX Family

There are many TeX packages available on the net. For Japanese type setting, the following RPMs might be useful:

# apt-get install netpbm gd fonts-japanese
# apt-get install tetex-latex tetex-afm tetex-xdvi dvipdfmx

You can also use these with TeXShop, following the instruction given in http://www.r.dendai.ac.jp/~kiriki/tex.

 

More Tools: ImageMagick, ncftp, tgif, ...

ImageMagick

# apt-get install ImageMagic-c++

Ncftp

# apt-get install ncftp

Note:
Found that termcap entry for kterm is missing:

$ cp /usr/share/misc/termcap ~/.termcap
$ cat <kterm source dir>/termcap.kt >> ~/.termcap

This must fix strange behavior of ncftp in hosts menu.
 

xtiff

# apt-get install xtiff
 

Tgif

# apt-get install tgif-QPL

To edit a postscript file with Tgif:

# apt-get install pstoedit

To enable LaTeX mode in Tgif:

# apt-get install epstool
 

Aftermath

Then clean up:

# apt-get clean
# exit


Back to Keisuke Fujii's HEP on X Page
keisuke.fujii@kek.jp October15, 2005