[Opensim-users] Change console prompt

Gudule Lapointe gudule at spekuloos.be
Thu Oct 27 20:49:06 UTC 2011


For example, I would be tempted to modify the line 833 in Region/Application/OpenSim.cs:

	m_console.DefaultPrompt = String.Format("Region ({0}) ", regionName);
by 
	m_console.DefaultPrompt = String.Format("{0} ({1}) ", m_startupDirectory, regionName);

But
	1° startup directory  is relevant, but can be quite long
	2° I don't know the code structure at all, i don't know if m_startupDirectory is defined at this stage
	3° this would be a "for me only" hack, it would be better to define a new variable in .ini, like SimulatorName, which would default to the current "Region", but I don't know the process to do that


Le 27 oct. 2011 à 22:18, Gudule Lapointe a écrit :

> Of course, if I type "show info" or "show regions", I know where I am. I would just want to see it immediately, to choose the right console quicker.
> 
> Le 27 oct. 2011 à 22:13, paul emery a écrit :
> 
>> "Show info" in the console?
>> 
>> --
>> View this message in context: http://opensim-users.2152040.n2.nabble.com/Change-console-prompt-tp6913449p6937896.html
>> Sent from the opensim-users mailing list archive at Nabble.com.
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
> 
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
> 




More information about the Opensim-users mailing list