http://www.bsddiary.net/jerm/
から
jerm-8095.tar.gz
を,デスクトップにダウンロード。
StaffIt Expander で解凍
→ フォルダ jerm-8095 が作成される
Teminal を起動
% cd Desktop/jerm-8095
% ls -la
total 144
-rw-r--r-- 1 staff 584 Sep 5 2005 Makefile
-rw-r--r-- 1 staff 6643 Sep 5 2005 README
-rwxr-xr-x 1 staff 758 May 28 2003 init.sh
-rw-r--r-- 1 staff 5708 Sep 5 2005 jerm.1
-rw-r--r-- 1 staff 37110 Sep 5 2005 jerm.c
-rwxr-xr-x 1 staff 1885 Sep 5 2005 rock.pl
-rw-r--r-- 1 staff 2891 Sep 5 2005 tiocdtr.c
% make
cc -g -pipe -Wall -DJUPITER -c -o jerm.o jerm.c
cc -o jerm jerm.o -lm -lwrap
cc -g -pipe -Wall -DJUPITER tiocdtr.c -lm -lwrap -o tiocdtr
% ls -la
total 496
-rw-r--r-- 1 staff 6148 Mar 2 12:27 .DS_Store
-rw-r--r-- 1 staff 584 Sep 5 2005 Makefile
-rw-r--r-- 1 staff 6643 Sep 5 2005 README
-rwxr-xr-x 1 staff 758 May 28 2003 init.sh
-rwxr-xr-x 1 staff 68372 Mar 2 12:27 jerm
-rw-r--r-- 1 staff 5708 Sep 5 2005 jerm.1
-rw-r--r-- 1 staff 37110 Sep 5 2005 jerm.c
-rw-r--r-- 1 staff 78384 Mar 2 12:27 jerm.o
-rwxr-xr-x 1 staff 1885 Sep 5 2005 rock.pl
-rwxr-xr-x 1 staff 18516 Mar 2 12:27 tiocdtr
-rw-r--r-- 1 staff 2891 Sep 5 2005 tiocdtr.c
# ./jerm
(使用法が表示される)
Jerminal v0.8095 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 candy
usage1: ./jerm [optinos] device
-b speed speed
-p [none|even|odd] parity
-d [7|8] data bits
-s [1|2|1.5] stop bit
-f [none|x|hard] flow control
-F Set FUCK MODE for TA-100KR/RA SYSTEMS CORP.
usage2: ./jerm [-46i][-P port] [options] host
client mode.
-i init stdin/out by device options (pipe mode)
common optinos:
-l file log file
-z truncate log file
-x start in hex dump mode
-r cccc set CR LF mapping. (default = rnrn)
c = {x=drop, r=CR, n=LF, t=CRLF}
option order = {recv CR, recv NL, send CR, send LF}
-j rockwell binary data mode
usage3: ./jerm -D [-46T][-P port][-z][-l file] device
server mode.
ディレクトリ /usr/local/bin がつくられていることを確認した上で,
jerm を /usr/local/bin に移動
# mv ./jerm /usr/local/bin
|