[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple calls to channel_request_exec()
[Thread Prev] | [Thread Next]
- Subject: Re: Multiple calls to channel_request_exec()
- From: Stephan Kountso <steplg@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 25 Feb 2010 16:05:40 +0300
- To: libssh@xxxxxxxxxx
ok, thanks for explanations. On Thu, Feb 25, 2010 at 3:18 PM, Aris Adamantiadis <aris@xxxxxxxxxxxx>wrote: > Hi, > > 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. > > Aris > > 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 > > "DAR-VSS(config)#". > > > > Am i right? > > > > -- С уважением, Кунцьо Степан aka StepLg
Multiple calls to channel_request_exec() | Mark Hessling <mark@xxxxxxxx> |
Re: Multiple calls to channel_request_exec() | Aris Adamantiadis <aris@xxxxxxxxxxxx> |
Re: Multiple calls to channel_request_exec() | Mark Hessling <mark@xxxxxxxx> |
Re: Multiple calls to channel_request_exec() | Stephan Kountso <steplg@xxxxxxxxx> |
Re: Multiple calls to channel_request_exec() | Aris Adamantiadis <aris@xxxxxxxxxxxx> |
Re: Multiple calls to channel_request_exec() | Stephan Kountso <steplg@xxxxxxxxx> |
Re: Multiple calls to channel_request_exec() | Aris Adamantiadis <aris@xxxxxxxxxxxx> |