izabera 1437088353 learn Quick way to make programs believe that they're reading/writing from/to a terminal: function faketty { script -qfc "$(printf "%q " "$@")"; } izabera 1438877198 forget izabera 1438877219 learn Quick way to make programs believe that they're reading/writing from/to a terminal: function faketty { script -qfc "$(printf "%q " "$@")" /dev/null; } kerframil 1603718498 forget kerframil 1603718545 learn Quick way to make programs believe that they're reading/writing from/to a terminal: faketty() { script -qfc "$(printf '%q ' "$@")" /dev/null; } Soliton 1643192411 forget Soliton 1643192426 learn Quick way to make programs believe that they're reading/writing from/to a terminal: faketty() { script -eqfc "$(printf '%q ' "$@")" /dev/null; } Soliton 1646389515 forget Soliton 1646389525 learn Quick way to make programs believe that they're reading/writing from/to a terminal: faketty() { SHELL=/bin/bash script -eqfc "$(printf '%q ' "$@")" /dev/null; } Soliton 1646389738 forget Soliton 1646389742 learn Quick way to make programs believe that they're reading/writing from/to a terminal: faketty() { SHELL=${BASH:-/bin/bash} script -eqfc "$(printf '%q ' "$@")" /dev/null; }