Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!csn!alumni.colorado.edu!wouk From: wouk@alumni.colorado.edu (Arthur Wouk) Newsgroups: comp.sys.3b1 Subject: a dumb question Summary: does ksh differ from csh and bourne shell in vi? Keywords: 3b1 boot Message-ID: <1991Mar2.013124.10974@csn.org> Date: 2 Mar 91 01:31:24 GMT References: <12877@helios.TAMU.EDU> <12880@helios.TAMU.EDU> <12889@helios.TAMU.EDU> Sender: news@csn.org (news) Distribution: comp Organization: University of Colorado, Boulder Lines: 26 Nntp-Posting-Host: alumni.colorado.edu on bsd, using either bourne shell or csh, and on sun machines again using either bourne shell or csh, i have no problem establishing an automatic right margin on insert during vi. on my 3b1 i am having trouble with either ksh or vi, which i do not know. in my .kshrc located in /u/wouk i have the lines: EXINIT=/u/wouk/.exinit EXRC=/u/wouk/.exrc in .exinit i have: set ai aw w1200=20 scroll=16 sm wm=10 sw=4 yet when i execute vi, i find that wm is not set. if i perform :set wm-10 everything is fine; right margin is set properly. what is wrong with what i am doing? does ksh require a different way of establishing vi options? -- arthur wouk internet: wouk@cs.colorado.edu