fcntl can cause grief to your parent
dan at rna.UUCP
dan at rna.UUCP
Fri Feb 15 05:32:00 AEST 1985
x
This fcntl() problem is analogous to a set of other problems
like programs leaving bad stty()'s, accidentally or on purpose, e.g.
a program that changes line speed, or the EOF character to 'a'.
I once hacked up the shell to always restore the stty modes
after a program finishes. It recognized the "stty" command as a
special case to allow deliberate changes. This feature was quite useful
however it doesn't protect you from background processes and stty
commands in shell scripts wouldn't work.
Cheers,
Dan Ts'o
Dept. Neurobiology
Rockefeller Univ.
1230 York Ave.
NY, NY 10021
212-570-7671
...cmcl2!rna!dan
More information about the Net.bugs.usg
mailing list