Path: utzoo!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ncar!unmvax!uokmax!occrsh!fang!ebd From: ebd@fang.ATT.COM (Elliot B Dierksen) Newsgroups: comp.sys.3b1 Subject: Re: stty: : Not a typewriter Message-ID: <1991Mar12.171653.1645@fang.ATT.COM> Date: 12 Mar 91 17:16:53 GMT References: <1495@das13.snide.com> Organization: AT&T Tax Systems Development, Maitland FL Lines: 37 From article <1495@das13.snide.com>, by dave@das13.snide.com (Dave Snyder): > That's the error message I get while doing various things on my machine. > > For example: when in vi, I like to read in the current date & time by typing > "!!date". What that does is fork a shell, run date and the output of date is > read into the buffer (see example below). > > Wed Mar 6 07:31:23 EST 1991 > > > Now for some strange reason, this is what I get when I type "!!date". > > stty: : Not a typewriter > Wed Mar 6 07:38:47 EST 1991 > > Anyone have any ideas? I have a solution that I got from Don Lashcomb (donlash@uncle.UUCP) because it also happened with his enhanced cron. In your .kshrc ($ENV) 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. Hope that helps, EBD -- Elliot Dierksen "It's such a fine line between clever and stupid." -- "This is Spinal Tap" Work) ebd@fang.att.com (407) 660-3377 Home) elliot@alfred.UUCP (407) 290-9744