<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/doc/api/repl.markdown, branch master</title>
<subtitle>github.com: joyent/node.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/'/>
<entry>
<title>repl: REPLServer inherits from readline.Interface</title>
<updated>2014-02-18T00:04:36+00:00</updated>
<author>
<name>Yazhong Liu</name>
<email>l900422@vip.qq.com</email>
</author>
<published>2014-02-15T14:21:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=3ae0b17c76f693dd2e68a46f78c7dc7f595b33c6'/>
<id>3ae0b17c76f693dd2e68a46f78c7dc7f595b33c6</id>
<content type='text'>
This exposes a setPrompt for and other readline features
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This exposes a setPrompt for and other readline features
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: mark repl as stable</title>
<updated>2013-08-28T01:09:26+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-08-28T01:09:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=ba72f8cad878338726e45ed6fa2b1514b8a9ff2e'/>
<id>ba72f8cad878338726e45ed6fa2b1514b8a9ff2e</id>
<content type='text'>
Closes #6090
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6090
</pre>
</div>
</content>
</entry>
<entry>
<title>repl: emit 'reset' event when context is reset</title>
<updated>2013-03-14T20:49:14+00:00</updated>
<author>
<name>Sami Samhuri</name>
<email>sami.samhuri@gmail.com</email>
</author>
<published>2013-03-14T20:49:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=5eacdd4bf94edc8328f42e3591ba4dd79d347571'/>
<id>5eacdd4bf94edc8328f42e3591ba4dd79d347571</id>
<content type='text'>
Closes #1183.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1183.
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: add prompt to fix repl_test.js example</title>
<updated>2013-02-13T15:40:27+00:00</updated>
<author>
<name>Dan Kohn</name>
<email>dan@dankohn.com</email>
</author>
<published>2013-02-12T20:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=2e1ebbf2c54585e67ec71d73b8a7f94214077368'/>
<id>2e1ebbf2c54585e67ec71d73b8a7f94214077368</id>
<content type='text'>
Running repl.start without the prompt set produces this error:

repl.js:95
    throw new Error('An options Object, or a prompt String are required');
          ^
Error: An options Object, or a prompt String are required
    at new REPLServer (repl.js:95:11)
    at Object.exports.start (repl.js:321:14)
    at Object.&lt;anonymous&gt; (/Users/dan/Dropbox/Documents/dev/nextgen/repl_test.js:5:6)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Running repl.start without the prompt set produces this error:

repl.js:95
    throw new Error('An options Object, or a prompt String are required');
          ^
Error: An options Object, or a prompt String are required
    at new REPLServer (repl.js:95:11)
    at Object.exports.start (repl.js:321:14)
    at Object.&lt;anonymous&gt; (/Users/dan/Dropbox/Documents/dev/nextgen/repl_test.js:5:6)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
</pre>
</div>
</content>
</entry>
<entry>
<title>repl: add a 'useColors' option to the repl</title>
<updated>2012-03-28T01:00:59+00:00</updated>
<author>
<name>Nathan Rajlich</name>
<email>nathan@tootallnate.net</email>
</author>
<published>2012-03-28T01:00:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=208b2307440f95946b232c6a23e2547b7dd94e89'/>
<id>208b2307440f95946b232c6a23e2547b7dd94e89</id>
<content type='text'>
This should only be minimally used, since the `terminal` value will usually be
what you are expecting. This option is specifically for the case where `terminal`
is false, but you still want colors to be output (or vice-versa).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should only be minimally used, since the `terminal` value will usually be
what you are expecting. This option is specifically for the case where `terminal`
is false, but you still want colors to be output (or vice-versa).
</pre>
</div>
</content>
</entry>
<entry>
<title>repl: add a 'writer' option to the repl</title>
<updated>2012-03-28T00:39:14+00:00</updated>
<author>
<name>Nathan Rajlich</name>
<email>nathan@tootallnate.net</email>
</author>
<published>2012-03-28T00:39:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=b187e96ec91b1aaf1ed4d7eed870cc5ba2e3259e'/>
<id>b187e96ec91b1aaf1ed4d7eed870cc5ba2e3259e</id>
<content type='text'>
Previously this was a module-level setting, meaning that all REPL instances
had to share the same writer function. Turning it into one of the options
allows individual REPL instances to use their own writer function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously this was a module-level setting, meaning that all REPL instances
had to share the same writer function. Turning it into one of the options
allows individual REPL instances to use their own writer function.
</pre>
</div>
</content>
</entry>
<entry>
<title>repl: make ^D emit an 'end' event on the readline instance</title>
<updated>2012-03-27T20:54:49+00:00</updated>
<author>
<name>Nathan Rajlich</name>
<email>nathan@tootallnate.net</email>
</author>
<published>2012-03-27T19:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=f41901cdf6e6236de3f588051b81340e9c1dd61f'/>
<id>f41901cdf6e6236de3f588051b81340e9c1dd61f</id>
<content type='text'>
Also emit 'exit' on the repl when 'end' is emitted on the readline.

Fixes `node debug test/fixtures/breakpoints.js` when ^D is pressed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also emit 'exit' on the repl when 'end' is emitted on the readline.

Fixes `node debug test/fixtures/breakpoints.js` when ^D is pressed.
</pre>
</div>
</content>
</entry>
<entry>
<title>readline: migrate ansi/vt100 logic from tty to readline</title>
<updated>2012-03-26T22:21:25+00:00</updated>
<author>
<name>Nathan Rajlich</name>
<email>nathan@tootallnate.net</email>
</author>
<published>2012-03-26T22:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=aad12d0b265c9b06ae029d6ee168849260a91dd6'/>
<id>aad12d0b265c9b06ae029d6ee168849260a91dd6</id>
<content type='text'>
The overall goal here is to make readline more interoperable with other node
Streams like say a net.Socket instance, in "terminal" mode.

See #2922 for all the details.
Closes #2922.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The overall goal here is to make readline more interoperable with other node
Streams like say a net.Socket instance, in "terminal" mode.

See #2922 for all the details.
Closes #2922.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: document the repl "exit" event</title>
<updated>2012-03-13T18:58:54+00:00</updated>
<author>
<name>Nathan Rajlich</name>
<email>nathan@tootallnate.net</email>
</author>
<published>2012-03-13T18:50:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=884a209ccfd5bac74d891cdea50750cb6cd842a1'/>
<id>884a209ccfd5bac74d891cdea50750cb6cd842a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: correct repl eval callback signature</title>
<updated>2012-03-06T19:46:27+00:00</updated>
<author>
<name>Ming Liu</name>
<email>vmliu1@gmail.com</email>
</author>
<published>2012-03-06T19:19:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=b6023905ff16ec91b7cfbbf9fd31a9e4f07900a1'/>
<id>b6023905ff16ec91b7cfbbf9fd31a9e4f07900a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
