author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 27 Mar 2015 15:05:50 +0200 | |
changeset 737 | ead952765cf1 |
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 |