diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-18 14:18:34 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-18 14:18:34 -0600 |
| commit | 153218da6ae3a2d7b80b8307da77e041d83aca65 (patch) | |
| tree | 7f5433fc436fb9a73a7be84823f70c3178ef383c /tests/tools/git@git.abendless.com:/srv | |
| parent | 03d91b9a86c8af39ff45033f7ad14d458fe242e1 (diff) | |
| download | zash-153218da6ae3a2d7b80b8307da77e041d83aca65.tar.gz | |
input: a tty that answers lseek() is still a tty
A z/OS terminal is seekable, so stdin was classified as a script: no
prompt, no line editing, no `bind`, just the driver's own echo. Ask
isatty() first; only a non-tty can be seekable.
Found with ~/tmp/tty.c on cbt: on a pty `isatty(0)=1 isatty(2)=1
seek=1`.
Diffstat (limited to 'tests/tools/git@git.abendless.com:/srv')
0 files changed, 0 insertions, 0 deletions
