• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
November 23, 2024, 06:59:25 am

News:

SMF - Just Installed!


Force new line in terminal

Started by adyble, June 09, 2009, 12:34:53 pm

Previous topic - Next topic

adyble

Hi

I am receiving continuous data from com port. but whenassing a nrTerminal, is overwriting the data on the same line instead of displaying on the next line, like hypterminal does.

Really good component, works great by the way.
Andy
Dyble

Roman Novgorodov

Hello

The TnrTerminal component was designed for VT100/ANSI protocols support.

Possible your remote device sends  #13 byte. This ANSI command moves caret at the begin of current line.
Device needs to send #10 for move caret on the next line. The HyperTerminal has additional setting for handle this situation.

I recommend you to use ordinary TMemo control for TnrComm.Terminal property. It moves caret correctly after single #13.

Roman Novgorodov

DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.