* Create your FREE website now *
Wiki
|
Page
|
My Menu
|
Switch To
|
Help
|
Sign in/Sign up
codefest2008's Wiki
Home
>
codefest2008
> HowToInstallGauche
Save
Edit
Cancel
More actions
HowToInstallGauche
Tags:
TABLE OF CONTENTS
[Hide]
How to Install Gauche
Intro. Gauche
Gauche Installation on Ubuntu (ant its variants)
Play Hanio in Gauche TTY toy
Gauche-gkt Installation on Ubuntu (ant its variants)
How to Install Gauche
Intro. Gauche
日本自创的 Scheme 方言(Lisp 的方言;-)
是
GDHP
实现中使用的语言
Gauche
Installation on Ubuntu (ant its variants)
Install Gauche, it's package name is "gauche"
Synaptic ~ 新立得;)
Play Hanio in Gauche TTY toy
so u can fell Hanio game in CLI by
toh.scm
; 现在就直接可以使用
toh.scm
在命令行中尝试了
$ gosh toh.scm --help
Usage:
Server: toh.scm -s [-1] [port#]
Client: toh.scm -c n host:port host:port
Interactive: toh.scm -i [port#]
so play way is:
start tow Hanio server:
$ gosh toh.scm -s 9001
$ gosh toh.scm -s 9002
start Hanio client to start moving disk in TTY(terminal)
$ gosh toh.scm -c 7 localhost:9001 localhost:9002
ACK 127.0.0.1:40246 127.0.0.1:36761
Tower0: 6543210
Tower0: 654321
Tower0: 65432
Tower0: 6543
Tower0: 65430
Tower0: 6543
Tower0: 654
Tower0: 6541
Tower0: 65410
Tower0: 6541
Tower0: 654
Tower0: 65
Tower0: 650
...
the fun is base
GDHP
we can mix GUI&CLI to play Hanio ;-)
$ gosh gtk-toh.scm --help
Usage:
Server: gtk-toh.scm -s [port#]
Client: gtk-toh.scm -c n host1:port1 host2:port2
Both: gtk-toh.scm [port#]
hold them TTY Hanio server
$ gosh gtk-toh.scm -c 10 localhost:9001 localhost:9002
so us gtk-toh.scm will play 10 disks Hanio with them TTY server in localhost:9001/9002
Gauche-gkt
Installation on Ubuntu (ant its variants)
Install Gauche, it's package name is "gauche"
Synaptic ~ 新立得;)
Unfortunately, gauche-gtk cannot be installed because it's not good state in Ubuntu
You need to build gauche-gtk
Please get the source code from Debian archive (say, debian.cn99.com)
/debian/main/g/gauche-gtk/gauche-gtk_0.4.1-8.{dsc,diff.gz} and orig.tar.gz
Invoke command, "dpkg-source"
You might need to install "dpgk-dev" and "fakeroot"
You need to edit the file debian/control
gauche-dev (>= 0.8.8) (was >= 0.8.12)
Invoke command, "dpkg-buildpackage -us -uc -rfakeroot" under the directory "gauche-gtk-0.4.1"
You might get error on dependency
You might need to install "libgtk"-something and other software
After installing software needed, please invoke "dpkg-buildpackage" again
You should have "gauche-gtk_0.4.1-8_i386.deb"
Install "gauche-gtk_0.4.1-8_i386.deb"
$ sudo dpkg -i gauche-gtk_0.4.1-8_i386.deb
运行命令
$gosh
gtk-toh.scm
多线程towers-of-hanoi GUI展示软件
gtk-toh.scm
运行情景(Ubuntu7.10):
0
Comments
Show recent to old
Post a comment
Post a comment
Your Name or Email ID (mandatory)
What do you want to say?
Attachments (0)
RSS of this page
Written by:
Version:
Last Edited By:
Modified
Document Saved Successfully
Create new page
Quick Search
Navigate pages |
Site Map
aa
IT服务
Gdqy
DistHanoi
gtk network protocol analyzer
ext4 i2n
Lozen
=P
Kobe
epaulin
codefest2008
Photos of Codefest venue??????
Photos of Long Zhou Hotel
Photos of Codefest venue活动场地图片
Participants
thisisasubpagetest
Debian team
Address of GDLC
Django Step by Step
RadiantCMS Extensions
RadiantCMS Extensions
CodeFest08ZqRecode1
painter
Chinese Lunar Calendar Python API
HowToInstallGauche
AOSS08timeLine
HowToOrganizeCodeFest
AOSS08apachePatches
SuggestAOSS2008
Google
Add sub page
Recently Changed
Google
Django Step by Step
中小企业网站建设方案
undefined
undefined
undefined
undefined
codefest2008
ext4 i2n
SuggestAOSS2008
more
Tags
aoss
more
Incoming Links
There are no incoming links for this page.