summaryrefslogtreecommitdiffhomepage
path: root/bench/git@git.abendless.com:/srv/git
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-18 14:18:34 -0600
committerSean Kurtz <seankurtz75@gmail.com>2026-11-18 14:18:34 -0600
commit153218da6ae3a2d7b80b8307da77e041d83aca65 (patch)
tree7f5433fc436fb9a73a7be84823f70c3178ef383c /bench/git@git.abendless.com:/srv/git
parent03d91b9a86c8af39ff45033f7ad14d458fe242e1 (diff)
downloadzash-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 'bench/git@git.abendless.com:/srv/git')
0 files changed, 0 insertions, 0 deletions