Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Karellen
on Nov 25, 2023
|
parent
|
context
|
favorite
| on:
The bash book to rule them all
Huh. My intuition would have been that stdin/stderr provided by sshd to the shell would have been been marked as `isatty(3)`. TIL.
usrbinbash
on Nov 26, 2023
[–]
The interesting thing is, `isatty()` seems to report 1 even over an ssh connection...so yeah, purely from that point of view, the shell should be "interactive". Why this case is then marked as special in the bash manpage, I cannot say :D
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: