capistrano/capistrano — Issue #148: Multiple copies of "tput: No value for $TERM and no -T specified"
Author: sjf-control
Created: 2012-01-26 14:19:57+00:00
State: open

I recently updated my project to Rails 3.2.0 (Cap 2.9.0). Now, with every command issued to the remote server via Cap, I get multiple (10) copies of ": tput: No value for $TERM and no -T specified". For example...

```

* executing "which git"
servers: [""]
[] executing command
: tput: No value for $TERM and no -T specified

: tput: No value for $TERM and no -T specified

: tput: No value for $TERM and no -T specified

: tput: No value for $TERM and no -T specified

: tput: No value for $TERM and no -T specified

: tput: No value for $TERM and no -T specified

: tput: No value for $TERM and no -T specified

: tput: No value for $TERM and no -T specified

: tput: No value for $TERM and no -T specified

: tput: No value for $TERM and no -T specified

command finished in 528ms
```

This does not happen when manually issuing ssh commands, for example...

```
$ ssh "which git"
/usr/bin/git
$ ssh -t "which git"
/usr/bin/git
Connection to closed.
$ ssh -T : "which git"
/usr/bin/git
```