pressly / sup

Super simple deployment tool - think of it like 'make' for a network of servers
https://pressly.github.io/sup
MIT License
2.48k stars 178 forks source link

Bug running `w` remote command #88

Closed pkieltyka closed 8 years ago

pkieltyka commented 8 years ago

[peter@pak ~/Dev/go/src/github.com/pressly/imgry]$ sup production w ubuntu@imgry1.x.pressly.io:22 | w: 40 column window is too narrow ubuntu@imgry3.x.pressly.io:22 | w: 40 column window is too narrow ubuntu@imgry2.x.pressly.io:22 | w: 40 column window is too narrow ubuntu@imgry2.x.pressly.io:22 | Process exited with status 1 ubuntu@imgry1.x.pressly.io:22 | Process exited with status 1

VojtechVitek commented 8 years ago

Most probably upstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=183394

We might introduce an option to disable TTY for a certain command, which would "fix" these types of bugs.

VojtechVitek commented 8 years ago

A workaround is running w|cat, where cat hides the underlying TTY's fd with its raw stdin fd.