Ah I know how to make that happen too ..
win2k:
telnet
set LOCAL_ECHO
open localhost 4555


I'll apply the patch too, thanks,
d.

> -----Original Message-----
> From: Jeff Dillon [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 09, 2002 9:15 PM
> To: James Developers List
> Subject: Re: current version of James?
> 
> 
> Yup, that's the problem. I played with it a little while and was 
> just about
> to mail a very similar patch out to the list. :-) When I printed the two
> Strings to System.out intead of through the PrintWriter I saw a leading
> space.
> 
> Your patch is fixes the login problem. Using the trim() works correctly.
> 
> Now, I still have the problem that the builtin Windows 2k telnet 
> client and
> other windows third party telnet clients not echoing my input back to me.
> 
> 
> Jeff Dillon
> http://www.jeffdillon.com
> 
> 
> ----- Original Message -----
> From: "Danny Angus" <[EMAIL PROTECTED]>
> To: "James Developers List" <[EMAIL PROTECTED]>
> Sent: Wednesday, January 09, 2002 2:47 PM
> Subject: RE: current version of James?
> 
> 
> > Its probably our old friend windows line endings v unix ones ..
> > there was an issue with v1 in this respect but I understood it had been
> > sorted, I know win2k telnet & telnet from linux and most 
> emulators are OK
> > and that NT telnet wasn't I'm not sure about anything else.
> > I expect we may simply need to trim the input, could you try 
> applying this
> > patch to your file and run your test again?
> >
> > cvs -z9 diff -u RemoteManagerHandler.java
> > Index: RemoteManagerHandler.java
> > ===================================================================
> > RCS file:
> >
> /home/cvs/jakarta-james/src/java/org/apache/james/remotemanager/Re
> moteManage
> > rHandler.java,v
> > retrieving revision 1.6
> > diff -u -r1.6 RemoteManagerHandler.java
> > --- RemoteManagerHandler.java 30 Nov 2001 11:20:16 -0000 1.6
> > +++ RemoteManagerHandler.java 9 Jan 2002 20:38:00 -0000
> > @@ -130,9 +130,9 @@
> >                      getLogger().info( message );
> >                  }
> >                  out.println("Login id:");
> > -                login = in.readLine();
> > +                login = in.readLine().trim();
> >                  out.println("Password:");
> > -                password = in.readLine();
> > +                password = in.readLine().trim();
> >              } while (!password.equals(admaccount.get(login)) ||
> > password.length() == 0);
> >
> >              scheduler.resetTrigger(this.toString());
> >
> > d.
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to