Hi Jay,

Thanks for taking time to look at it and pointing me to the link. We arrived at a similar work around to go ahead.

I have pointed out before in this discussion, this may not be a problem of tty setting. I can type any number of characters as my command or it's parameter and get it executed on the native telnet connection. Am I missing something?

The main reason of reporting it as a bug/ feature improvement is to have the code modified in the core module itself so that we won't have to write wrappers where ever we use it. In the worst case we can push this wrapper into the package itself so that the end user won't have a clue.

The solution uses bash. What if my system doesn't have one? In our situation the scripts used csh. I have to do modifications at around a dozzne places to switch between bash and csh.

Net::Telnet is a great package and we are using it at many places in our automation. But that doesn't mean we should stop improving it. We missed this bug before probably due to the assumption "tty setting is the culprit". Why not look at it more closely now?

I won't close this bug unless I find a satisfying explanation.

Thanks and regards

Debashish.


In reply to Re^4: Maximum length of commands in Net::Telnet package by deba
in thread Maximum length of commands in Net::Telnet package by deba

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.