TTYredirector Knowledge Base



When sending data or printing, characters are lost or nothing happens, how can this be fixed?

TTYredirector version 4.0.1 adds the following option that can be configured on a per-tty basis:

"-ptyclosedelay" (or "-t"), which is the number of milliseconds to hold the pty open.  Default is zero (i.e., previous behavior).

This delay will help in situations where the pty is closing quickly and data loss occurs (such as with printing).

Our testing shows that using 20000ms (trconfig -tty yourtty -t 20000) should easily fix the problems with printing.  You may be able to use a value no greater than 5000-10000 and see the same results.

Please note:  Specifying "-ptyclosedelay 3000 -closedelay 6000", the connection to the server will finally be shut down 9 seconds later (3 + 6).  Essentially the ptyclosedelay option prevents the master pty from being closed, and hence doesn't report this to the redirector back-end, and once the pty is closed (and redirector back-end is informed) the original closedelay implementation takes over. 


Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

Article Details

Last Updated
23rd of November, 2009

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions



How would you rate this answer?




Thank you for rating this answer.

Continue