stty problem

Dan Lund situationalawareness at gmail.com
Wed Dec 12 12:04:55 MST 2007


nohup should help with this, shouldn't it?

On Dec 12, 2007 12:01 PM, Matt Graham <danceswithcrows at usa.net> wrote:
> After a long battle with technology, Lynn Newton wrote:
> > > I have a script.  if I try to run it from another script, it still works
> > > fine, but I get "stty: standard input: Innappropriate ioctl"
>
> This happens when stdin isn't a tty.  You can't do the ioctl()s that stty does
> on an ordinary file or a pipe for reasons which should be obvious.  My guess
> is that stdin is being redirected somewhere, and something is calling stty
> without checking isatty() first.
>
> > It would help if you gave some kind of a hint what goes on inside the
> > script, since that's where the error would be coming from. I could make a
> > guess, but I'd be basing it on no real information.
>
> The complete script; show it to us.
>
> --
>    The night passed like a kidney stone: painfully and with the help of
>    major sedatives.   --T. Delgado, Lyttle Lytton winner, 2001
> There is no Darkness in Eternity/But only Light too dim for us to see
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



-- 
Thanks,
Dan Lund

"This day we rescue a world from mysticism and tyranny, and usher in a
future brighter than anything we can imagine."


More information about the PLUG-discuss mailing list