summaryrefslogtreecommitdiff
path: root/modules/ssh/popen.scm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* popen.scm: Add 'OPEN_PTY' modeArtyom V. Poptsov2016-02-221-2/+15
| | | | | | | | * 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.
* popen.scm (open-remote-pipe): Bugfix: Don't request PTYArtyom V. Poptsov2016-02-211-1/+0
| | | | | | | | | | | 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.
* popen.scm: Don't use (ice-9 popen)Artyom V. Poptsov2015-12-241-3/+1
| | | | | | * 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.)
* popen.scm: New moduleArtyom V. Poptsov2015-12-061-0/+87
* 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.