From mint-bounce@lists.fishpool.fi Wed Aug 5 06:58:23 2009 Message-ID: <20090805115603.vn672nwcyss4gks0@pop.freeola.net> Date: Wed, 05 Aug 2009 11:56:03 +0100 From: p.slegg@scubadivers.co.uk To: mint@lists.fishpool.fi Subject: Re: [MiNT] TosWin console References: <4A76CEE6.6@freesbee.fr><200908050653.15969.jflemaire@skynet.be> <20090805093551.cnxmbxz1cgwc4w8o@pop.freeola.net> <79BC05817AA043309CFF7CCAA4558EF4@joevenlt> In-Reply-To: <79BC05817AA043309CFF7CCAA4558EF4@joevenlt> MIME-Version: 1.0 Content-Type: text/plain; charset=; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: p.slegg@scubadivers.co.uk Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Quoting Jo Even Skarstein : > -------------------------------------------------- > From: > Sent: Wednesday, August 05, 2009 10:35 AM > To: > Subject: [MiNT] TosWin console > >> I was writing some data to the console with printf and saw that \n wasn't >> behaving as I expected. Instead of starting the following data at the >> start of the next line it was just on the line below at the same offset. >> Like this: >> >> >> 123 >> abc >> 123 >> abc >> >> the code was something like: >> >> printf ("shift=%04X \n ctrl=%04X \n", shift, ctrl); >> >> I suspect I was tired and doing something really stupid. > > No, it's not you ;-) The version of Highwire I have on my Milan > prints some debugging statements in the same way. Perhaps it has > printed some terminal control codes earlier that causes this? > > Jo Even Ahh I hadn't thought of that, I don't know much about VT terminal control. I then tried to clear the console but there doesn't seem to be an option to do it from the TosWin menu. I just had to close it and re-open. Peter