On Wednesday 28 September 2005 16:57, Stefano Bagnara wrote: > Hi Avee, > > Can you file this to JIRA, add the patch as attachment and give the > consensus for inclusion in ASL code?
Done http://issues.apache.org/jira/browse/JAMES-423 > > Thank you, > Stefano > > > -----Messaggio originale----- > > Da: AVee [mailto:[EMAIL PROTECTED] > > Inviato: giovedì 22 settembre 2005 17.25 > > A: James Users List > > Oggetto: Re: Give James' telnet:4555 service a prompt > > > > On Thursday 22 September 2005 15:59, Danny Angus wrote: > > > If you want to have a go at making the change yourself look > > > > at this file: > > >http://svn.apache.org/viewcvs.cgi/james/server/trunk/src/java > > > > /org/apach > > > > >e/ja mes/remotemanager/RemoteManagerHandler.java?view=markup > > > > > > and this block: > > > > > > while (parseCommand(in.readLine())) { > > > theWatchdog.reset(); > > > } > > > > > > I think you need to output the prompt once before the while, and in > > > the loop. > > > > Wich is just what I've been writing last week :) A patch > > against the trunk is attached, this adds an optional <prompt> > > element to the remote manager handler block, like this: > > <remotemanager> > > <port>4555</port> > > <handler> > > <helloName autodetect="true">myMailServer</helloName> > > <administrator_accounts> > > <account login="root" password="root"/> > > </administrator_accounts> > > <connectiontimeout> 60000 </connectiontimeout> > > <prompt>james></prompt> > > </handler> > > </remotemanager> > > > > The prompt element is optional, when left out the prompt is > > set to an empty string, so when the configuration is > > unchanged the behaviour also is unchanged. > > > > Arjan. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
