@ -1466,7 +1466,7 @@ This object is used as a TCP client and also as a server\-side socket for tcp\.S
.sp
.sp
.TS
.TS
allbox tab(:);
allbox tab(:);
ltB ltB ltBx.
ltB ltB ltB.
T{
T{
Event
Event
T}:T{
T}:T{
@ -1762,6 +1762,37 @@ node\.dns\.NOMEM: out of memory while processing\.
\h'-04'\(bu\h'+03'
\h'-04'\(bu\h'+03'
node\.dns\.BADQUERY: the query is malformed\.
node\.dns\.BADQUERY: the query is malformed\.
.RE
.RE
.SH"REPL"
A Read\-Eval\-Print\-Loop is available both as a standalone program and easily includable in other programs\.
.sp
The standalone REPL is called node\-repl and is installed at $PREFIX/bin/node\-repl\. It\(cqs recommended to use it with the program rlwrap for a better user interface\. I set
.sp
.sp
.RS4
.nf
alias node\-repl="rlwrap node\-repl"
.fi
.RE
in my zsh configuration\.
.sp
Inside the REPL, Control+D will exit\. The special variable _ (underscore) contains the result of the last expression\.
.sp
The library is called /repl\.js and it can be used like this: