Login  
Search All Forums
Dart Home | PowerTCP Emulation for .NET | Custom Development Reply | PowerTCP Emulation for .NET Topics | Forums   
AuthorForum: PowerTCP Emulation for .NET
Topic: Text start mid-screen
ez6

From: Israel
Posts: 2
Member Since: 03/07/17
posted March 7, 2017 8:45 AM

I'm using VT on a VT100 emulation. Everything works fine, other than the text always starting mid-screen instead of in the top.

I see that even when I use vt.clear(), the vt.Text property is filled with several "\r\n" strings.

How can I set it so that the text would start at the top, without any spacing?

Thank you.
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 448
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted March 7, 2017 3:19 PM

Thank you for your post. Below you will find a technical response to your question. Please remember your support Subscription has expired and renewal may be required if additional assistance is needed. Please contact sales@dart.com for more information.

Are you referring to the buffer rows? There are 72 buffer rows included as the scrollback buffer, and (by default) 24 display rows. Vt.Text will return both the buffer rows and the rows when accessed. Vt.BufferRows can be set to 0 to disable the use of the scrollback buffer, but this can cause issues with VT application that depend upon them, like VI.
ez6

From: Israel
Posts: 2
Member Since: 03/07/17
posted March 8, 2017 1:57 AM

Thanks ! Indeed - it seems this was it, when I set the BufferRows to zero it starts from the top but then there is no buffering and scrollback.

Is There another option to maintain the BufferRows value, yet not have the empty rows appear onscreen , so that the cursor would start from the top of the display?
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 448
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted March 10, 2017 3:10 PM

Not at this time, however we have entered a feature request as TFS1001, to be reviewed for possible inclusion at a later time.

If your need for this feature is immediate, please contact sales@dart.com and reference this post, for additional options

Regards,
Jamie
Reply | PowerTCP Emulation for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX