diff --git a/bin/node-repl b/bin/node-repl index 82eb1bca123..9dfdd0ab5a1 100755 --- a/bin/node-repl +++ b/bin/node-repl @@ -1,6 +1,7 @@ #!/usr/bin/env node -process.mixin(require('sys')); +puts = require("sys").puts; + puts("Welcome to the Node.js REPL."); puts("Enter ECMAScript at the prompt."); puts("Tip 1: Use 'rlwrap node-repl' for a better interface");