aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2009-02-22 02:46:56 +1000
committerGravatar axel <axel@liljencrantz.se>2009-02-22 02:46:56 +1000
commitf5be301a2f3eb568fcb712c110aa116452573c73 (patch)
treeb68675110aa5acb9482bc7d9bfe181039f50de18 /doc_src
parentb1357d11b2be479905db0d204df27074ccfcf512 (diff)
Handle exit status of processes terminated by signals
darcs-hash:20090221164656-ac50b-7bcbf6cb0bb8384560fbf9bf1059480cb4089def.gz
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/index.hdr.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in
index 3e2f9f47..52ce8de3 100644
--- a/doc_src/index.hdr.in
+++ b/doc_src/index.hdr.in
@@ -928,7 +928,7 @@ values of most of these variables.
- \c history, which is an array containing the last commands that where entered.
- \c HOME, which is the users home directory. This variable can only be changed by the root user.
- \c PWD, which is the current working directory.
-- \c status, which is the exit status of the last foreground job to exit.
+- \c status, which is the exit status of the last foreground job to exit. If the job was terminated through a signal, the exit status will be 128 plus the signal number.
- \c USER, which is the username. This variable can only be changed by the root user.
The names of these variables are mostly derived from the csh family of
@@ -967,6 +967,8 @@ variable may also be set to a specific value:
- 126 means that while a file with the specified name was located, it was not executable
- 127 means that no function, builtin or command with the given name could be located
+If a process exits through a signal, the exit status will be 128 plus the number of the signal.
+
\subsection variables-color Variables for changing highlighting colors
The colors used by fish for syntax highlighting can be configured by