Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!cbnewsj!avr From: avr@cbnewsj.att.com (adam.v.reed) Newsgroups: comp.sys.att Subject: Re: bang problems in vi Summary: stty in $ENV Message-ID: <1990Jul20.032240.29834@cbnewsj.att.com> Date: 20 Jul 90 03:22:40 GMT References: <37112@shemp.CS.UCLA.EDU> Organization: AT&T Bell Laboratories Lines: 17 In article <37112@shemp.CS.UCLA.EDU>, kirkaas@oahu.cs.ucla.edu (paul kirkaas) writes: > Whenever I do a bang substitution within vi (eg, !!ls) > on my 3b1, I get the appropriate substitution, with the following error > message prepended to the text: > stty: : Not a typewriter > What's going on & how do I get rid of it? Most likely, you are using ksh and do an stty, directly or indirectly, in your $ENV, which is carried out whenever !! invokes ksh. To fix, use something like the following in your $ENV: case $- in *s* | *i* ) # your interactive stuff, stty etc., goes here ;; esac Adam_V_Reed@ATT.com