about output alignment in unix terminal

2012-05-23 Thread Kanupriya Dadariya
Hi, I am using apache mina sshd and have implemented my own shell similar to EchoShell  I have noticed that when we display the output , it goes to next column of next row .  I want it to be in the same column when the next line needs to be printed . How do I resolve it considering the EchoShe

Re: about output alignment in unix terminal

2012-05-23 Thread Guillaume Nodet
It may be a cr/lf issue. You may want to replace all \n with \r\n before printing it out maybe. On Wed, May 23, 2012 at 10:28 AM, Kanupriya Dadariya wrote: > Hi, > > I am using apache mina sshd and have implemented my own shell similar to > EchoShell > > I have noticed that when we display the