| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* modules/ssh/popen.scm: Add 'OPEN_PTY' mode.
(open-remote-pipe): Open a pseudo terminal if 'OPEN_PTY' mode is requested.
* modules/ssh/channel.scm (make-channel): Use 'string-contains' instead of
'string=?'.
* doc/api-popen.texi: Update. Add examples.
|
| |
|
|
|
|
|
|
|
|
|
| |
When PTY is requested, OpenSSH server merges stderr stream with stdout and the
Guile-SSH channel reads all the output as stdout even if the executed command
is failed. This patch fixes that.
Reported by: David Thompson in <https://github.com/artyom-poptsov/guile-ssh/issues/2>
* modules/ssh/popen.scm (open-remote-pipe): Bugfix: Don't request PTY.
* AUTHORS, NEWS, THANKS: Update.
|
| |
|
|
|
|
| |
* modules/ssh/popen.scm: Remove unused (ice-9 popen) dependency; don't export
OPEN_READ, OPEN_WRITE and OPEN_BOTH (because the variables are defined in
the top-level (guile) module.)
|
|
|
* modules/ssh/popen.scm: New module.
* modules/ssh/Makefile.am (SCM_SOURCES): Add 'popen.scm'.
* modules/ssh/channel.scm: Move 'open-remote-*' procedures to (ssh popen).
* modules/ssh/dist/node.scm, tests/popen.scm: Use (ssh popen).
* NEWS, README: Update.
|