diff options
author | joerg <joerg@FreeBSD.org> | 1995-07-02 08:54:27 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-07-02 08:54:27 +0000 |
commit | fa02ebb9a11b90388f7d227385e1eb441440b45b (patch) | |
tree | 58847a79c6e078ad75d8fd5722522df39371e5b6 /bin/stty/print.c | |
parent | 579762e798a64053a3dfdb2a7e0a8389e7289d3f (diff) | |
download | FreeBSD-src-fa02ebb9a11b90388f7d227385e1eb441440b45b.zip FreeBSD-src-fa02ebb9a11b90388f7d227385e1eb441440b45b.tar.gz |
stty fails with a non-obvious error message if it's run on a non-tty
stream, such as a rsh or vi pipeline.
The error message is:
stty: TIOCGETD: Operation not supported
It's immediately obvious to the knowledgable hacker type, but not
exactly comforting to the user who's not native to unix. It's
especially confusing if there's a stty command in their .cshrc and
it's showing up on rsh output.
(Fixes PR #bin/573)
Submitted by: peter@haywire.dialix.com (Peter Wemm)
Diffstat (limited to 'bin/stty/print.c')
0 files changed, 0 insertions, 0 deletions