commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijaykumar S - CTD, Chennai." <vija...@ctd.hcltech.com>
Subject commons.net.telnet Issue with windows2000
Date Wed, 13 Nov 2002 12:30:24 GMT

I am using org.apache.commons.net.telnet package.

I am creating Telnet communication with a Windows machine. After logged-in
into windows, apart from normal prompt , it is also diplaying some Junk
characters. How to get rid off this junk characters.
Thanks in Advance!
-vijay

Example : The command "dir" gives..

?[8;1HC:\>?[8;5H
?[9;1HC:\>?[9;5Hdir
?[9;5Hd?[9;6H?[1;1HC:\>dir
?[2;1H Volume in dr
ive C has no label.   ?[3;1H Volume Serial Number is E06D-DAD4
?[4;1H?[K?
[5;1H Directory of C:\?[6;1H?[K?[7;1H10/26/2002  01:59p      <DIR>
ADSCertificate?[8;1H10/03/
2002  02:55p      <DIR>          bea?[9;1H11/08/2002  11:03a      <DIR>
cygwin?[10;1H10/26/20
02  04:33p      <DIR>          docs?[11;1H11/01/2002  05:51a      <DIR>
Documents and Setting
s?[12;1H07/19/2002  12:13p      <DIR>          drivers?[13;1H10/03/2002
11:33a      <DIR>          j2
sdkee1.3.1?[14;1H11/08/2002  02:38p      <DIR>
jdk1.3.1?[15;1H11/08/2002  02:50p      <DIR>
        Program Files?[16;1H10/30/2002  12:17p                 600
PUTTY.RND?[17;1H10/08/2002  10:59a
     <DIR>          Satish?[18;1H10/21/2002  02:46p                 239
Test.bak?[19;1H10/21/2002  02:
46p                 406 Test.class?[20;1H10/21/2002  02:47p
256 Test.java?[21;1H11/11/
2002  08:06p      <DIR>          WINNT?[22;16H4 File(s)          1,501
bytes?[23;15H11 Dir(s)   2,612,
649,984 bytes free?[25;1HC:\>?[25;5H

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message