Author Topic: Force new line in terminal  (Read 2286 times)


  • Newbie
  • *
  • Posts: 10
    • View Profile
Force new line in terminal
« on: June 09, 2009, 03:34:53 pm »

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.

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1016
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Force new line in terminal
« Reply #1 on: June 09, 2009, 11:32:41 pm »

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.