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 <[email protected]> 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 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 EchoShell example ? > > thanks, > Priya -- ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ FuseSource, Integration everywhere http://fusesource.com
