summaryrefslogtreecommitdiff
path: root/doc/api/readline.md
diff options
context:
space:
mode:
authorKaran Thakkar <karanjthakkar@gmail.com>2017-02-22 20:12:46 +0530
committerAnna Henningsen <anna@addaleax.net>2017-02-24 02:43:25 +0100
commit6ae159fa35b21c6abb478a99ea1c9e76813dba3b (patch)
tree5efb1d65c41b4cd41ca1817bcd36025ba2a46c75 /doc/api/readline.md
parentf385f77f1d011786cb1c5e80f257fa043f4c608b (diff)
downloadandroid-node-v8-6ae159fa35b21c6abb478a99ea1c9e76813dba3b.tar.gz
android-node-v8-6ae159fa35b21c6abb478a99ea1c9e76813dba3b.tar.bz2
android-node-v8-6ae159fa35b21c6abb478a99ea1c9e76813dba3b.zip
doc: change broken fg(1) links to fg(1p)
The fg(1) links in the readline docs have moved from `http://man7.org/linux/man-pages/man1/fg.1.html` to `http://man7.org/linux/man-pages/man1/fg.1p.html`. It also modifies the regex for replacing man page links in docs by allowing optional character after number. eg: fg(1) and fg(1p) will both be now parsed and replaced. Fixes: https://github.com/nodejs/node/issues/11492 PR-URL: https://github.com/nodejs/node/pull/11504 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'doc/api/readline.md')
-rw-r--r--doc/api/readline.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/readline.md b/doc/api/readline.md
index b7c9a50630..b3be83bb6e 100644
--- a/doc/api/readline.md
+++ b/doc/api/readline.md
@@ -124,7 +124,7 @@ added: v0.7.5
The `'SIGCONT'` event is emitted when a Node.js process previously moved into
the background using `<ctrl>-Z` (i.e. `SIGTSTP`) is then brought back to the
-foreground using fg(1).
+foreground using fg(1p).
If the `input` stream was paused *before* the `SIGTSTP` request, this event will
not be emitted.
@@ -174,7 +174,7 @@ input, typically known as `SIGTSTP`. If there are no `SIGTSTP` event listeners
registered when the `input` stream receives a `SIGTSTP`, the Node.js process
will be sent to the background.
-When the program is resumed using fg(1), the `'pause'` and `SIGCONT` events
+When the program is resumed using fg(1p), the `'pause'` and `SIGCONT` events
will be emitted. These can be used to resume the `input` stream.
The `'pause'` and `'SIGCONT'` events will not be emitted if the `input` was