Re: Multiple calls to channel_request_exec()
- Subject: Re: Multiple calls to channel_request_exec()
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 25 Feb 2010 13:18:15 +0100
- To: libssh@xxxxxxxxxx
In fact, yes it depends on the shell and on the way it manages
interactive sessions with and without pty.
When you have not asked for a pty, the server should not send vt-100 or
xterm commands, like the character erasing, bips when you're hitting tab
and so on. If they do, it's a bug in the server you should work around.
On all other unix things, you're going to get /bin/sh with no prompt if
you do not allocate a pty.
So sorry, I may have generalized a bit too much.
Stephan Kountso a écrit :
> oh, sorry. my mistake.
> in fact, i think it depends on shell you use. For example cisco shell
> (ssh v. 1.5) duplicates all input. And prompt depends on shell to. For
> example prompt in my bash is something like this:
> "steplg@BlahNot:~/quickdoc/workspaces$", and prompt on cisco is
> Am i right?
Archive administrator: firstname.lastname@example.org