Changeset 27248 in project


Ignore:
Timestamp:
08/14/12 13:16:21 (9 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [81.231.85.194]: Updated readline instructions to use get-environment-variable instead of getenv.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/4/faq

    r26846 r27248  
    587587
    588588CSI doesn't support it natively but it can be activated with the [[http://wiki.call-cc.org/egg/readline|readline]] egg.
    589 After installing the egg, add the following to your {{~/.csirc}} or equivalent file:
    590 
    591 <enscript highlight=scheme>
    592  (require-extension readline)
    593  (current-input-port (make-gnu-readline-port))
    594  (gnu-history-install-file-manager (string-append (or (getenv "HOME") ".") "/.csi.history"))
     589After installing the egg with
     590
     591<enscript highlight=shell>
     592$ chicken-install readline
     593</enscript>
     594
     595add the following to your {{~/.csirc}} or equivalent file:
     596
     597<enscript highlight=scheme>
     598(require-extension readline)
     599(current-input-port (make-gnu-readline-port))
     600(gnu-history-install-file-manager
     601  (string-append (or (get-environment-variable "HOME") ".") "/.csi.history"))
    595602</enscript>
    596603
Note: See TracChangeset for help on using the changeset viewer.