diff --git a/collects/readline/doc.txt b/collects/readline/doc.txt index ebfd1b23e9..5720d10552 100644 --- a/collects/readline/doc.txt +++ b/collects/readline/doc.txt @@ -14,7 +14,7 @@ interact with it. You can put the following in your ~/.mzschemerc so that MzScheme starts with readline support on xterms: - (when (equal? "xterm" (getenv "TERM")) + (when (regexp-match? #rx"xterm" (getenv "TERM")) (dynamic-require '(lib "rep.ss" "readline") #f)) or start MzScheme with