2014年1月26日日曜日

gosh やじるし

gaucheをはじめようと思い、goshを起動して、矢印がつかえなくて、ああ、なんかヘルパーモジュールが必要なのかもというわけで。


gauche関連のモジュール


$ port search gauche
gauche @0.9.3.3 (lang)
    A script interpreter based on Scheme

gauche-c-wrapper @0.6.1_1 (lang)
    c-wrapper is a FFI (Foreign Function Interface) for Gauche.

gauche-dbd-mysql @0.2.1_1 (databases)
    Gauche database driver for MySQL

gauche-dbd-pg @0.2.1 (databases)
    Gauche database driver for PostgreSQL

gauche-gl @0.4.4 (lang)
    OpenGL binding for the Gauche

gauche-gtk @0.4.1 (lang)
    Gauche extension module to use GTK

gauche-readline @0.1_1 (devel)
    gauche-readline adds input line editing feature to Gauche

Found 7 ports.


gauche-readlineいれればいいのかしら。

*nixあたりのお作法とかツール群、いまだによくわってないんだよねー

$ sudo port install gauche-readline
入れてみたけど、いまいち使い方がわからず。
gosh-rlができると思ってたんだけど...

$  port contents gauche-readline

Port gauche-readline contains:
  /opt/local/share/gauche-0.9/site/lib/readline.scm
  /opt/local/share/gauche-0.9/site/lib/readline/history.scm
  /opt/local/share/gauche-0.9/site/lib/readline/keymap.scm
  /opt/local/share/gauche-0.9/site/lib/readline/term-util.scm
 
参考
telblog: Mac OS X

 しかたがないので、別の方法でいくことにしようか....

 rlwrapというのが使えるらしい。
というわけで、

$ sudo port install rlwrap

$ which rlwrap
/opt/local/bin/rlwrap
使い方

$ rlwrap gosh
これで矢印がきくようになった。。。。



Share:

0 コメント: