stty: : Not a typewriter

David Neill-OKCy Mktg 405-278-4007 dwn at swbatl.sbc.com
Wed Mar 13 23:34:24 AEST 1991


In article <1991Mar12.171653.1645 at fang.ATT.COM> ebd at fang.ATT.COM (Elliot B Dierksen) writes:
>
>I have a solution that I got from Don Lashcomb (donlash at uncle.UUCP) because
>it also happened with his enhanced cron.
>
>case "$-" in
>*i*)	stty splot ;;	# only runs stty when in interactive mode
>esac
>
>I already mailed that to Dave, but I thought it might be of interest to the
>net in general.
>

A quick, dumb question that probably belongs in comp.unix.shell, where does
the interactive (-i) flag get set?  Does ksh set the flag after verifying
whether or not it is interactive, or could this flag be mistakenly invoked
from a script?


-- 
name & address   (this account) -> dwn at swbatl.sbc.com
David Neill       office -> 405-291-1990 -> ..texbell!oktext!mktco
Mgr - Mktg.(SWBTCo) home -> 405-843-4464 -> ..texbell!oktext!frodo!david



More information about the Comp.sys.3b1 mailing list