I want to add some aliases, variables and < bind > commands into
$HOME/.kshrc file. In interactive shell everythink goes OK, but problem
arises in shell scripts. I put bind command into .kshrc file and when I
started shell script, I got following message:
“cannot bind, not a tty”
OK, special builtin command “set -o” gives me a current settings:
$ set -o
emacs interactive monitor stdin
And here’s a problem: how can I resolve settings from builtin command set?
When I want to handle “set -o” output, I got:
$ set -o | cat
emacs stdin
$ set -o | grep in
emacs stdin
Can anybody help me? Is there other solution? Some environment variable? I
appreciate any answer.
Thanks.