quiet behaviour

Zoltan Arpadffy zoli at polarhome.com
Thu Oct 20 19:02:04 MEST 2005


hi,

Option quiet is described in 3.0beta with:
"Don't query for server or user name if given"

Unfortunately, interactor.promptLine asks for confirmation that is not 
desired when server parameter is present - specially that server can be 
overwritten during confirmation.

I solved this problem by patching SSHPropertyHandler with:

if ( host == null  ) {B
     host = interactor.promptLine("\rSSH Server/Alias: ", host);
     if (host == null) {
           throw new SSHStdIO.SSHExternalMessage("");
     }
}
host = host.trim();

means: do not ask for any confirmation if you have a host defined.

I am not sure if this is a bug - regardless it is good to have documented 
somewhere.

Regards,
Z




More information about the Mindterm-users mailing list