.guile
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 11 Aug 2015 16:27:42 +0300
changeset 745 65070eb4aabb
parent 466 4c5042015cd7
permissions -rw-r--r--
Disable beeping.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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