bang problems in vi

adam.v.reed avr at cbnewsj.att.com
Fri Jul 20 13:22:40 AEST 1990


In article <37112 at shemp.CS.UCLA.EDU>, kirkaas at 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 at ATT.com



More information about the Comp.sys.att mailing list