author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 14 Jan 2014 11:24:18 +0200 | |
changeset 684 | 95b15ebd8e1e |
parent 466 | 4c5042015cd7 |
permissions | -rw-r--r-- |
466
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
1 |
;-*- mode: scheme -*- |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
;; Readline support. |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
(use-modules (ice-9 readline)) |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
(activate-readline) |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
(readline-enable 'history-file) |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
7 |
(readline-set! history-length 10000) |
4c5042015cd7
Add Readline support for Guile.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |