aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-10 22:56:13 +0000
committerJustin Clark-Casey (justincc)2011-11-10 22:56:13 +0000
commit2d4ac6288dab1b12997c54cdc93d71ac5d0be8fc (patch)
treefd5b0c45ffaa0405d4682a6a63609a14984f37d4 /bin
parentconvert tabs from commit 3758306 to spaces (diff)
downloadopensim-SC_OLD-2d4ac6288dab1b12997c54cdc93d71ac5d0be8fc.zip
opensim-SC_OLD-2d4ac6288dab1b12997c54cdc93d71ac5d0be8fc.tar.gz
opensim-SC_OLD-2d4ac6288dab1b12997c54cdc93d71ac5d0be8fc.tar.bz2
opensim-SC_OLD-2d4ac6288dab1b12997c54cdc93d71ac5d0be8fc.tar.xz
Alter commit 3758306 to allow region name to be substituted within a region console prompt
This is to allow broader subsitution in the future. Currently, the only substitions are \R (for region name) and \\ (for a single backslash) e.g. "Region (\R) " is the current and continuing default prompt This renames custom_prompt in [Startup] to ConsolePrompt
Diffstat (limited to 'bin')
-rwxr-xr-xbin/OpenSim.ini.example14
-rw-r--r--bin/OpenSimDefaults.ini7
2 files changed, 15 insertions, 6 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index c5205db..253b24d 100755
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -36,6 +36,14 @@
36 36
37 37
38[Startup] 38[Startup]
39 ;# {ConsolePrompt} {} {ConsolePrompt} {} "Region (\R) "
40 ;; Console prompt
41 ;; Certain special characters can be used to customize the prompt
42 ;; Currently, these are
43 ;; \R - substitute region name
44 ;; \\ - substitute \
45 ; ConsolePrompt = "Region (\R) "
46
39 ;# {save_crashes} {} {Save crashes to disk?} {true false} false 47 ;# {save_crashes} {} {Save crashes to disk?} {true false} false
40 ;; Set this to true if you want to log crashes to disk 48 ;; Set this to true if you want to log crashes to disk
41 ;; this can be useful when submitting bug reports. 49 ;; this can be useful when submitting bug reports.
@@ -230,12 +238,6 @@
230 ;; by scripts have changed. 238 ;; by scripts have changed.
231 ; DeleteScriptsOnStartup = true 239 ; DeleteScriptsOnStartup = true
232 240
233 ;; Custom prompt
234 ;; This value replaces the word "Region" in console prompt
235 ;; (usualy "Region (regionName) # "
236 ;; Useful only if you have to monitor serveral servers
237 ; custom_prompt = "MyServer1"
238
239[SMTP] 241[SMTP]
240 ;; The SMTP server enabled the email module to send email to external 242 ;; The SMTP server enabled the email module to send email to external
241 ;; destinations. 243 ;; destinations.
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini
index 7ea710e..2c5fbf5 100644
--- a/bin/OpenSimDefaults.ini
+++ b/bin/OpenSimDefaults.ini
@@ -3,6 +3,13 @@
3 3
4 4
5[Startup] 5[Startup]
6 ; Console prompt
7 ; Certain special characters can be used to customize the prompt
8 ; Currently, these are
9 ; \R - substitute region name
10 ; \\ - substtitue \
11 ConsolePrompt = "Region (\R) "
12
6 ; Set this to true if you want to log crashes to disk 13 ; Set this to true if you want to log crashes to disk
7 ; this can be useful when submitting bug reports. 14 ; this can be useful when submitting bug reports.
8 ; However, this will only log crashes within OpenSimulator that cause the entire program to exit 15 ; However, this will only log crashes within OpenSimulator that cause the entire program to exit