data with New line not recognized when sent from windows to solaris


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting data with New line not recognized when sent from windows to solaris
# 1  
Old 11-12-2010
data with New line not recognized when sent from windows to solaris

My application uses terminal emulation (vt100) to connect to remote machines via Telnet or SSH. Please let me know if anyone has a solution for my problem.

Error description:
When connecting to Windows machine via Telnet / SSH, the terminal data is appearing in the other screen and log with some special characters as shown below. It appears to be an encoding issue with data from Windows.
Log output with characters:
Welcome to Microsoft Telnet Service


login: vs218355

password:
Logon failure: unknown user name or bad password.

Login Failed


login: nsere

password: *===============================================================Welcome to Microsoft Telnet Server.*===============================================================D:\Documents and Settings\nsere>1'1' is not recognized as an internal or external command,operable program or batch file.D:\Documents and Settings\nsere>2'2' is not recognized as an internal or external command,operable program or batch file.D:\Documents and Settings\nsere>

Regards,
Vidya
# 2  
Old 11-12-2010
Please post the Operating System and version of both computers.

In general Windows telnet is set up so you can telnet between Windows computers and run a Windows interactive "cmd" shell. See the Microsoft Knowledgebase for how to configure the telnet server for unix for those versions of Windows which support a telnet terminal configuration file.

Using telnet to a Microsoft platform is such an unusual thing to do, we wonder why?
# 3  
Old 11-13-2010
Our application is used to connect remotely to any machine (Windows, Solaris, Mac) using either SSH or Telnet protocol. We are able to connect remotely using terminal emulator vt100.

The windows machine I tested are Windows Xp, Windows 7
Our server is Solaris box Sparc 10

When connecting to Windows machine using wither Telnet or SSH, the terminal data is appearing with some junk characters. New line is not recognized.

Scenario: User will be launching our application(standalone jnlp file) from his windows box and connects to his own windows box and also invites another participant to see his terminal. When user enters text, it appears on the participant screen also. The text entered in the initiator screen appears in a single line in participant screen.
This data entered by the initiator from windows box is transferred to our Solaris server and then is communicated to the participant screen.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Parsing XML (and insert data) then output data (bash / Solaris)

Hi folks I have a script I wrote that basically parses a bunch of config and xml files works out were to add in the new content then spits out the data into a new file. It all works - apart from the xml and config file format in the new file with XML files the original XML (that ends up in... (2 Replies)
Discussion started by: dfinch
2 Replies

2. Shell Programming and Scripting

Help in adding a data after a particular line of data in a file.

Hi.. I'm into a bump after trying to solve this prob.. i've a file with contents like below. <blankline> 'pgmId' : 'UNIX', 'pgmData' : 'textfile', 'author' : 'admin', ....... Now i'm trying to insert a new data after pgmId. so the final output will be... (7 Replies)
Discussion started by: arjun_arippa
7 Replies

3. Shell Programming and Scripting

Replace unix 'new line' with windows 'new line'

I'm trying to write a script to convert a unix text file to windows/dos format. Essentially all I want to do is replace the Unix return with a windows one. on the command line I can do this successfully by: sed s/$/^M/ ~/unix.txt ~/dos.txt when I put this line in my shell script it... (5 Replies)
Discussion started by: wha72
5 Replies

4. Solaris

NTFS under Solaris (switching from windows to Solaris server)

I want just to keep Solaris OS as my default OS . I have installed linux and windows as well but all my critical data is stored on NTFS partition so question is how to mount HDD with NTFS on Solaris (tried FUSE + NTFS-3g but that did`t worked for me system was down) And why Solaris does not... (2 Replies)
Discussion started by: microbot
2 Replies

5. Shell Programming and Scripting

Formatting a text file to get data in exact line by line

I have my data something like this SERIAL FIRSTOCCURRENCE NETPROTOCOL 1947430693 07/01/2009 05:16:40 FR SERIAL FIRSTOCCURRENCE NETPROTOCOL 1947430746 07/01/2009 05:18:05 FR I want the output as follows.... (1 Reply)
Discussion started by: rdhanek
1 Replies

6. Solaris

Windows/Solaris data sharing

Hi all, I have a request from Developer team in my compagny, they would like to be able to share data between unix and windows world. 1. We would like to be able to see Unix data from Windows : ?Samba ? 2 We would like to be able to see windows data from Solaris (Mount point) : ?NFS server... (4 Replies)
Discussion started by: unclefab
4 Replies
Login or Register to Ask a Question