]>
Commit | Line | Data |
---|---|---|
28ef6c31 | 1 | /* config-top.h */ |
ccc6cda3 JA |
2 | |
3 | /* This contains various user-settable options not under the control of | |
4 | autoconf. */ | |
5 | ||
53ac45a3 | 6 | /* Copyright (C) 2002-2007 Free Software Foundation, Inc. |
7117c2d2 JA |
7 | |
8 | This file is part of GNU Bash, the Bourne Again SHell. | |
9 | ||
10 | Bash is free software; you can redistribute it and/or modify it under | |
11 | the terms of the GNU General Public License as published by the Free | |
12 | Software Foundation; either version 2, or (at your option) any later | |
13 | version. | |
14 | ||
15 | Bash is distributed in the hope that it will be useful, but WITHOUT ANY | |
16 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
17 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
18 | for more details. | |
19 | ||
20 | You should have received a copy of the GNU General Public License along | |
21 | with Bash; see the file COPYING. If not, write to the Free Software | |
22 | Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ | |
23 | ||
ccc6cda3 JA |
24 | /* Define CONTINUE_AFTER_KILL_ERROR if you want the kill command to |
25 | continue processing arguments after one of them fails. This is | |
26 | what POSIX.2 specifies. */ | |
27 | #define CONTINUE_AFTER_KILL_ERROR | |
28 | ||
29 | /* Define BREAK_COMPLAINS if you want the non-standard, but useful | |
30 | error messages about `break' and `continue' out of context. */ | |
31 | #define BREAK_COMPLAINS | |
32 | ||
33 | /* Define BUFFERED_INPUT if you want the shell to do its own input | |
34 | buffering, rather than using stdio. Do not undefine this; it's | |
35 | required to preserve semantics required by POSIX. */ | |
36 | #define BUFFERED_INPUT | |
37 | ||
38 | /* Define ONESHOT if you want sh -c 'command' to avoid forking to execute | |
39 | `command' whenever possible. This is a big efficiency improvement. */ | |
40 | #define ONESHOT | |
41 | ||
42 | /* Define V9_ECHO if you want to give the echo builtin backslash-escape | |
43 | interpretation using the -e option, in the style of the Bell Labs 9th | |
44 | Edition version of echo. You cannot emulate the System V echo behavior | |
45 | without this option. */ | |
46 | #define V9_ECHO | |
47 | ||
d166f048 | 48 | /* Define DONT_REPORT_SIGPIPE if you don't want to see `Broken pipe' messages |
9e6c09cb | 49 | when a job like `cat jobs.c | exit 1' terminates due to a SIGPIPE. */ |
3ffb039a | 50 | #define DONT_REPORT_SIGPIPE |
d166f048 | 51 | |
53ac45a3 CR |
52 | /* Define DONT_REPORT_BROKEN_PIPE_WRITE_ERRORS if you don't want builtins |
53 | like `echo' and `printf' to report errors when output does not succeed | |
54 | due to EPIPE. */ | |
55 | /* #define DONT_REPORT_BROKEN_PIPE_WRITE_ERRORS */ | |
56 | ||
ccc6cda3 JA |
57 | /* The default value of the PATH variable. */ |
58 | #ifndef DEFAULT_PATH_VALUE | |
59 | #define DEFAULT_PATH_VALUE \ | |
d3a24ed2 | 60 | "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:." |
ccc6cda3 JA |
61 | #endif |
62 | ||
63 | /* The value for PATH when invoking `command -p'. This is only used when | |
64 | the Posix.2 confstr () function, or CS_PATH define are not present. */ | |
65 | #ifndef STANDARD_UTILS_PATH | |
66 | #define STANDARD_UTILS_PATH \ | |
d3a24ed2 | 67 | "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc" |
ccc6cda3 JA |
68 | #endif |
69 | ||
70 | /* Default primary and secondary prompt strings. */ | |
71 | #define PPROMPT "\\s-\\v\\$ " | |
72 | #define SPROMPT "> " | |
73 | ||
7117c2d2 JA |
74 | /* Undefine this if you don't want the ksh-compatible behavior of reprinting |
75 | the select menu after a valid choice is made only if REPLY is set to NULL | |
76 | in the body of the select command. The menu is always reprinted if the | |
77 | reply to the select query is an empty line. */ | |
78 | #define KSH_COMPATIBLE_SELECT | |
79 | ||
ccc6cda3 JA |
80 | /* System-wide .bashrc file for interactive shells. */ |
81 | /* #define SYS_BASHRC "/etc/bash.bashrc" */ | |
82 | ||
83 | /* System-wide .bash_logout for login shells. */ | |
84 | /* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */ | |
bb70624e JA |
85 | |
86 | /* Define this to make non-interactive shells begun with argv[0][0] == '-' | |
87 | run the startup files when not in posix mode. */ | |
88 | /* #define NON_INTERACTIVE_LOGIN_SHELLS */ | |
f73dda09 JA |
89 | |
90 | /* Define this if you want bash to try to check whether it's being run by | |
866961ad CR |
91 | sshd and source the .bashrc if so (like the rshd behavior). This checks |
92 | for the presence of SSH_CLIENT or SSH2_CLIENT in the initial environment, | |
93 | which can be fooled under certain not-uncommon circumstances. */ | |
f73dda09 | 94 | /* #define SSH_SOURCE_BASHRC */ |
09767ff0 CR |
95 | |
96 | /* Define if you want the case-capitalizing operators (~[~]) and the | |
97 | `capcase' variable attribute (declare -c). */ | |
98 | #define CASEMOD_CAPCASE |