Hi! When using slide client i've noticied some bugs:
1- if you type just only spaces and press return the client crashes in
string tokenizer. I looked at source. In main(ProcessCommands method) when
you have:
if( command == null ||
command.length() == 0 )
{
// Print commandLine
Usage
printCommandUsage();
continue;
}
command = command.trim();
StringTokenizer st = new
StringTokenizer(command);
String todo = st.nextToken();
Stack params = new Stack();
I think the problem is when you have a string full of spaces then the
nextToken fails. You can have a test before:
....
command = command.trim();
StringTokenizer st = new
StringTokenizer(command);
if (!st.hasMoreTokens()){
printCommandUsage();
}
.....
2- other one is that if you type a command and put no parameters you
don't get to the output the messages that are supposed (like in source);
3- In slide client, when i try to use the open with all its parameters it
fails. When i connect to a site o requires autentication, if i connect like
open www.cyberteams.com:8080
everithing goes well, the site asks for login &
passwd and all goes well;
on the other hand, when i connect like open www.cyberteams.com:8080 -u
<myusername> -p <mypasswd>
the slide client says Error: Check! <mypasswd>.
What's wrong?
If anybody can help me on this and on the questions i've posted before i'll
apreciate....
Thanks
maik