Ok. Thanks again.

Sent from my mobile phone.

On Aug 8, 2012, at 7:32 PM, Jakob Bohm <jb-open...@wisemo.com> wrote:

> On 8/9/2012 12:47 AM, Jonathan Shaw wrote:
>> Thank you Jakob.
>>
>> No need to bother with more system detail at this point if I
>> understand correctly.  You are saying there is no built in limit to
>> the command length in characters?  If so, I can troubleshoot my own
>> system. Though I might mention this same
>> Behavior happened with putty and openssh.
>>
>
> Actually, I was not saying that there is no builtin limit, I was simply
> saying that if you were a typical user, checking for system induced
> problems would be a necessary part of the discussion.
>
> There is a builtin limit (in apps/openssl.c, function main), but it is
> 1022, which is much larger than 257.
>
> The builtin limit is primarily enforced by the libc implementation of
> fgets(), so you may want to test its abilities with a small program
> that just calls fgets once on a 1024 byte buffer and then fputs, what
> it got.
>
> Something like (not tested, might not compile):
>
> #include <stdio.h>
>
> int main(int argc, char **argv) {
>   char buf[1024];
>
>   (void)argc;
>   (void)argv;
>
>   fgets(buf, sizeof(buf), stdion);
>   fputs(buf, stdout);
>   fputs("!\n", stdout);
>
>   return 0;
> }
>
>>
>> On Aug 8, 2012, at 5:12 PM, Jakob Bohm <jb-open...@wisemo.com> wrote:
>>
>>> On 8/8/2012 7:10 PM, jonycp wrote:
>>>>
>>>> Hello,
>>>>
>>>> I am trying to paste a lengthy one-line command at the OpenSSL prompt.  I
>>>> recently installed 1.0.1c but I'm not certain it started happening in this
>>>> version.  I used to be able to paste the full command, and now the command
>>>> is truncated to 257 characters (inlcuding spaces).
>>>>
>>>> Is this new and is there some way I can set OpenSSL to allow longer
>>>> commands?
>>>>
>>>> Thanks
>>>>
>>>
>>> It would be much easier for people to investigate this if you specify your 
>>> operating system and terminal type too (such as xterm from X11 RY.Y, xvt 
>>> version Y, putty version Y.YY, kernel Y.Y.Y VGA console,
>>> kernel Y.Y.Y framebuffer console, Solaris text mode console,
>>> Windows Y.Y standard command prompt window, CygWin Y.Y.Y CygTerm, xterm
>>> from Cygwin, etc. etc.)
>>>
>>> Personally I have no specific idea, but I know that on some platforms,
>>> the line length and paste limits are properties of the terminal code
>>> and API.
>>>
>
> Enjoy
>
> Jakob
> --
> Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
> Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
> This public discussion message is non-binding and may contain errors.
> WiseMo - Remote Service Management for PCs, Phones and Embedded
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
This information is intended solely for the use of the individual to whom it is 
addressed. 
Any review, disclosure, copying, distribution or use of this e-mail 
communication by 
others is strictly prohibited.  If you are  not the intended recipient, please 
notify us 
immediately by returning  this message to the sender and delete all copies.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to