From 2d4ac6288dab1b12997c54cdc93d71ac5d0be8fc Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 10 Nov 2011 22:56:13 +0000 Subject: 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 --- bin/OpenSim.ini.example | 14 ++++++++------ bin/OpenSimDefaults.ini | 7 +++++++ 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'bin') 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 @@ [Startup] + ;# {ConsolePrompt} {} {ConsolePrompt} {} "Region (\R) " + ;; Console prompt + ;; Certain special characters can be used to customize the prompt + ;; Currently, these are + ;; \R - substitute region name + ;; \\ - substitute \ + ; ConsolePrompt = "Region (\R) " + ;# {save_crashes} {} {Save crashes to disk?} {true false} false ;; Set this to true if you want to log crashes to disk ;; this can be useful when submitting bug reports. @@ -230,12 +238,6 @@ ;; by scripts have changed. ; DeleteScriptsOnStartup = true - ;; Custom prompt - ;; This value replaces the word "Region" in console prompt - ;; (usualy "Region (regionName) # " - ;; Useful only if you have to monitor serveral servers - ; custom_prompt = "MyServer1" - [SMTP] ;; The SMTP server enabled the email module to send email to external ;; 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 @@ [Startup] + ; Console prompt + ; Certain special characters can be used to customize the prompt + ; Currently, these are + ; \R - substitute region name + ; \\ - substtitue \ + ConsolePrompt = "Region (\R) " + ; Set this to true if you want to log crashes to disk ; this can be useful when submitting bug reports. ; However, this will only log crashes within OpenSimulator that cause the entire program to exit -- cgit v1.1