]> git.ipfire.org Git - thirdparty/bash.git/blob - config-top.h
Imported from ../bash-3.1.tar.gz.
[thirdparty/bash.git] / config-top.h
1 /* config-top.h */
2
3 /* This contains various user-settable options not under the control of
4 autoconf. */
5
6 /* Copyright (C) 2002 Free Software Foundation, Inc.
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
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
48 /* Define DONT_REPORT_SIGPIPE if you don't want to see `Broken pipe' messages
49 when a job like `cat jobs.c | exit 1' is executed. */
50 #define DONT_REPORT_SIGPIPE
51
52 /* The default value of the PATH variable. */
53 #ifndef DEFAULT_PATH_VALUE
54 #define DEFAULT_PATH_VALUE \
55 "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:."
56 #endif
57
58 /* The value for PATH when invoking `command -p'. This is only used when
59 the Posix.2 confstr () function, or CS_PATH define are not present. */
60 #ifndef STANDARD_UTILS_PATH
61 #define STANDARD_UTILS_PATH \
62 "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
63 #endif
64
65 /* Default primary and secondary prompt strings. */
66 #define PPROMPT "\\s-\\v\\$ "
67 #define SPROMPT "> "
68
69 /* Undefine this if you don't want the ksh-compatible behavior of reprinting
70 the select menu after a valid choice is made only if REPLY is set to NULL
71 in the body of the select command. The menu is always reprinted if the
72 reply to the select query is an empty line. */
73 #define KSH_COMPATIBLE_SELECT
74
75 /* System-wide .bashrc file for interactive shells. */
76 /* #define SYS_BASHRC "/etc/bash.bashrc" */
77
78 /* System-wide .bash_logout for login shells. */
79 /* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
80
81 /* Define this to make non-interactive shells begun with argv[0][0] == '-'
82 run the startup files when not in posix mode. */
83 /* #define NON_INTERACTIVE_LOGIN_SHELLS */
84
85 /* Define this if you want bash to try to check whether it's being run by
86 sshd and source the .bashrc if so (like the rshd behavior). */
87 /* #define SSH_SOURCE_BASHRC */