2009/9/22  <[email protected]>:
>  On Sep 8, I got your suggestion about sending a line feed after command
> string to shell, the shell works well but with tiny matter.
>  This time my question exactly is that in some cases shell not response the
> right string.
>  For example,
>  command "who", response what I want.( "who" + "real response" + "shell
> prompt" )
>  command "ls" , response with two "shell prompt".( "ls" + "real response" +
> "shell prompt" + "shell prompt" )
>  But command "ls -l", just response "ls -". (all of them I had added line
> feed after command string)
>  The same server, the same shell commands, putty works well.
>  Could you take a look at my problem?

A couple of points Bill:

Please bottom-post on this mailing list.  It makes discussions much
easier for everyone to follow.

Please post code!  Even if it's just a few lines showing what you are
doing (however a minimal working example that reproduces the problem
is much preferred).  Code speaks louder than words: there is no
ambiguity and nothing gets lost in translation.  I'm afraid, without
code, I haven't got a clue what you are asking us.

Alex
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to